@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: hsl(216, 12%, 8%);
    color: white;
    font-family: "Roboto", serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.active{
    background-color: hsl(213, 19%, 18%);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 20px;
    width: 50%;
    margin: auto;
}
.logo1{
    align-self: self-start;
    margin-left: 4rem;
    background-color: hsl(217, 12%, 63%);
    padding: 1rem;
    border-radius: 50%;
    
}
h1{
    font-size: 2rem;
    font-weight: 700;
    margin-left: 4rem;
}
p{
    font-size: 1rem;
    font-weight: 400;
    margin-left: 4rem;
}
.rating{
    display: flex;
    justify-content:space-around;
    align-items: center;
    align-content: center;
    gap: 2rem;
    margin: auto;
}
button{
    background-color: hsl(217, 12%, 63%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    margin: auto;
}
button:hover{
    background-color: white;
    color: hsl(25, 97%, 53%);
}
#submit{
    background-color: hsl(25, 97%, 53%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: auto;
    width: 80%;
}
#submit:hover{
    background-color: white;
    color: hsl(25, 97%, 53%);
}
.thank {
    display: flex;
    background-color: hsl(213, 19%, 18%);
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 20px;
    width: 50%;
    margin: auto;
    display: none;
}
.thank img{
    margin: auto;
}
#p1{
    color: hsl(25, 97%, 53%);
    background-color: hsl(217, 12%, 63%);
    padding: 0.5rem;
    margin: auto;
    border-radius: 10px;
}
.thank h1{
    margin: auto;
}
.thank-text {
    text-align: center;
    margin: 0 auto; 
    margin-right: 3rem;
}
@media screen and (max-width: 768px){
    .active{
        width: 80%;
    }
    .thank{
        width: 80%;
    }  
}