@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root{
    /* ### Primary */

    --Soft_blue: hsl(215, 51%, 70%);
    --Cyan: hsl(178, 100%, 50%);
    --Cyan2: hsla(178, 100%, 50%, 0.5);

/* ### Neutral */

    --Very_dark_blue_main: hsl(217, 54%, 11%);
    --Very_dark_blue_card: hsl(216, 50%, 16%);
    --Very_dark_blue_line: hsl(215, 32%, 27%);
    --White: hsl(0, 0%, 100%);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-size: 18px;
    font-family: 'Outfit', sans-serif;
    background-color: var(--Very_dark_blue_main);
}

.main-container{
    width: 330px;
    height: 546px;
    margin: 60px auto;
    border-radius: 16px;
    padding: 26px;
    background-color: var(--Very_dark_blue_card);

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.image{
    margin: 0 auto;
    background-image: url("images/image-equilibrium.jpg");
    background-size: cover;
    width: 280px;
    height: 280px;
    border-radius: 8px;
    margin-bottom: 26px;
    overflow: hidden;
}
.eye-image{
    opacity: 0;
    background-color: var(--Cyan2);
    background-image: url("images/icon-view.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}
.eye-image:hover{
    cursor: pointer;
    opacity: 1;
}
h1{
    color: var(--White);
    font-size: 1.3em;
    margin-bottom: 18px;

}

.description{
    font-size: 0.9em;
    color: var(--Soft_blue);
    margin-bottom: 20px;
    font-weight: 300;
}
.details-container{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9em;
}
.value{
    color: var(--Cyan);
    font-weight: 600;
}
.time{
    color: var(--Soft_blue);
}
.line{
    border-top: 1px solid var(--Soft_blue);
    margin-bottom: 15px;
}
.creator-container{
    display: flex;
    align-items: center;
}
.photo{
    background-image: url("images/image-avatar.png");
    width: 36px;
    height: 36px;
    background-size: cover;
    border: 1px solid var(--White);
    border-radius: 50%;
}
.creator{
    color: var(--Soft_blue);
    font-size: 0.85em;
    margin-left: 15px;
}
.creator span{
    color: var(--White);
}
.title:hover{
    color: var(--Cyan);
    cursor: pointer;
}

/*FOOTER -----------------------------------------------------*/
.attribution {
    font-size: 14px;
    text-align: center;
    color: var(--White);
}

.attribution a {
    color: var(--Cyan);
}

@media only screen and (min-width:900px){
    .main-container{
        width: 354px;
        height: 600px;
    }
    .image{
        width: 300px;
        height: 300px;
    }
    .description{
        font-size: 1em;
    }
}