@font-face{
    font-family: 'Outfit';
    src: url(assets/fonts/Outfit/Outfit-VariableFont_wght.ttf) format(truetype);
    font-style: normal;
}

body{
    background-color: hsl(217, 54%, 11%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;

    font-family: 'Outfit';
    font-size: 18px;
}

.card{
    max-width: 350px;
    width: 100%;
    height: auto;
    background-color: hsl(216, 50%, 16%);
    border-radius: 20px;

    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.picture{
    cursor: pointer;
    width: 90%;
    position: relative;
    transition: opacity 0.3s ease;
    height: 370px;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
   
}
.picture img{
    width: 100%;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 315px;
    background: hsl(178, 100%, 50%);
    opacity: 0;
    border-radius: 10px;
}

.hover-picture{
    position: absolute;
    transform: scale(0.15);
}

.picture .hover-picture{
    opacity: 0;
}

.picture:hover .overlay{
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.picture:hover .hover-picture{
    opacity: 1;
    transition: opacity 0.5s ease;
}




h1{
    font-size: 24px;
    margin-left: 1rem;
    margin-top: 0;
    color: hsl(0, 0%, 100%);
    font-weight: 400;   
    cursor: pointer;
}

h1:hover{
    color: hsl(178, 100%, 50%);
}

p{
    margin-left: 1rem;
    margin-top: 0;
    color: hsl(215, 51%, 70%);
    font-weight: 300;
}

.price-info{
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin: auto;
}

.price{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
    
    color: hsl(178, 100%, 50%);
}

.price img{
    padding-right: 0.5rem;
}

.price span{
    font-weight: 400;
}

.time-info{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: hsl(215, 51%, 70%);
}

.time-info img{
    padding-right: 0.5rem;
}

.time-info span{
    font-weight: 300;
}

hr{
    width: 90%;
    border: none;
    border-top: 1px solid hsl(215, 32%, 27%);
    margin-top: 1rem;
}

.creator-info{
    width: 90%;
    display: flex;
    align-items: center;
    margin: auto;
    margin-bottom: 1.5rem;
}

.creator-icon img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid white;
    margin-right: 1rem;
}

.creator-text{
    font-size: 14px;
    color: hsl(215, 51%, 70%);
}

.creator-text a{
    color:  hsla(0, 0%, 100%,0.75);
    text-decoration: none;
}

.creator-text a:hover{
    color: hsl(178, 100%, 50%);
}

.attribution{
    font-size: 12px;
    color: hsl(215, 51%, 70%);
    margin-top: 1rem;
}