@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    --SoftBlue: hsl(215, 51%, 70%);
    --Cyan: hsl(178, 100%, 50%);
    --VerydarkblueMain: hsl(217, 54%, 11%);
    --VerydarkblueBG: hsl(216, 50%, 16%);
    --VerydarkblueLine: hsl(215, 32%, 27%);
    --White: hsl(0, 0%, 100%);
}

* {
    font-family: 'Outfit', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 18px;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: var(--VerydarkblueMain);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

main {
    border-radius: 10px;
    height: 550px;
    width: 330px;
    background-color: var(--VerydarkblueBG);
    text-align: start;
    padding: 25px;
}

.equilibrium {
    border-radius: inherit;
    height: 280px;
    width: 280px;
}

.hover-effect {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease .5s;
    border-radius: inherit;
    position: absolute;
    background-color: var(--Cyan);
    opacity: 0;
    width: 280px;
    height: 280px;
    cursor: pointer;
}

.hover-effect img {
    width: 70px;
    height: auto;
}

.hover-effect:hover {
    opacity: .5;
}

h1 {
    cursor: pointer;
    width: 280px;
    height: 45px;
    line-height: 45px;
    font-size: 20px;
    color: var(--White);
}

h1:hover {
    color: var(--Cyan);
}

.main-text {
    font-weight: 200;
    height: 60px;
    width: 280px;
    font-size: 16px;
    color: var(--SoftBlue);
}

.info-container {
    display: flex;
    width: 300px;
    height: 50px;
}

.info-container div {
    display: flex;
    margin-right: 70px;
    white-space: nowrap;
}


.info-container div p {
    position: relative;
    right: 6px;
    top: 2px;
    font-size: 16px;
    color: var(--SoftBlue);
}

.info-container .color-text {   
    color: var(--Cyan);
}

.info-container div img {
    height: 50%;
    margin-right: 15px;
}

hr {
    height: 1px;
    border: none;
    background-color: var(--VerydarkblueLine);
}

.author-info {
    display: flex;
    height: 80px;
    width: 280px;
    line-height: 80px;
}

.author-info p {
    margin-left: 10px;
    color: var(--SoftBlue);
}

.author-info p a {
    text-decoration: none;
    color: var(--White);
}

.author-info p a:hover {
    color: var(--Cyan);
}

.author-info img {
    height: 40px;
    position: relative;
    top: 20px;
}

.attribution {
    font-size: 11px;
    text-align: center;
    position: fixed;
    bottom: 0;
    height: 60px;
    line-height: 60px;
    width: 100%;
    background: var(--VerydarkblueBG);
    color: var(--SoftBlue);
    font-size: 18px;
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
    color: white;
}

@media (min-width: 800px) {
    main {
        width: 350px;
        height: 600px;
    }

    .equilibrium {
        width: 300px;
        height: 300px;
    }

    .hover-effect {
        width: 300px;
        height: 300px;
    }

    h1 {
        font-size: 25px;
        width: 300px;
        height: 60px;
        line-height: 60px;
    }

    .main-text {
        width: 300px;
        font-size: 18px;
    }

    .info-container {
        width: 300px;
    }

    .author-info {
        height: 100px;
    }

    .author-info p {
        font-size: 15px;
    }
    .author-info a {
        font-size: inherit;
    }
}