html {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", sans-serif;
}

.container {
  height: 100vh;
  width: 100vh;
  margin: 0 auto;
  text-align: center;
  visibility: hidden;
  position: relative;
  overflow: hidden;
}

.container div.six {
  top: 10vh;
  z-index: 1;
}
.blue-marquee {
  color: #2196f3;
  text-shadow: 0 0 2px #2196f3, 0 0 6px #b3e5fc;
  animation: marquee 2s linear infinite;
  font-weight: bold;
}

@keyframes marquee {
  0% {
    text-shadow: 0 0 2px #2196f3, 0 0 6px #b3e5fc;
    letter-spacing: 0px;
  }
  50% {
    text-shadow: 0 0 8px #2196f3, 0 0 16px #b3e5fc;
    letter-spacing: 2px;
  }
  100% {
    text-shadow: 0 0 2px #2196f3, 0 0 6px #b3e5fc;
    letter-spacing: 0px;
  }
}

.container div.seven,
.container div.eight {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
}

.container > div {
  position: absolute;
  left: 0;
  right: 0;
  top: 20vh;
}

.one {
  font-size: 4.5rem;
}

.one > img {
  vertical-align: middle;
  margin-bottom: 10px;
  max-width: 100%;
  height: auto;
}

.two {
  font-size: 1.2rem;
  font-weight: lighter;
}

.three {
  font-size: 3rem;
}

.four .text-box {
  width: 600px;
  margin: 0 auto;
  border: 3px solid #aaa;
  border-radius: 5px;
  padding: 10px;
  position: relative;
}

.text-box p {
  margin: 0;
  text-align: left;
}

.text-box span {
  visibility: hidden;
}

.text-box .fake-btn {
  position: absolute;
  right: 5px;
  bottom: 5px;
  color: #fff;
  background-color: rgb(21, 161, 237);
  padding: 5px 8px;
  border-radius: 3px;
}

.five p {
  font-size: 2rem;
  position: absolute;
  left: 0;
  right: 0;
}

.idea-3 strong {
  padding: 3px 5px;
  border-radius: 3px;
  display: inline-block;
}

.five .idea-5 {
  font-size: 4rem;
}

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

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

.six {
  position: relative;
}

.six img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  max-height: 300px;
}
@media screen and (min-width: 1024px) {
  .six img {
    max-height: 500px;
  }
}

.six .hat {
  position: absolute;
  width: 80px;
  top: -35px;
  left: 41.5%;
  /* transform: scale(0.1); */
}

.baloons img {
  display: inline-block;
  position: absolute;
}

.baloons img:nth-child(even) {
  left: -10%;
}

.baloons img:nth-child(odd) {
  right: -10%;
}

.baloons img:nth-child(3n + 0) {
  left: 30%;
}

.eight svg {
  width: 25px;
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  z-index: -1;
}

.eight svg:nth-child(1) {
  top: 7vh;
  left: 5vw;
  fill: #bd6ecf;
}

.eight svg:nth-child(2) {
  top: 23vh;
  left: 35vw;
  fill: #7dd175;
}

.eight svg:nth-child(3) {
  top: 33vh;
  left: 23vw;
  fill: #349d8b;
}

.eight svg:nth-child(4) {
  top: 43vh;
  left: 57vw;
  fill: #347a9d;
}

.eight svg:nth-child(5) {
  top: 68vh;
  left: 7vw;
  fill: #c66053;
}

.eight svg:nth-child(6) {
  top: 42vh;
  left: 77vw;
  fill: #bfaa40;
}

.eight svg:nth-child(7) {
  top: 68vh;
  left: 83vw;
  fill: #e3bae8;
}

.eight svg:nth-child(8) {
  top: 86vh;
  left: 37vw;
  fill: #8762cb;
}

.eight svg:nth-child(9) {
  top: 94vh;
  left: 87vw;
  fill: #9a90da;
}

.wish-hbd {
  font-size: 3em;
  margin: 0;
  text-transform: uppercase;
}
.wish-hbd span {
  animation: marqueeColor 2s linear infinite;
}
/* style/style.css */
.giftbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px 0;
}
.giftbox-tip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #C62828;
  font-size: 1.1em;
  margin-top: 10px;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
  animation: tip-blink 1.2s infinite;
}
@keyframes tip-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
/* In style/style.css */
.giftbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.giftbox {
  position: relative;
  width: 120px;
  height: 120px;
}

.giftbox-base {
  position: absolute;
  left: 20px;
  top: 50px;
  width: 80px;
  height: 50px;
  background: #D32F2F;
  border-radius: 8px;
  z-index: 1;
}

.giftbox-lid {
  position: absolute;
  left: 15px;
  top: 40px;
  width: 90px;
  height: 20px;
  background: #FFD600;
  border-radius: 6px;
  z-index: 2;
}

.giftbox-ribbon-vertical {
  position: absolute;
  left: 57px;
  top: 40px;
  width: 6px;
  height: 60px;
  background: #FFD600;
  z-index: 3;
}
.movie-ticket {
  position: absolute;
  left: 50%;
  width: 260px;
  min-height: 60px;
  background: #fffbe7;
  border: 2px dashed #d32f2f;
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: none;
  z-index: 10;
  transform: translateX(-50%);
  animation: ticketFadeIn 1s ease;
}

@keyframes ticketFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(40px) scale(0.8); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.giftbox-ribbon-horizontal {
  position: absolute;
  left: 20px;
  top: 70px;
  width: 80px;
  height: 8px;
  background: #FFD600;
  z-index: 3;
}

.giftbox-bow {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.bow-left, .bow-right {
  width: 22px;
  height: 22px;
  background: #C62828;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.bow-left {
  transform: rotate(-25deg);
  margin-right: -8px;
}

.bow-right {
  transform: rotate(25deg);
  margin-left: -8px;
}

.bow-center {
  width: 14px;
  height: 14px;
  background: #D32F2F;
  border-radius: 50%;
  z-index: 5;
  margin: 0 2px;
}
@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(8deg); }
}
.open-lid {
  animation: openLid 0.5s forwards;
}
@keyframes openLid {
  to { transform: rotate(-60deg) translateY(-20px); }
}
@keyframes marqueeColor {
  0%   { color: #15A1ED; }
  20%  { color: #2196f3; }
  40%  { color: #64b5f6; }
  60%  { color: #ff69b4; }
  80%  { color: #e75480; }
  100% { color: #15A1ED; }
}
.wish h5 {
  font-weight: lighter;
  font-size: 2rem;
  margin: 10px 0 0;
}

.nine p {
  font-size: 2rem;
  font-weight: lighter;
}

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

/* Media Queries */
@media screen and (max-height: 1000px) {
  .six .hat {
    left: 40%;
  }
}

@media screen and (max-height: 800px) {
  .six .hat {
    left: 37%;
  }
}

@media screen and (max-height: 700px) {
  .six .hat {
    left: 37%
  }
}

@media screen and (max-height: 850px) and (max-width: 450px) {
  .six .hat {
    left: 37%
  }
}

@media screen and (max-width: 500px) {
  .container {
    width: 90%;
  }

  .four .text-box {
    width: 90%;
  }

  .text-box .fake-btn {
    right: 5px;
    bottom: -38px;
    background: #15A1E;
  }

  .idea-5 span {
    display: block;
  }

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

  .six .hat {
    width: 50px;
    top: -40px;
  }

  .wish-hbd {
    font-size: 2.2em;
  }

  .wish h5 {
    font-size: 1.4rem;
  }

  .nine p {
    font-size: 1.5rem;
    font-weight: lighter;
  }
}
.three {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* Adjust as needed */
}
.text1 {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0; /* Remove default p margin */
}