@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: hsl(217, 54%, 11%);
    font-family: 'Outfit', sans-serif; 
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container{
    margin: 0 auto;
    max-width: 380px;
    
}

.card{
    background-color: hsl(216, 50%, 16%);
    margin: 40px ;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 15px 0px 10px rgb(12, 23, 41);
}

.img-top{
    position: relative;    
}

.img-top img{
    width: 100%;
    display: block;
    border-radius: 8px;
}

.img-over {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: hsl(178, 100%, 50%, 0.4);
    display: none;    
}

.img-over img{
    position: absolute;
    width: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  
}

.img-top:hover .img-over{
    display: block;
}

h1{
font-size: 18px;
color: hsl(0, 0%, 100%);
padding: 20px 0;
}

h1:hover{
    color: hsl(178, 100%, 50%);
}

p{
   color:hsl(215, 51%, 70%);
   font-weight: 300;
}

.display{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.eth, .dias{
    display: flex;
    align-items: center;
}

.eth p{
    color: hsl(178, 100%, 50%);
    font-weight: 600;
    padding-left: 6px;
}

.dias p{
    padding-left: 6px; 
}

hr {
    border-color:hsl(215, 32%, 27%);  
}

.creador{
    display: flex;
    align-items: center;
    padding-top: 14px;
}

.creador img{
    width:30px ;
    height:30px ;
    border: 1px solid white;
    border-radius: 50%;
    margin-right: 18px;
    margin-bottom: 10px;
     
}

.creador p{
    font-weight: 300;
    font-size: 13px;
    margin-bottom: 12px;
}
.creador span{
    color: white;
    font-weight: 400;
}

.creador span:hover{
    color: hsl(178, 100%, 50%);
}

.attribution {
    font-size: 11px;
    text-align: center;
    color: white;
  }
  .attribution a {
    color: hsl(178, 100%, 50%);
  }