body {
  text-align: center;
  background-color: skyblue;
  animation: colorChange 5s infinite;
}

h1 {
  font-family: 'Rubik Doodle Shadow', sans-serif;
  font-size: 175px;
  color: lightgreen;
  background: linear-gradient(45deg, #d6442d, #f26666); 
  display: inline-block;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

h1 span {
  display: inline-block; 
  position: relative;
  animation: splashText 5s infinite alternate;
  margin: -20px;
}

@keyframes splashText {
  0% {
    transform: scale(0.8) rotate(0deg); 
    opacity: 0.5;
  }
  25% {
    transform: scale(1.1) rotate(10deg);
    opacity: 1;
  }
  50% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  75% {
    transform: scale(0.9) rotate(-10deg); 
    opacity: 0.8;
  }
  100% {
    transform: scale(1) rotate(0deg); 
    opacity: 1;
  }
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 10px 0;
  z-index: 100;
}

nav a {
  text-decoration: none;
  display: inline-block;
  margin: 0 15px;
}

nav button {
  padding: 8px 16px;
  font-size: 16px;
  font-family: 'Open Sans';
  cursor: pointer;
  border: none;
  background-color: #e83c25;
  color: white;
  border-radius: 15px;
  box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease-in-out;
}

nav button:hover {
  background-color: #ed5d4a;
  box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.2), -4px -4px 5px #ffffff;
  animation: glowFloat 1.75s ease-in-out infinite;
}

.navbar-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  padding: 10px 0;
  z-index: 100;
}

.navbar-bottom {
  position: fixed;
  top: 55px; 
  left: 0;
  width: 100%;
  background-color: gray;
  padding: 10px 0;
  z-index: 99;
}

.navbar-bottom a {
  text-decoration: none;
  display: inline-block;
  margin: 0 15px;
}

.navbar-bottom button {
  padding: 10px 20px;
  font-size: 18px;
  font-family: 'Open Sans';
  cursor: pointer;
  border: none;
  background-color: #444;
  color: white;
  border-radius: 15px;
  transition: box-shadow 0.3s ease-in-out;
}

.navbar-bottom button:hover {
  background-color: #666;
  box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.2), -4px -4px 5px #ffffff;
}

.announcement {
  display: inline-block;
  white-space: nowrap;
  animation: nonGlowFloat 1.75s ease-in-out infinite;
  font-size: 50px;
  color: black;
  position: relative;
  top: 80px; /* Added space to push it lower */
  padding: 20px;
}

.announcement-container, .date-container {
  width: 100%; 
  overflow: hidden; 
  position: relative; 
  text-align: center;
}

.date {
  display: inline-block;
  white-space: nowrap;
  animation: date-scroll 6s linear infinite;
  font-size: 50px;
  color: black;
}

@keyframes date-scroll {
  from {
    transform: translateX(275%);
  }
  to {
    transform: translateX(-250%);
  }
}

@keyframes colorChange {
  50% { background-color: #45b6fe; }
}

@keyframes glowFloat {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 50px rgba(255, 255, 255, 0.6);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 0.9;
  }
}

@keyframes nonGlowFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}