@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito&display=swap');

/* Body */
body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(120deg, #89CFF0, #4682B4); /* light sky blue to steel blue */
  color: #fff; /* light text for contrast */
  margin: 0;
  padding: 0;
}

body.peter-page {
  background-color: #FCFBE5;
}

/* Header */
header {
  font-family: 'Nunito', sans-serif;
  background-color: #1E90FF; /* Dodger Blue */
  padding: 20px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

nav a:hover {
  color: #ff4081;
  transform: scale(1.1);
  transition: 0.3s;
}

main {
  padding: 30px;
  text-align: center;
}

footer {
  background-color: #1E90FF;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}

iframe {
  border: 3px solid #ffffff;
  border-radius: 15px;
  width: 100%;
  max-width: 800px;
  height: 1000px;
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 9999;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #ff4081;
  opacity: 0.8;
  transform: rotate(45deg);
  animation: fall 5s linear infinite;
}

@keyframes fall {
  0% { top: -10px; }
  100% { top: 100vh; }
}

/* Bouncing button effect */
button.bounce {
  background-color: #40ff93;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

