@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center ;

    background-color: hsl(217, 54%, 11%);
    height: 100vh;
} 

.attribution{
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 12px;
    word-spacing: 3px;
}

.card{
    background-color: hsl(216, 50%, 16%);
    border-radius: 12px;
    color: white;
    max-height: 640px;
    width: 355px;
}

.cube{
    width: 100%;
    padding: 20px;
    border-radius: 26px;
    display: block;
   

}

ul{
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    color: hsl(215, 51%, 70%);
    margin:20px;
    padding: 14px;
}

ul li:first-child{
    color: hsl(178, 100%, 50%);
}

h1{
    margin-left: 35px;
    font-weight: 600;
}

h1:hover{
    color: hsl(178, 100%, 50%);
    cursor: pointer;
}

h1+p{
    color: hsl(215, 51%, 70%);
    font-weight: 300;
    padding: 17px;
    margin-left: 18px;
    text-align: left;
    height: 1px;
    line-height: 1.5;
}

hr{
    border-color: hsl(215, 32%, 27%);
}

.avatar{
    height: 42px;
    border: 0.2px solid white;
    border-radius: 50%;

}

.hover:hover{
    color: hsl(178, 100%, 50%);
    cursor: pointer;
}

.auteur{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 15px;

}
.icon{
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background-color:hsl(178, 100%, 50%);
    border-radius: 14px;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.image-container {
  position: relative;
  width: 350px;
  display: inline-block;
  cursor: pointer;
}

.image-container:hover .icon{
    opacity: 0.4;
}
