/* Preloader */

.loader-text {
  font-family: monospace;
}

#preloader {
	background: url(https://lesaturnascrib.neocities.org/plwj2z.gif) left top repeat;
  background-size: 250px, 250px;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  align-items: center;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #acff00;
  border-top: 6px solid deeppink;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Texto */
.loader-text {
  font-family: monospace;
  font-size: 18px;
  color: #acff00;
  letter-spacing: 2px;
  animation: blink 1.2s infinite alternate;
}

/* Animaciones */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes blink {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
  


/* logo animado*/
.logo-glitch {
  position: relative;
  transition: transform 0.2s ease;
}

/* Animaci贸n solo cuando haces hover */
.logo-glitch:hover {
  animation: glitch 0.3s infinite;
  filter: contrast(1.2) saturate(1.5);
}

/* Keyframes del glitch */
@keyframes glitch {
  0% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
    filter: hue-rotate(20deg);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
    filter: hue-rotate(-20deg);
  }
  100% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
}

/*animacion basica*/
.logo-anim {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.logo-anim:hover {
  transform: scale(1.05) translateY(-5px);
  filter: brightness(1.2) saturate(1.3);
  cursor: pointer;
}








/*CALENDAR*/
.calendar-app {
  width: 100%;
}

.calendar-box {
  width: 100%;
  padding: 6px;
  background: #c0c0c0;
  border: 2px solid #fff;
  box-shadow:
    inset -2px -2px #000,
    inset 2px 2px #fff;
  box-sizing: border-box;
}


.calendar-title {
  background: deeppink;
  color: #fff;
  padding: 4px;
  font-family: 'Audiowide', sans-serif;
}

.calendar-header {
  text-align: left;
  font-family: 'Audiowide', sans-serif;
  font-size: 19px;
  margin-bottom: 6px;
  color: #000;
  background: #e0e0e0;
  border: 1px solid #999;
}



.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  text-align: center;
  font-family: 'Audiowide', sans-serif;
  font-size: 8px;
  width: 100%;
  box-sizing: border-box;
}



.calendar-weekday {
  display: flex;
  align-items: center;
  justify-content: center;

  aspect-ratio: 1 / 1;

  font-size: 9px;
  font-weight: bold;
 border-radius:50%;
  background: #1a1aff;
  color: #fff;

  border: 1px solid #999;

  box-shadow: none;
}



.calendar-days-wrapper {
  grid-column: span 7;

  background: #bdbdbd;
  padding: 4px;

  border: 2px solid #777;

  box-shadow:
    inset -2px -2px #555,
    inset 2px 2px #fff;
}



.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  position: relative;
}



.calendar-day {
  aspect-ratio: 1 / 1;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #e0e0e0;
  border: 1px solid #999;

  box-shadow:
    inset -1px -1px #000,
    inset 1px 1px #fff;

  font-size: 9px;

  position: relative;
  transition: 0.2s;
}


.calendar-day:hover {
  background: #EADE20;
  color: #000;

  transform: scale(1.08);

  box-shadow:
    inset 1px 1px #000,
    inset -1px -1px #fff;

  z-index: 2;
}

/* RESPONSIVE */
.calendar-mobile {
  display: none;
}

.calendar-expanded {
  display: block;
}

@media (max-width: 800px) {
  .calendar-expanded {
    display: none;
  }

  .calendar-mobile {
    display: block;
  }

  .calendar-expanded.active {
    display: block;
  }
}
