@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');

body{
  font-family: Overpass;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(216, 12%, 8%);
  color: #fff;
}

.container{
  width: 400px;
  height: 50%;
  background: hsl(213, 19%, 18%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 50px 8px;
}

.container .star{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsla(217, 12%, 63%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 20px;
  top: 25px;
}
.container h2{
  position: absolute;
  top: 80px;
  left: 30px;
}
.container p{
  position: absolute;
  left: 30px;
  color: rgba(255, 255, 255, 0.5);
}
.buttons{
  position: absolute;
  bottom: 20%;
  gap: 20px;
  display: flex;
  justify-content: space-between;
}
.buttons button{
  background:  hsla(217, 12%, 63%, 0.1);
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-family:  Overpass;
  font-weight: 700;
}
.buttons button:hover{
  background-color: #fff;
  color: #000;
  cursor: pointer;
}
.buttons button:focus{
  background: hsl(25, 97%, 53%);
}
#submitBtn{
  position: absolute;
  bottom: 5%;
  left: 10%;
  width: 80%;
  background: hsl(25, 97%, 53%);
  border: none;
  outline: none;
  padding: 12px 5px;
  border-radius: 20px;
  font-family:  Overpass;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
}
#submitBtn:focus{
  background: #fff;
}
.thanknote{
  position: absolute;
  bottom: 10%;
  text-align: center;
  max-width: 360px;
  font-size: .9rem;

}
.thankyou{
  position: absolute;
  top: 55%;
  font-size: 1.8rem;
}
.thankimage{
  position: absolute;
  top: 15%;
  width: 160px;
}
#result{
  position: absolute;
  top: 45%;
  color: hsl(25, 97%, 53%);
  background: hsla(217, 12%, 63%, 0.1);
  padding: 8px 10px;
  border-radius: 20px;
  font-size: .9rem;
}

@media screen and (max-width: 450px) {
  .container{
    width: 90%;
  }
  .buttons{
    gap: 10px;
  }

}