@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

:root{
   --font_family_main: 'Overpass';
}


*{margin: 0; padding: 0; box-sizing: border-box;}

body{
    width: 100%;
    overflow-x: hidden;
    background-color: hsl(216, 12%, 8%);
    color: hsl(0, 100%, 100%);
    font-family:var(--font_family_main);
}

main{
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box{
    width: 30rem;
    height: 32rem;
    padding: 1.3rem;
    background-color: hsl(213, 19%, 18%);
    border-radius: 25px;
}

.rating-state{
    display: flex;
    flex-direction: column;
    justify-content:space-around;
    align-items: center;
    gap:0.1rem;
    height: 100%;
    padding: 1.3rem;
}

.star_bck{
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:hsla(217, 12%, 63%, 0.45);
    border-radius: 50%;
    
}
.star{
   align-self: flex-start;
}
img{
    width: 1.4rem;
    height: 1.4rem;
}

p{
    margin-top: 1rem;
    line-height: 1.8em;
    opacity: 50%;
    font-weight: 700;
}


.my_btn{
    width: 100%;
    margin-top: 2rem;
}

.submit_btn{
    width: 100%;
    height: 3rem;
    border-radius: 25px;
    box-shadow: none;
    border: none;
    background-color: hsl(25, 97%, 53%);
    color:hsl(213, 19%, 18%);
    padding-top: 5px;
}
.submit_btn:hover{
    background-color: hsl(0, 100%, 100%);
}

.rate_numbers{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap:1rem;
    
}
.number-bck{
    min-width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:hsla(217, 12%, 63%, 0.45);
    border-radius: 50%;
    color:hsl(217, 12%, 63%);
    opacity: 70%;
}
.number-bck:hover{
    background-color: hsl(25, 97%, 53%);
    color: hsl(216, 12%, 8%);
    opacity: 100%;
}
.number_active{
background-color: hsl(0, 100%, 100%);
color: hsl(216, 12%, 8%);
opacity: 1000%;
}

.thanks-state{
    display: none;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    height: 100%;
    gap: 1em;
    padding: 2rem;
    
}

.tnx-img{
    width: 200px;
    height: 120px;
    
}

.rate_showen{
    width: 65%;
    height:2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    background-color: hsla(217, 12%, 63%, 0.29); 
}
.rate_showen > p{
    color: hsl(25, 97%, 53%);
    opacity: 100%;
}

.tnx-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media screen and (max-width: 550px) {
  .box{
    width: 26rem;
    height: 28rem;
  }
  .rate_numbers{
    gap:0;
  }
  .number-bck{
    min-width: 3rem;
    height: 3rem;
  }
  .my_btn{
   margin-top: 2rem;
  }
}
