
@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Overpass", sans-serif;
}
body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: hsl(216, 12%, 8%);
}


.rating-content{
   background: linear-gradient(hsl(213, 19%, 18%), hsl(216, 12%, 8%, 0.2));
   color: hsl(0, 100%, 100%);
    width: 320px;
    height: 350px;
    padding: 1.3rem;
    border-radius: 15px;
    box-shadow: 1px 1px 2px hsl(213, 19%, 18%);
}
/* move giving rating content when click submit button */
.hidden{
    display: none; 

}
.star-logo{
    padding: 10px;
    border-radius: 100%;
    background-color: hsl(213, 19%, 20%);
    display: flex;
    align-items: center;
    justify-content: center;
     width: 40px;
     height: 40px;
     margin: 0.6rem 0;
}
.content {
    margin: 1rem 0;
}
.content h1{
    font-size: 1.3rem;
    font-weight: 700;
}
.content p{
    margin: 1rem 0;
    font-size: 14px;
    color: hsl(217, 12%, 63%);
    line-height: 1.5;
}
.rating-number{
    display: flex;
    align-items: center;
   justify-content: space-between;
   padding: 0.8rem 0.8rem 1rem 0.7rem;
}

.rating-number .btn{
    padding: 10px;
    width: 40px;
    height: 40px;
    background-color: hsl(213, 19%, 20%);
    border-radius: 100%;
    color: hsl(0, 100%, 100%);
    outline: none;
    border: none;
    cursor: pointer;
}
.rating-number .btn:hover{
    background-color: hsl(216, 12%, 8%)
}
.submit{
    margin: 0.8rem 0;
    width: 100%;
    background-color: hsl(25, 97%, 53%);
    padding: 0.5rem;
    color: hsl(213, 19%, 20%);
    text-transform: uppercase;
    text-align: center;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 700;
}
.submit:hover{
    background-color: hsl(25, 97%, 60%);
}

/* =======
   feedback 
   =========
*/
.attribution {
    color: hsl(0, 100%, 100%);
    margin: 1rem 0;
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
.feedback {
    background: linear-gradient(hsl(213, 19%, 18%), hsl(216, 12%, 8%, 0.2));
   color: hsl(0, 100%, 100%);
    width: 320px;
    height: 350px;
    padding: 1.3rem;
    border-radius: 15px;
    box-shadow: 1px 1px 2px hsl(213, 19%, 18%);
}
.feedback .image{
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rate{
    margin-top: 1.3rem;
    background-color: hsl(213, 19%, 20%);
    text-align: center;
    margin: 0 2.5rem;
    padding: 0.4rem 0;
    border-radius: 20px;
    color: hsl(25, 97%, 53%)
}
.rate p{
    font-size: 12px;
    opacity: 0.7;
}
.thank{
    margin-top: 1.5rem;
    text-align: center;
}
.thank h1{
    font-size: 1.3rem;
}
.thank p {
    font-size: 0.8rem;
    color: hsl(217, 12%, 63%);
    margin-top: 1rem;
    line-height: 1.7;
    padding: 0 0.3rem;
}
.alert {
    color: hsl(0, 89%, 43%);
    padding: 1rem 0
}