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

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

body {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  height: 100vh;
  background: #ababab;
  display: flex;
  align-items: center;
  justify-content: center;
}

.open-modal {
  padding: 3%;
  border-radius: 5%;
  border: 1px dashed #09003d;
  background: #09003d;
  color: #fff;
  font-size: 2.5rem;
  transition: all .5s ease-in-out;
}

.open-modal:hover {
  background: transparent;
  color: #09003d;
}

#feedbackModal {
  display: none;
  position: absolute;
  width: 100%;
  top: 50;
  left: 50;
  align-items: center;
  justify-content: center;
  transition: all .5s ease-in-out;
}

.modal-content {
  text-align: center;
  background: #000000;
  padding: 5%;
  color: #fff;
}

.rating-scale {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 5%;
  margin: auto;
  margin-top: 5%;
}

.rating-scale button {
  background: #004956;
  border: 5px solid #004956;
  padding: 1%;
  width: 100px;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  transition: .3s ease-out;
}

.rating-scale button:hover {
  background: transparent;
}

.ratingLevel {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 1% auto;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#cancelButton {
  text-transform: uppercase;
  background: red;
  color: #000000;
  border: 1px solid red;
  padding: 1%;
  width: 30%;
  border-radius: 10px;
  font-size: 2rem;
  transition: all .5s ease;
}

#cancelButton:hover {
  background: transparent;
  color: red;
}

#submitButton {
  text-transform: uppercase;
  background: #00fd0d;
  color: #000000;
  border: 1px solid #00fd0d;
  padding: 1%;
  width: 30%;
  border-radius: 10px;
  font-size: 2rem;
  transition: all .5s ease;
}

#submitButton:hover {
  background: transparent;
  color: #00fd0d;
}

@media screen and (max-width: 1200px) {
  .modal-content {
    width: 70%;
  }
}

@media screen and (max-width: 997px) {
  h2 {
    font-size: 17px;
  }
  .rating-scale button {
    font-size: 20px;
  }
  #cancelButton, #submitButton {
    font-size: 30px;
    width: 40%;
    padding: 5px;
  }
}

@media screen and (max-width: 820px) {
  #cancelButton, #submitButton {
    font-size: 25px;
  }
}

@media screen and (max-width: 768px) {
  .rating-scale {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5%;
  }
  .ratingLevel {
    display: none;
  }
}

@media screen and (max-width: 590px) {
  .buttons {
    justify-content: space-evenly;
  }
  #cancelButton, #submitButton {
    width: 35%;
    padding: 1%;
    font-size: 20px;
  }
}

@media screen and (max-width: 590px) {
  .open-modal {
    font-size: 1rem;

  }
  .buttons {
    justify-content: space-evenly;
  }
  #cancelButton, #submitButton {
    width: 40%;
    padding: 1%;
    font-size: 20px;
  }
}

@media screen and (max-width: 426px) {
  .rating-scale button {
    font-size: 13px;
    padding: 1px;
  }
  #cancelButton, #submitButton {
    width: 45%;
    padding: 1%;
    font-size: 15px;
  }
}