/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap'); */

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

:root {
    --veryDarkBlue: hsl(233, 47%, 7%);
    --darkSaturatedBlue: hsl(244, 38%, 16%);
    --softViolet: hsl(277, 64%, 61%);
    --white: hsl(0, 0%, 100%);
    --slightTransWhiteMain: hsla(0, 0%, 100%, 0.75);
    --slightTransWhiteStat: hsla(0, 0%, 100%, 0.6);
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--veryDarkBlue);
    font-family: "Inter", serif;
}

p,
h4 {
    font-family: "Lexend Deca", serif;
}

.container {
    max-width: 330px;
    background-color: var(--darkSaturatedBlue);
    border-radius: 8px;
    overflow: hidden;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--softViolet);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.text-content {
    text-align: center;
    padding: 32px;
}

.head-content {
    margin-bottom: 2rem;
}

.head-content h2 {
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.head-content p {
    color: var(--slightTransWhiteMain);
    font-weight: 400;
    line-height: 1.5rem;
    opacity: 80%;
    font-size: 15px;
}

.head-content h2 span {
    color: var(--softViolet);
}

.stats {
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    letter-spacing: 1px;
}

.stats h3 {
    font-size: 1.4rem;
}

.stats h4 {
    text-transform: uppercase;
    color: var(--slightTransWhiteStat);
    font-weight: 400;
    margin-top: 8px;
    font-size: 12px;
}

footer {
    max-width: 330px;
    font-size: 10px;
    margin: 1rem;
    color: var(--white);
    background-color: var(--darkSaturatedBlue);
    padding: 6px 12px;
    border-radius: 10px;
}

footer a {
    text-decoration: none;
    color: var(--softViolet);
}

footer a:hover {
    color: var(--slightTransWhiteStat);
}

@media (min-width: 1024px) {
    .container {
        max-width: 900px;
        display: flex;
        flex-direction: row;
    }

    .hero-image {
        width: 50%;
        object-fit: contain;
        order: 2;
    }

    .hero-image img {
        height: 100%;
    }

    .head-content h2 {
        font-size: 32px;
    }

    .head-content {
        margin-bottom: 3rem;
    }

    .text-content {
        width: 50%;
        margin: 24px;
        order: 1;
        text-align: left;
    }

    .stats {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 3rem;
    }

    .stats h3 {
        font-size: 18px;
    }

    .stats h4 {
        font-size: 12px;
    }
}
