body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    background-image: url('../images/bg-pattern-top-desktop.svg'), url('../images/bg-pattern-bottom-desktop.svg');
    background-position: top left, bottom right;
    background-repeat: no-repeat, no-repeat;
    background-size: auto, auto;
    font-family: 'League Spartan', sans-serif;
    height: 100vh;
}

section{
    width: 1250px;
    margin-inline: auto;
    padding-block: 100px;
    display: flex;
    align-items: center;
}

.wrapper-text{
    width: 650px;
}

.wrapper-text > h1{
    color: hsl(300, 43%, 22%);
    font-size: 50px;
    max-width: 320px;
    margin-block-end: 0;
}

.wrapper-text > p{
    font-size: 18px;
    line-height: 20px;
    color: hsl(303, 10%, 53%);
    max-width: 412px;
}

.wrapper-card{
    background-color: hsl(300, 24%, 96%);
    display: flex;
    align-items: center;
    gap: 50px;

    margin-block: 20px;
    padding-inline:  40px;
    border-radius: 10px;
}

.rated-card-text h3{
    color: hsl(300, 43%, 22%);
}

.wrapper-rated-cards div:nth-child(1){
    max-width: 400px;
}

.wrapper-rated-cards div:nth-child(2){
    max-width: 430px;
    margin-inline-start: 40px;
}

.wrapper-rated-cards div:nth-child(3){
    width: 440px;
    margin-inline-start: 80px;
}







body section:nth-child(2){
    gap: 30px;
    padding:0;
}

body section:nth-child(2) div:nth-child(2){
    margin-block-start: 40px;
}

body section:nth-child(2) div:nth-child(3){
    margin-block-start: 80px;
}

.card-comment{
    background-color: hsl(300, 43%, 22%);
    border-radius: 10px;
    color: hsl(0, 0%, 100%);
    padding: 20px 45px;
}

.card-profile{
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-profile img{
    border-radius: 50%;
    width: 40px;
    height: auto;
}
.card-profile h3{
    font-weight: 400;
}

.card-profile h3 span{
    color: hsl(333, 80%, 67%);
    font-weight: 400;
    line-height: 30px;
}

.card-comment p {
    letter-spacing: 1px;
    line-height: 20px;
}

@media (max-width: 600px){
    body{
        background-image: url('../images/bg-pattern-top-mobile.svg'), url('../images/bg-pattern-bottom-mobile.svg');
    }
    section{
        width: 375px;
        flex-direction: column;
        padding-block-end: 20px;
    }

    .wrapper-text{
        text-align: center;
        width: unset;
    }

    .wrapper-text > h1{
        max-width: unset;
    }

    .wrapper-card{
        max-width: 375px !important;
        width: unset;
        margin-inline: 0 !important;
        flex-direction: column;
        gap: 0;
        padding-inline: 0;
        padding-block-start: 10px;
    }

    .wrapper-rated-cards{
        margin-inline: auto;
    }

    body section:nth-child(2) .card-comment{
        margin: 10px !important;
    }

    body section:nth-child(2){
        gap: 0;
        padding-bottom: 100px;
    }
}