@charset "UTF-8";

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

* {
    font-family: 'Outfit', sans-serif;
    margin: 0px;
    padding: 0px;

}

body {
    height: 100vh;
    width: 100vw;
    background-color: hsl(217, 54%, 11%);
}

main {
    height: 100vh;
    width: 100vw;
    display: grid;
    align-items: center;
    justify-content: center;
    background-color: hsl(217, 54%, 11%);
}

section {
    height: 500px;
    max-width: 300px;
    margin: 0px 10px;
    background-color: hsl(216, 50%, 16%);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0px 0px 20px hsl(215, 52%, 6%);
}

section > a > div#img {
    height: 270px;
    border-radius: 8px;
    background-image: url(../images/image-equilibrium.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

a > div#img > svg#view {
    display: none;
}

section > a > div#img:hover {
    background: linear-gradient(rgba(0, 255, 255, 0.5), rgba(0, 255, 255, 0.5)), url(../images/image-equilibrium.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

section > a > div#img:hover > svg#view {
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section > div#content h2, p {
    margin: 20px 0px;
} 

section > div#content > h2 {
    color: #ffff;
}

section > div#content > h2:hover {
    color: cyan;
    cursor: pointer;
}

section > div#content > p {
    color: hsl(215, 51%, 70%);
}

section > div#content > p#values {
    font-size: 15px;
}

section > div#content > p#values > strong{
    color: cyan;
    margin-right: 100px;
}

section > div#content > p#credit {
    border-top: 1px solid hsl(215, 32%, 27%);
    padding: 20px 30px;
}

section > div#content > p#credit > img {
    height: 30px;
    width: 30x;
    margin-left: 15px;
    margin-right: 15px;
    border: 1px solid white;
    border-radius: 50%;
}

section > div#content > p#credit > sup > a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

section > div#content > p#credit > sup > a:hover {
    color: cyan;
    cursor: pointer;
}

@media screen and (width <= 600px) {
    body {
        font-size: 13px;
    }

    section > div#content > p#credit > img {
        height: 20px;
        width: 20x;
        margin-left: 0px;
        margin-right: 5px;
    }

    section > div#content > p#credit {
        font-size: 12px;
    }
}