@import url('https://fonts.googleapis.com/css2?family=Comic+Sans+MS&display=swap');

:root {
  --primary-color: #ff6600;
  --secondary-color: #9933cc;
  --text-color: #333;
  --bg-color: #f0f0f0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 500vh;
  font-family: "Comic Sans MS", cursive, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  perspective: 1000px;
}

header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 100;
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.day-counter {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: bold;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.parallax-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.navigation {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 10px;
  z-index: 90;
}

.nav-item {
  padding: 10px 20px;
  margin: 5px;
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.nav-item:hover {
  background-color: var(--primary-color);
  transform: scale(1.05);
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  transition: transform 0.05s ease-out;
}

.layer-1 {
  background-color: rgba(255, 102, 0, 0.1);
  transform: translateZ(-10px) scale(2);
}

.layer-2 {
  background-color: rgba(153, 51, 204, 0.1);
  transform: translateZ(-5px) scale(1.5);
}

.layer-3 {
  background-color: rgba(51, 153, 255, 0.1);
  transform: translateZ(-1px) scale(1.1);
}

.parallax-content {
  position: relative;
  z-index: 10;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  transform: translateZ(0);
}

.floating-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-out;
}

.zoom-element {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transform: scale(1);
  transition: transform 0.5s ease-out;
  cursor: pointer;
  z-index: 50;
}

.warning-box {
  background-color: #ffeecc;
  border-left: 5px solid var(--primary-color);
  padding: 1rem;
  margin: 2rem 0;
  border-radius: 5px;
}

.warning-box h3 {
  color: var(--primary-color);
  margin-top: 0;
}

.content-block {
  margin: 4rem 0;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.scroll-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: white;
  padding: 10px;
  border-radius: 5px;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #333;
  color: white;
  margin-top: 2rem;
  position: relative;
  z-index: 100;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.footer-text {
  font-style: italic;
}

.cursor-follower {
  position: fixed;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 102, 0, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease;
}

.scroll-acceleration {
  animation: scrollPulse 0.5s ease-in-out;
}

@keyframes scrollPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.reverse-section {
  transform: scaleY(-1);
}

.reverse-section * {
  transform: scaleY(-1);
}

.tilted-element {
  transform: rotate(5deg);
  transition: transform 2s ease;
}

.zoom-target {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}