:root {
  --degrees: 5deg
}

body {
  background-image: url("hent.gif");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
}

.title {
  text-align: center;
  margin-top: 150px;
  font-size: 48px;
  font-weight: bold;
  background-color: black;
  
  
  background: linear-gradient(
    90deg,
    crimson,
    red,
    orange,
    gold,
    yellow,
    hotpink,
    crimson
  );

  background-size: 300% 100%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: rainbow 6s linear infinite, spin 2s ease-in-out infinite;
}

.potasson {
  background: none;
  border: none;
}

.bottom-image {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-image img {
    display: block;
}

.joy {
  color: lime;
  text-shadow: 0 0 10px lime;
}

.nana {
  color: yellow;
  text-shadow: 0 0 10px yellow;
}

#confetti-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

h3 {
 color: white;
 text-align: center;
}

.confetti {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 18px;
    opacity: 0.9;
    animation: fall linear forwards;
}

@keyframes fall {
    from {
        transform: translateY(-20px) rotate(0deg);
    }
    to {
        transform: translateY(110vh) rotate(720deg);
    }
}

button:hover {
  cursor: pointer;
}

.clock {
  color: white;
  text-align: center;
  font-size: 30px;
}

@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(var(--degrees));
  }

  50% {
    transform: rotate(calc(var(--degrees) * -1));
  }

  100% {
    transform: rotate(var(--degrees));
  }
}