/* == GLOBAL RESET == */
html {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #d8f1fa;
}

.song {
  visibility: hidden;
}

/* == CONTAINER FIX == */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  position: relative;
  padding: 1rem;
}

.container > div {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

/* == ANIMATED SECTIONS == */
.one {
  font-size: 4.5rem;
  color: #2c6e91;
  z-index: 20;
  position: relative;
  background: rgba(255,255,255,0.5);
  padding: 0 1rem;
}

.two, .three {
  font-size: 1.2rem;
  font-weight: lighter;
  color: #2c6e91;
  z-index: 19;
  padding: 0 1rem;
  position: relative;
}

.four .text-box {
  border: 3px solid #88c5e0;
  border-radius: 5px;
  margin: 0 auto;
  padding: 10px;
  position: relative;
  width: 90%;
  max-width: 600px;
  z-index: 17;
  box-sizing: border-box;
}

.text-box p {
  margin: 0;
  text-align: left;
  color: #2c6e91;
}

.text-box span {
  visibility: hidden;
}
.next-btn {
  padding: 10px 20px;
  font-size: 1.2rem;
  background-color: #88c5e0;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.fake-btn {
  background-color: rgb(21, 161, 237);
  border-radius: 3px;
  color: #fff;
  padding: .5rem 1rem;
  display: block;
  margin: 1rem auto 0;
  width: fit-content;
  position: relative;
}

.five p {
  font-size: 1.8rem;
  position: relative;
  color: #2c6e91;
  z-index: 16;
  padding: 0 1rem;
}

.idea-3 strong {
  border-radius: 3px;
  display: inline-block;
  padding: 3px 5px;
  background-color: #88c5e0;
  color: white;
}

.idea-5 span, .idea-6 span, .wish-hbd span {
  display: inline-block;
  color: #2c6e91;
}

.idea-6 span {
  font-size: 8rem;
}

.six {
  position: relative;
  margin-top: 2rem;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.six img {
  display: block;
  max-width: 90%;
  height: auto;
  margin-bottom: 1rem;
}

.six .hat {
  width: 60px;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}

.baloons img {
  width: 50px;
  height: auto;
  position: absolute;
  z-index: 10;
}

.seven, .eight {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  z-index: 14;
}

.eight svg {
  visibility: hidden;
  width: 25px;
  z-index: 14;
}

.wish-hbd {
  font-size: 2.5em;
  margin: 0;
  text-transform: uppercase;
}

.hbd-chatbox span, .wish-hbd span {
  visibility: hidden;
}

.wish h5 {
  font-size: 1.5rem;
  font-weight: lighter;
  margin: 10px 0 0;
  color: #2c6e91;
}

.nine {
  width: 100vw;
  min-height: 100vh;
  background-color: #d8f1fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 30;
  padding: 1rem;
}

.nine p {
  display: none;
  font-size: 1.5rem;
  font-weight: lighter;
  color: #2c6e91;
}

/* Additional styles for missing sections */

/* === Section .ten - Present Section === */ .ten { background-color: #d8f1fa; padding: 2rem; text-align: center; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 20; }

.present-message h2, #present-text { color: #2c6e91; font-weight: 400; }

/* === Section .eleven - Video Section === */ .eleven { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #d8f1fa; min-height: 100vh; padding: 2rem; z-index: 21; }

.video-message h2 { color: #2c6e91; margin-bottom: 1rem; }

.video-container iframe { width: 90%; max-width: 560px; height: 315px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }

/* === Section .twelve - Emotion Section === */ .twelve { background-color: #d8f1fa; text-align: center; padding: 3rem 1rem; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; z-index: 22; }

.emotion-line { font-size: 1.5rem; color: #2c6e91; margin: 1rem 0; }

/* === Section .thirteen - Flower Build === */ .thirteen { background-color: #d8f1fa; padding: 2rem; min-height: 100vh; text-align: center; display: flex; flex-direction: column; justify-content: center; z-index: 23; }

.flower-line { font-size: 1.5rem; color: #2c6e91; margin: 1rem 0; }

#reveal-flower { font-size: 1rem; padding: 10px 20px; background-color: #88c5e0; color: white; border: none; border-radius: 5px; cursor: pointer; }

/* === Section .fourteen - Flower Final === */ .fourteen { background-color: #d8f1fa; min-height: 100vh; padding: 2rem; text-align: center; display: flex; flex-direction: column; justify-content: center; z-index: 24; }

.final-line { font-size: 1.5rem; color: #2c6e91; margin: 1rem 0; }

#final-next-button { font-size: 1rem; padding: 10px 20px; background-color: #88c5e0; color: white; border: none; border-radius: 5px; cursor: pointer; margin-top: 20px; }

/* === Section .fifteen - Extra Question === */ .fifteen { background-color: #d8f1fa; min-height: 100vh; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: 2rem; z-index: 25; }

#final-end-button { font-size: 1rem; padding: 10px 20px; background-color: #88c5e0; color: white; border: none; border-radius: 5px; cursor: pointer; margin-top: 20px; }

/* === Section .sixteen - Final Message === */ .sixteen { background-color: #d8f1fa; min-height: 100vh; text-align: center; display: flex; flex-direction: column; justify-content: center; padding: 2rem; z-index: 26; }

.closing-line { font-size: 1.5rem; color: #2c6e91; margin: 1rem 0; }

#to-ending-button { font-size: 1rem; padding: 10px 20px; background-color: #88c5e0; color: white; border: none; border-radius: 5px; cursor: pointer; margin-top: 20px; }
.flower-line,
.final-line,
.closing-line {
  opacity: 0;
  transition: opacity 1s ease;
  color: #2c6e91;
  font-size: 1.5rem;
  margin: 1rem 0;
  text-align: center;
}

#replay {
  cursor: pointer;
  z-index: 3;
}

#present-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  position: relative;
  width: 100%;
  padding: 1rem;
  background-color: #d8f1fa;
}

#next-present {
  position: relative;
  z-index: 1000;
  touch-action: manipulation;
  font-size: 1rem;
  padding: 10px 20px;
  background-color: #88c5e0;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
}

.emotion-line {
  opacity: 0;
  transition: opacity 1s ease;
}
@media screen and (max-width: 768px) {
  .idea-6 span {
    font-size: 5rem;
  }

  .wish-hbd {
    font-size: 2rem;
  }

  .one {
    font-size: 2.5rem;
  }

  .five p {
    font-size: 1.2rem;
  }
}