@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #00451c;
    color: #fff;
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;

}

.container {
    width: 100%;
    max-width: 720px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
}

button {
    padding: 10px 15px;
    font-size: 1rem;
    margin-top: 15px;
    border: none;
    background-color: #D9166E;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4AA147;
}

.box-container {
    display: flex;
    justify-content: center;
    height: 340px;
    position: relative;
}

#box, #box-2 {
    margin: 0 auto;
    width: 340px;
    height: 340px;
    transition: transform 1s, opacity 0.8s;
    position: absolute;
    border: 8px solid #fff;
    border-radius: 10px 10px 0 0;
    background-size: 100%;
    background-repeat: no-repeat;
}

#box {
    opacity: 1;
    background-image: url("../../img/cake-loop.gif");
}

#box-2 {
    opacity: 0;
    background-image: url("../../img/cake-finish.gif");
}

.fadeOut {
    transition: opacity 0.5s ease-in-out;
}

#bdayTitle, #bdayText {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.info {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #fff;
}
.info a{
    color:#fff;
    text-decoration:underline;
}

/* CONFETTI CSS */

#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
}

.confetti-piece {
  position: absolute;
  width: 8px;
  height: 12px;
  opacity: 0.9;
  animation: fall 1.4s ease-out forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}
.af881-ext-1-262{display:none;}