body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    display: grid;
    place-items: center;
    background-color: hsl(233, 47%, 7%);
    margin: 0;
    min-height: 100vh;
}

.container {
    width: 60rem;
    height: 27rem;
    background-color: hsl(244, 38%, 16%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 10px;
}

.img {
    background-image: url('/images/image-header-desktop.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: inset 0 0 0 1000px hsla(277, 64%, 61%, .5);
}

.description {
    color: hsl(0, 0%, 100%);
    width: 50%;
}

.description>h1 {
    margin: 2.5rem 1.3rem 1.8rem 2.2rem;
    font-size: 2.2rem;
}


.description>h1>span {
    color: hsl(277, 64%, 61%);
}

.description>p {
    margin-left: 2.2rem;
    /* margin-right: 97px; */
    font-size: 1rem;
    margin-right: 2.1rem;
    line-height: 1.7rem;
}

.data {
    display: flex;
    margin: 4rem 2.2rem;
    margin-right: 5rem;
    flex-direction: row;
    justify-content: space-between;
}

.data>div {
    display: flex;
    flex-direction: column;
}

.data>div>.stats {
    font-weight: 700;
}

.data> :last-child>.stats {
    text-transform: uppercase;
}

.data>div>.text {
    font-family: 'Lexend Deca';
    color: hsla(0, 0%, 100%, 0.6);
    text-transform: uppercase;
}

.attribution {
    position: absolute;
    bottom: 0;
    font-size: 11px;
    text-align: center;
}


.attribution a {
    color: hsl(228, 45%, 44%);
}


@media screen and (max-width: 1440px) {
    body {
        min-height: 100vh;
    }

    .container {
        display: flex;
        flex-direction: row;
        background-color: hsl(244, 38%, 16%);
        width: 55rem;
        height: 22rem;
        border-radius: 8px;
    }

    .description>h1 {
        font-weight: 700;
        font-size: 2rem;
        margin: 2.5rem;
    }

    .description>p {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 0.79rem;
        text-align: left;
        line-height: 1.8;
        color: hsla(0, 0%, 100%, 0.75);
        margin-left: 2.5rem;
        margin-right: 7rem;
    }

    .data {
        flex-direction: row;
        justify-content: space-around;
        margin-right: 5.5rem;
        margin-top: 3rem;
    }

    .data>div>.text {
        font-size: 0.7rem;
    }

    .data>div>.stats {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 375px) {

    .container {
        display: flex;
        flex-direction: column-reverse;
        width: 16rem;
        height: auto;
        border-radius: 5px;
        margin: 2rem 0;
    }

    .img {
        background-image: url('./images/image-header-mobile.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        background-clip: border-box;
        width: 16rem;
        height: 12rem;
        border-bottom-right-radius: 0;
        border-top-left-radius: 5px;
    }

    .description {
        padding-bottom: 1rem;
        width: auto;
    }

    .description>h1 {
        margin: 0;
        font-size: 1.3rem;
        text-align: center;
        margin: 1rem 1.5rem;
    }

    .description>p {
        margin: 0;
        text-align: center;
        margin: 0 1.5rem;
        font-size: 0.7rem;
    }


    .data {
        margin: 0;
        height: 10rem;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        margin-top: 1rem;
    }

    .stats {
        text-align: center;
    }

    .attribution {
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .attribution>p {
        margin: 0;
    }

}