@import url('https://fonts.googleapis.com/css2?family=League+Spartan&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'League Spartan', sans-serif;
}
body{
    min-height: 100vh;
    background-color:rgb(255, 255, 255);
    position: relative;
}
.top-img{
    width: 100%;
    min-height: 232px;
    background-image: url(./images/bg-pattern-top-mobile.svg);
    background-size:  100% 100%;
    position: absolute;
    top:0;
    left:0;
}
.bottom-img{
    width: 100%;
    min-height: 503px;
    background-image: url(./images/bg-pattern-bottom-mobile.svg);
    background-size: 100% 100%;
    position: absolute;
    bottom: 0;
    right: 0;
}
.main-container{
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.top-row{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.top-content{
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
}
h2{
    font-size: 2rem;
    color: hsl(300, 43%, 22%);
}
.top-p{
    max-width: 316px;
    text-align: center;
    color: hsl(303, 10%, 53%);
    padding: 30px 0px;
}
.ratings{
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.review{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background-color:hsl(300, 24%, 96%);
    padding: 10px 0px;
    margin-bottom: 20px;
}
.stars5{
    padding: 5px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 110px;
}
.text-review{
    padding: 5px 0px;
    font-weight: 700;
    color: hsl(300, 43%, 22%);
}
.profile-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.profile{
    min-width: 205px;
    max-width: 324px;
    min-height: 200px;
    background-color: hsl(300, 43%, 22%);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}
h3,.profile-content{
    color: white;
}
.profile-content{
    line-height: 18px;
}
.imgs{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.inner-profile{
    width: 85%;
    height: 150px;
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.profile-pic-name{
    display: flex;
    align-items: center;
    padding-bottom: 15px;
}
.profile-name{
    padding-left: 20px;
}

.Verified{
    margin-top:7px ;
    font-size: 17px;
    color: hsl(333, 80%, 67%);
}

@media(min-width:400px){
    body{
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .top-img{
        max-width: 584px;
        height: 362px;
        background-image: url(./images/bg-pattern-top-desktop.svg);
    }
    .bottom-img{
        max-width: 1085px;
        height: 673px;
        background-image: url(./images/bg-pattern-bottom-desktop.svg);
    }

    .main-container{
        width: 80%;
    }
    h2{
        align-self:flex-start ;
        font-size: 3rem;
    }
    .top-p{
        font-size: 20px;
        max-width: 90%;
        align-self: flex-start;
        text-align: left;
    }
    .top-row{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .top-content{
        width: 450px;
    }
    .ratings{
        width: 550px;
    }
    .review{
        width:70% ;
        height: 40px;
        display: flex;
        flex-direction: row;
    }
    .text-review{
        padding-left: 20px;
    }
    .review1{
        align-self:flex-start ;
    }
    .review2{
        align-self: flex-start;
        margin-left: 60px;
    }
    .review3{
        align-self: flex-start;
        margin-left: 120px;
    }
    .profile-div{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .profile2{
        margin-top: 40px;
    }
    .profile3{
        margin-top: 80px;
    }
    .profile{
        max-width: 360px;
    }
}