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


body {
    margin: 2rem;
    height: 92.2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(233, 47%, 7%);
}

#mobile {
    display: none;
}


.outer {
    background-color: hsl(244, 38%, 16%);
    height: 24rem;
    width: 61rem;
    display: flex;
    justify-content: space-between;
    border-radius: 8px;

}


.inner1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30rem;
    padding: 3rem;
    margin-right: 1.81rem;

}

.inner2 {
    height: 100%;
    background-color: hsl(277, 64%, 61%);
    object-fit: cover;
    border-radius: 0px 8px 8px 0px;
}

.inner2 img {
    height: 100%;
    width: 100%;
    opacity: 0.8;
    mix-blend-mode: multiply;
    border-radius: 0px 8px 8px 0px;
}


h1 {
    color: hsl(0, 0%, 100%);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 2.4rem;
    line-height: 2.7rem;

}

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

.heading p {

    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    color: hsla(0, 0%, 100%, 0.6);
    font-size: 15px;
    margin-top: 1.5rem;
    line-height: 1.5rem;

}


.stats-container {
    
    width: 21.8rem;
    display: flex;
    justify-content: space-between;


}

.stats-container h2 {

    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: hsl(0, 0%, 100%);
    font-size: 1.4rem;
    margin-bottom: 0.30rem;
}

.stats-container p {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 0.75rem;
    color: hsla(0, 0%, 100%, 0.6);

}




@media(max-width: 1024px) {

    body {

        width: auto;
    }

    #mobile {
        display: block;
    }

    #desktop {
        display: none;
    }

    .inner2 {
       
        border-radius: 8px 8px 0px 0px;
    }

    .inner2 img {
        
        border-radius: 8px 8px 0px 0px;
    }

    .outer {

        display: flex;
        flex-direction: column-reverse;
        height: auto;
        width: 50%;
    }

    .inner1 {
        padding: 1rem;
        width: auto;
        margin-top: 1.2rem;

        margin-right: auto;
    }

    .stats-container {
        margin-top: 2rem;
        width: auto;
        display: flex;
        justify-content: space-evenly;
    }

    .heading h1,
    p {
        text-align: center;
    }


}

@media(max-width: 656px) {

    body {
        height: auto;
        width: auto;
    }

    .outer {
        width: auto;
        height: auto;
    }

    .heading h1 {
        font-size: 2rem;
        line-height: 2.3rem;
    }

    .heading p {
        padding: 0.28rem
    }

    .stats-container {
        display: flex;
        flex-direction: column;
    }


    .stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
    }

}