body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  background-color: rgb(189, 225, 122);
}

#noButton {
  position: absolute;
  margin-left: 150px;
  transition: 0.5s;
}

#yesButton {
  position: absolute;
  margin-right: 150px;
}

.header_text {
  font-family: "Nunito";
  font-size: 40px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-align: center;
  margin-top: 2px;
  margin-bottom: 0;
}
.header_text1 {
  font-family: "Nunito";
  font-size: 40px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-align: center;
  margin-top: 90px;
  margin-bottom: 0;
}
.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-left: 20px;
}

.btn {
  background-color: #ffffff;
  color: rgb(233, 48, 48);
  padding: 15px 32px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.gif_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 320px) and (max-height: 568px) {
  body {
    height: 100vh;
  }

  .header_text {
    font-size: 20px;
  }

  img {
    height: 60vh;
  }

  .btn {
    padding: 10px 18px;
    font-size: 12px;
  }
}

@media only screen and (max-width: 414px) and (max-height: 736px) {
  body {
    height: 90vh;
  }

  .header_text {
    font-size: 28px;
  }

  img {
    height: 60vh;
  }

  .btn {
    padding: 15px 25px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  body {
    height: 100vh;
    padding: 10px;
    overflow: hidden;
  }

  .container {
    max-width: 100%;
    overflow: visible;
  }

  .header_text, .header_text1 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 10px;
  }

  .gif_container {
    margin: 15px 0;
  }

  .gif_container img {
    max-width: 80%;
    height: auto;
    max-height: 40vh;
  }

  .buttons {
    flex-direction: row;
    margin-top: 20px;
    position: relative;
    height: 60px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 16px;
    margin: 5px;
    touch-action: none;
  }

  #yesButton {
    position: absolute;
    margin-right: 120px;
  }

  #noButton {
    position: absolute;
    margin-left: 120px;
  }

  #revealButton {
    font-size: 18px;
    padding: 15px 30px;
  }
}

/* iPhone 11 specific (414x896) */
@media only screen and (max-width: 414px) and (min-height: 800px) {
  .header_text, .header_text1 {
    font-size: 22px;
  }

  .gif_container img {
    max-height: 35vh;
  }
}
