@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-family: 'Lexend Deca', sans-serif;
    background-color: hsl(233, 47%, 7%);
}

h1 span {
    color: hsl(277, 64%, 61%);
}

p {
    color: hsla(0, 0%, 100%, 0.75);
    font-family: 'Inter', sans-serif;
}

.stats p {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.3px;
}

.stats {
    font-family: 'Inter', sans-serif;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    color: white;
    background-color: hsl(244, 38%, 16%);
    border-radius: 10px;
    max-width: 978.69px;
}

@media screen and (min-width: 981px) {
    .desktop {
        display: block;
        float: right;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .text {
        display: grid;
        padding: 4%;
        padding-right: 6%;
    }

    .text h1 {
        margin-bottom: 6%;
    }

    .text .paragraph {
        margin-right: 15%;
        line-height: 170%;
        margin-bottom: 25%;
    }

    .stats {
        display: flex;
        justify-content: space-between;
        margin-right: 7%;
    }

    .images .mobile {
        display: none;
    }

    .images {
        float: right;
        position: relative;
        background-color: hsl(277, 64%, 61%);
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }
    
    .images img {
        height: 100%;
        mix-blend-mode: multiply;
    }
    
    .pink {
        background-color: hsl(277, 64%, 61%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }
}

@media screen and (max-width: 980px) and (min-width: 426px) {
    .box {
        margin: 6%;
    }
    .text {
        text-align: center;
        padding: 5%;
    }

    .text h1 {
        font-size: 30px;
        margin-bottom: 4%;
    }

    .text .paragraph p {
        line-height: 170%;
        font-size: 15px;
        margin-bottom: 5%;
        padding: 5%;
    }

    p {
        font-size: 15px;
    }

    .first, .second, .third {
        margin-bottom: 7%;
    }

    .stats h2 {
        margin-bottom: 3%;
    }

    .stats {
        margin-bottom: 5%;
    }

    .images .desktop {
        display: none;
    }

    .mobile {
        display: block;
        width: 100%;
        height: 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .images {
        position: relative;
        background-color: hsl(277, 64%, 61%);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    
    .images img {
        height: 100%;
        mix-blend-mode: multiply;
    }
    
    .pink {
        background-color: hsl(277, 64%, 61%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
}

@media screen and (max-width: 425px) {
    .box {
        margin: 6%;
    }

    .text {
        text-align: center;
        padding: 10%;
    }
    
    .text h1 {
        font-size: 28px;
        margin-bottom: 9%;
    }

    .text .paragraph p {
        line-height: 170%;
        font-size: 15px;
        margin-bottom: 15%;
    }

    .first, .second, .third {
        margin-bottom: 9%;
    }

    .stats h2 {
        margin-bottom: 3%;
    }

    .stats {
        margin-bottom: 6%;
    }

    .images .desktop {
        display: none;
    }

    .mobile {
        display: block;
        width: 100%;
        height: 100%;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .images {
        position: relative;
        background-color: hsl(277, 64%, 61%);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
    
    .images img {
        height: 100%;
        mix-blend-mode: multiply;
    }
    
    .pink {
        background-color: hsl(277, 64%, 61%);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
}