.toggle-container {
  position: relative;
  width: 50px;
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.5s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 2px;
  overflow: hidden;
}
.dark-mode .toggle-container {
  background-color: #333333;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}
.toggle-container .clouds {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ffffff" d="M19.35 10.04A7.49 7.49 0 0 0 12 4a7.5 7.5 0 0 0-7.35 6.04A5 5 0 0 0 0 14c0 2.76 2.24 5 5 5h13c2.76 0 5-2.24 5-5c0-2.64-2.05-4.78-4.65-4.96z"/></svg>') repeat;
  opacity: 0.9;
  transition: opacity 0.5s ease-in-out;
  animation: float 4s infinite ease-in-out;
}
.dark-mode .toggle-container .clouds {
  opacity: 0;
}
.toggle-container .stars {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="1" fill="%23ffffff"/><circle cx="2" cy="14" r="1" fill="%23ffffff"/><circle cx="14" cy="2" r="1" fill="%23ffffff"/></svg>') repeat;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  animation: twinkle 2s infinite ease-in-out;
}
.dark-mode .toggle-container .stars {
  opacity: 0.5;
}
.toggle-container .toggle-button {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  transition: transform 0.5s ease-in-out, background-color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.dark-mode .toggle-container .toggle-button {
  transform: translateX(30px);
  background-color: #1e1e1e;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}
.toggle-container .sun {
  position: absolute;
  font-size: 14px;
  color: #ffeb3b;
  text-shadow: 0 0 10px #ffeb3b, 0 0 20px #ffeb3b;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.dark-mode .toggle-container .sun {
  opacity: 0;
  transform: scale(0);
}
.toggle-container .moon {
  position: absolute;
  font-size: 14px;
  color: #b0bec5;
  text-shadow: 0 0 10px #b0bec5, 0 0 20px #b0bec5;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.dark-mode .toggle-container .moon {
  opacity: 1;
  transform: scale(1);
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.logo {
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: 50px;
}
.logo .surface {
  height: 41px;
  border-bottom: 2px solid var(--highlight-color);
  position: relative;
  animation: surfaceReact 3s ease-in-out infinite; /* Adjusted to match bounce duration */
}
.logo .logo-icon {
  background-color: var(--highlight-color);
  height: 24px;
  width: 24px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: bounce 3s cubic-bezier(0.28, 0.84, 0.42, 1) infinite; /* Smoother easing */
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0) scale(1, 1);
  }
  5% {
    transform: scale(1, 1);
  }
  30% {
    transform: translateY23(20px) scale(0.99, 1); /* Start falling */
  }
  31% {
    transform: translateY(20px) scale(1.1, 0.8); /* Squash on impact */
  }
  50% {
    transform: translateY(12px); /* Bounce up with stretch */
  }
  70% {
    transform: translateY(20px) scale(1.05, 0.9); /* Secondary bounce */
  }
}
@keyframes surfaceReact {
  0%, 100% {
    transform: translateY(0) scaleY(1, 0.8);
  }
  35% {
    transform: translateY(3px) scaleY(0.95); /* Surface reacts to impact */
  }
  50% {
    transform: translateY(0) scaleY(1);
  }
  70% {
    transform: translateY(1.5px) scaleY(0.98); /* Subtle secondary reaction */
  }
  90% {
    transform: translateY(0) scaleY(1);
  }
}
.logo .logo-text {
  display: flex;
  flex-direction: column;
}
.logo .logo-text p {
  font-size: 1.6rem;
  white-space: nowrap;
  color: var(--text-primary);
  font-weight: 550;
  line-height: 25px;
}
.logo .logo-text span {
  margin: 0;
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  opacity: 0.8;
  transition: color 0.3s ease;
}

.scroll-content {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Sheen effect */
/* Visible State */
.scroll-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-content.visible::after {
  left: 100%;
}/*# sourceMappingURL=animation.css.map */