@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500&display=swap');

.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
*{
    padding:0;
    margin:0;
    font-family: Outfit;
    color:var(--White);
}
img{
    max-inline-size: 100%;
    block-size: auto;
}
:root{
    --Softblue: hsl(215, 51%, 70%);
    --Cyan: hsl(178, 100%, 50%);
    --BGdarkblue : hsl(217, 54%, 11%);/*(main BG)*/
    --Verydarkblue : hsl(216, 50%, 16%);/*(card BG)*/
    --linedarkblue: hsl(215, 32%, 27%);/*(line)*/
    --White: hsl(0, 0%, 100%);
}
body{
    background-color: var(--BGdarkblue);
}
section{
    background-color:var(--Verydarkblue) ;
    width:250px;
    padding: 20px;
    border-radius: 10px;
    display:block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}
h1{
    font-weight: 500;
    margin-top: 20px;
}
h1:hover{
   color: var(--Cyan); 
    
}
p{
    color:var(--Softblue);
    font-size: 0.9rem;
    margin-top: 10px;
}
ul{
    list-style: none;
    display: flex; 
    margin-top: 20px;  
}
li{
    color: var(--Cyan);
}
ul .timeleft{
    margin-left: 70px;
}
.avatar{
    width: 3rem;
    background-color: var(--White);
    width:42px;
    height: 42px;
    position: relative;
    border-radius: 20px ;
    
}
.credits{
    display: flex;
    margin-top: 20px;
}
.credits p{
    margin-left: 20px;
}
.line{
    height: 1px;
    background: var(--Softblue);
    margin-top: 20px;
}
.name:hover{color:var(--Cyan);}
.time{color:var(--Softblue);}
.main_image{
    max-width:100%;
    border-radius: 10px;
    display:block;
}
.overlay{
    width:300ppx;
    height: 250px;
    position: relative;    
}
.eye{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    display: none;
}
.overlay:hover .eye{
    display: block;
    background: var(--Cyan);
    opacity: 0.5;
    border-radius: 10px;
}

