*{
    font-family: "League Spartan", sans-serif;
    padding: 0;
    margin: 0;
    /* background-image:url(./images/bg-pattern-top-desktop.svg) ;
    background-size: cover;
    background-repeat: no-repeat; */
    
}
@media (min-width:502px) {
    body{
    min-height: 100vh;
    max-width: 1160px;
}
 

.hero{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-content: center;
    margin-top: 36px;
}




.heading h1{
    box-sizing: border-box;
display: flex;
color: hsl(300, 43%, 22%);
font-weight: 700;

align-items: center;
justify-content: center;
margin: 41px 24px 33px 29px;
line-height: 0.8;
text-align: left;
padding-inline: 164px;
margin-left: -45px;
max-width: 584px;
font-size: 2.5rem;
}
.heading p{
    text-align: center;
    color: hsl(300, 43%, 22%);
    margin-bottom: 20px;
   padding-inline: 93px;
   min-width: 404px;
}

.stars{    
    margin-top: 20px;
    display: flex;
    flex-direction: column;

    /* background-color: #F7F2F8; */
    color: hsl(300, 43%, 22%);
    max-width: 400px;
}

.first-rating, .second-rating, .third-rating{
    border: 1px solid #F7F2F8;
    background-color: #F7F2F8;
    border-radius: 10px;
    padding-inline: 45px;
    padding-block: 15px;
    margin-bottom: 15px;
}
.second-rating, .third-rating{
    padding-inline: 57PX;
}
.stars img{
    
   display: inline; 
   margin-left:4px;
   max-width: 14px;
   margin-bottom: 6px;
   
}
/* .first-rating img{
    padding-left: 2px;
    align-items: center;
    padding-right: 2px;
} */
 .stars p{
   position: absolute;
    
   gap: .5rem;
   margin-left: -17px;
   margin-right: 10px;
    
     display: flex;
   
 }
 .stars span{
     display: flex;
    
    justify-content: right;
 }
 .first-rating{
    /* margin-left: -68px; */
    
 }
.second-rating{
    /* margin-inline: -39px; */
    transform: translatex(10%);
}
.third-rating{
    transform: translatex(20%);
    /* margin-inline: -3px;
    padding-right: 100px; */



}
    
.comments{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-bottom: 30px;
}
.comments img{
   float: left;
   border-radius: 100%;
   max-width: 40px;
}

.comments h3{
    margin-left: 65px;
    font-size: 13px;
    font-weight: 700;
    color:white;

}
.comments span{
    color:   hsl(333, 80%, 67%);
    
}

.colton, .irene, .anne {
    box-sizing: border-box;
    background-color: hsl(300, 43%, 22%);
    border: 1px solid white;
    border-radius: 10px;
    margin-bottom: 20px;
    padding-block: 30px;
    padding-inline: 25px;
}
.comments p{
    color:white;
    line-height: 1.4;
}
.colton{
    margin-left: 30px;
}
.irene{
    transform: translatey(10%);
}
.anne{
    transform: translatey(20%);
}
}
@media (max-width:501px) {
  .container{
  
    margin: 41px 24px 33px 24px;
  
}

.heading h1{
display: flex;
color: hsl(300, 43%, 22%);
font-weight: 700;
align-items: center;
justify-content: center;
margin: 41px 24px 33px 29px;
line-height: 0.8;
text-align: center;
}

.heading p{
    text-align: center;
    color: hsl(300, 43%, 22%);
    margin-bottom: 20px;
}

.stars{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* background-color: #F7F2F8; */
    color: hsl(300, 43%, 22%);
    font-weight: 500;
    margin-bottom: 10px;
    padding-block:10px;
    
    
}

.first-rating, .second-rating, .third-rating{
    border: 1px solid #F7F2F8;
    background-color: #F7F2F8;
    border-radius: 10px;
    padding-inline: 45px;
    padding-block: 15px;
    margin-bottom: 15px;
}
.second-rating, .third-rating{
    padding-inline: 57PX;
}
.stars img{
    
   display: inline; 
   margin-left: 11px;
   max-width: 14px;
   margin-bottom: 6px;
   
}
/* .first-rating img{
    padding-left: 2px;
    align-items: center;
    padding-right: 2px;
} */
 .stars p{
    display: flex;
    align-content: center;
    justify-content: center;
 }

.comments img{
   float: left;
   border-radius: 100%;
   max-width: 40px;
}

.comments h3{
    margin-left: 65px;
    font-size: 13px;
    font-weight: 700;
    color:white;
    line-height: 1.2;
  
}
.comments span{
    color:   hsl(333, 80%, 67%);
}

.colton, .irene, .anne {
    box-sizing: border-box;
    background-color: hsl(300, 43%, 22%);
    border: 1px solid white;
    border-radius: 10px;
    margin-bottom: 20px;
    padding-block: 30px;
    padding-inline: 25px;
}
.comments p{
    color:white;
    line-height: 1.4;
}
}