* {
    margin: 0px;
    padding: 0px;
}

:root {
    /* main background */
    --Navy-950: hsl(233, 47%, 7%);

    /* card background */
    --Blue-950: hsl(244, 37%, 16%);

    /* main accent */
    --Purple-500: hsl(277, 64%, 61%);

    /* main text */
    --White-1: hsl(0, 0%, 100%);

    /* secondary text */
    --White-2: hsla(0, 0%, 100%, 0.75);

    /* tertiary text */
    --White-3: hsla(0, 0%, 100%, 0.6);
}


.inter-400 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.inter-700 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}


.lexend-deca-400 {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.container {
    width: 100vw;
    height: 100vh;
    background-color: var(--Navy-950);

    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 70%;
    background-color: var(--Blue-950);
    border-radius: 5px;

    display: flex;
    flex-direction: row;
}

.card-image {
    position: relative;
    order: 1;
    width: 95%;
}

.card-image img {
    width: 100%;
    height: 100%;
    border-radius: 0px 5px 5px 0px;
}

.overlay {
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--Purple-500);
    border-radius: 0px 5px 5px 0px;
}

.card-content {
    order: 0;
    padding: 50px;
    padding-right: 120px;
}

.card-title {
    font-size: 2.3rem;
    color: var(--White-1);
    margin-bottom: 20px;
}

.card-title span {
    color: var(--Purple-500);
}

.card-text {
    font-size: 1rem;
    color: var(--White-3);
    margin-bottom: 60px;
    line-height: 1.5;
}

.card-stats {
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.stat-number {
    font-size: 1.5rem;
    color: var(--White-1);
    margin-bottom: 7px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--White-3);
    text-transform: uppercase;
}

@media (max-width: 900px) {

    .container {
        width: 100vw;
        height: 100vh;
        padding: 20px;
        box-sizing: border-box;
    }

    .card {
        width: 60%;
        flex-direction: column;
        margin: 50px;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    .card-image {
        order: 0;
        width: 100%;
        height: 40vh;
    }

    .card-image img {
        border-radius: 5px 5px 0px 0px;
    }

    .card-text {
        font-size: 1rem;
        color: var(--White-3);
        margin-bottom: 40px;
        line-height: 1.5;
    }

    .card-content {
        order: 1;
        padding: 30px;
        text-align: center;
    }

    .card-stats {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

}
