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

:root
{

    --soft-blue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --very-dark-blue-main-BG: hsl(217, 54%, 11%);
    --very-dark-blue-card-BG: hsl(216, 50%, 16%);
    --very-dark-blue-line: hsl(215, 32%, 27%);
    --white: hsl(0, 0%, 100%);
}

*,*::after,*::before
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html , body
{
    height: 100%;
    width: 100%;
}



img,video,iframe
{
    max-inline-size:100%;
    block-size:auto;
}

body 
{
    background-color: var(--very-dark-blue-main-BG);
    padding: 5rem 1rem;
    font-size: 18px;
    font-family: 'Outfit',sans-serif;


    display: grid;
    place-content: center;
}

main 
{
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
    border-radius: 20px;
    background-color: var(--very-dark-blue-line);
}

main .img-equilbrium
{
    border-radius: 15px;
}

.image-container
{
    position: relative;
    margin: 0;
    padding: 0;
   
}


.view 
{
    z-index: -10;
    opacity: 0;
    position: absolute;
    background-color: hsla(215, 51%, 70%,0.6);
    height: 98%;
    width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    border-radius: 15px;

    transition: opacity 0.4s ease-in-out;

    display: flex;
    align-items: center;
    justify-content: center;
    img 
    {
        cursor: pointer;
    }
}

.view.active 
{
    opacity: 1;
    z-index: 10;
}





.time 
{
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid gray;
}
.profile 
{
    display: flex;
    align-items: center;
    column-gap: 1rem;
    padding: 1rem 0;
}

.profile img 
{
    width: 50px;
    border-radius: 50%;
    border: 2px solid white;
}


.time div.left 
{
    display: flex;
    align-items: center;
    column-gap: .5rem;
}



/* typography*/

main h2 
{
    color: white;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

main p 
{
    color: var(--soft-blue);
    line-height: 1.6rem;
}

.time div.left span
{
    color: var(--cyan);
    font-weight: bold;
    
}

.time div.right span
{
    color: var(--soft-blue);
}

.profile h4 
{
    color: var(--soft-blue);
}

.profile h4 a 
{
    color:white;
    text-decoration: none;
}
