:root {
  --paper: rgb(241 217 222);
  --ink: rgb(66 55 206);
  /* 4237CE */
}

body {
  font-family: "Knewave", sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  font-size: 32px;
}

@media (max-width: 550px) {
  body {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 20px;
  }
}

.section {
  margin-top: 4em;
  text-align: center;
}

h1 {
  font-weight: normal;
  font-size: 2em;
}

p {
  margin: 0.5rem 0;
}

#cake {
  margin-top: 1em;
  margin-bottom: -1em;
  height: 8em;
}

#heart {
  width: 50px;
}

#disco {
  position: absolute;
  top: -10px;
  right: 1em;
  height: 5em;
}

#cheers {
  margin-top: 0.7em;
  display: inline-block;
  height: 4em;
}

#cincin {
  animation: cincin-wobble 4s infinite;
  margin-top: 0.7em;
  display: inline-block;
  height: 4em;
}

@keyframes cincin-wobble {
  0%, 100% {
    transform: rotate(0deg);
  }
  2% {
    transform: rotate(-8deg);
  }
  4% {
    transform: rotate(8deg);
  }
  6% {
    transform: rotate(-6deg);
  }
  8% {
    transform: rotate(6deg);
  }
  10% {
    transform: rotate(0deg);
  }
}

@keyframes fadeInOut {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

#left_twinkle {
  opacity: 0;
  animation: fadeInOut 2s infinite;
}

#right_twinkle {
  opacity: 0;
  animation: fadeInOut 2s infinite;
  animation-delay: 0.5s;
}

#cheers_text {
  display: inline-block;
  animation: cheers-bubble 3s ease-out infinite;
}

@keyframes cheers-bubble {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  66.67% {
    opacity: 1;
    transform: translateY(-40px);
  }
  83.33% {
    opacity: 0;
    transform: translateY(-60px);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px);
  }
}