@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100;500;700&display=swap');

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

body{
    font: 15px;
    width: 100vw;
}

.container{
    justify-content: center;
    margin: auto;
    width: 375px;
    display: grid;
}

.header{
    color: hsl(300, 43%, 22%);
    font-weight: 700;
    margin: 20px 0;
    font-size: 20px;
    text-align:center;
}
.para{
    color: hsl(303, 10%, 53%);
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 40px;
}

.rate_container{
    color: hsl(0, 0%, 100%);
    background-color: hsl(300, 43%, 22%);
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 18px;
}



.details{
    display: flex;
}


p{
    line-height: 25px;
}

.star{
    background: url('./images/icon-star.svg');
    width: 85px;
    height: 15px;
    margin: auto auto 10px ;
}

img{
    border-radius: 50%;
}
.rate-text{
    color: hsl(300, 43%, 22%);
    font-weight: 700;
    font-size: 20px;
}

.rating{
    margin-bottom: 50px;
}

.box{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-radius: 5%;
    background-color: hsl(300, 24%, 96%);
}

.verify{
    color: hsl(333, 80%, 67%);
}
.pro{
    margin: auto auto auto 40px;
    padding-top:20px;
}

  .attribution {
        font-size: 11px;
        text-align: center;
      }
      .attribution a {
        color: hsl(228, 45%, 44%);
      }


/* media */

@media (min-width:1440px){
    .container{
        width: 87%;
        justify-content: center;
        display: grid;
        margin: auto;
    }
    .common{
        display: flex;
        width: 100%;
        align-items: flex-start;
    }

    .sub{
        margin-bottom: 4rem;
    }
    p{
        line-height: 30px;
    }

    /* rating */
   
    .rating{
        flex: 40%;
        height: 100%;
    }

     .box{
        width: 27%;
        padding: 20px;
        position: absolute;
        height: auto;
        top: 10px;
        right: 80px;
    }

    .star{
        float: left;
    }
    
    .rate_1{
        top: 30px;
        right: 360px;
    }

    .rate_2{
        top: 130px;
        right: 310px;
    }

    .rate_3{
        top: 230px;
        right: 260px;
    }

   

    /* header */

    .para{
        text-align: left;
        width: 30%;
    }

    .header{
        text-align: left;
        width: 27%;
    }



    /* review */
     .rate_container{
        margin: 10px;
        height: auto;
        width: 28%;
    }

    .cot_2{
        margin-top: 2rem;
    }

    .cot_3{
        margin-top: 4rem;
    }
}

