/* Lokale Einbindung der Schriftart */
@font-face {
  font-family: 'Press Start 2P';
  src: url('fonts/PressStart2P-Regular.ttf') format('truetype'),;
  font-weight: normal;
  font-style: normal;
}

/* Allgemeine Seiteneinstellungen */
body {
  margin: 0;
  padding: 0;
  display: flex;
  overflow: hidden; /* Verhindert Scrollen während des Schneefalls */
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: black;
  background-image: url('hintergrundbild.png');
  background-size: cover;
  background-position: center;
  font-family: 'Press Start 2P', sans-serif; /* Lokale Schriftart verwenden */
  color: #FFFDD0; /* Helle, retro-gelbliche Farbe */
}

.container {
  display: flex;
  flex-direction: column;
  width: 400px;
}

a {
  color: #FFD700;
}

.imprint-link {
  position: fixed; /* Fixiert das Element */
  bottom: 0; /* Immer unten */
  width: 100%; /* Breite über die ganze Seite */
  text-align: left; /* Text zentrieren */
  padding: 5px 0; /* Platz um den Text herum */
  font-size: 12px; /* Schriftgröße kleiner */
  z-index: 1000; /* Immer im Vordergrund */
  background-color: transparent;
  color: blue; /* Textfarbe blau */
}

.imprint-link a {
  color: blue; /* Textfarbe blau */
  text-decoration: none; /* Unterstreichung entfernen (optional) */
}

.imprint-link a:hover {
  text-decoration: underline; /* Unterstreichung beim Hover */
}

a:hover {
  color: #0d0;
}

a:visited {
  color: #FFD700;
}
a:active {
  color: #00008B;
}

.text-frame {
  visibility: hidden;
  position: relative;
  background-color: #000000; /* Retro-Blau */
  color: #FFD700; /* Goldene Schrift */
  padding: 20px;
  border: 3px solid #FFD700; /* Goldfarbener Rand */
  border-radius: 1px;
  text-align: center;
  align-self: center;
}

/* Kalender-Grid */
.calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  width: 90%;
  margin: 20px;
  padding: 10px;
  align-self: center;
}

/* Türchen-Stil */
.door {
  position: relative;
  width: 100%;
  height: 80px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  color: #0d0;
  clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
  transition: background-color 0.3s, transform 0.2s;
}

.door:hover {
  background-color: #00b;
  transform: scale(1.1);
}

/* Gesperrte Türchen */
.door.locked {
  color: #b00;
}

.door.locked:hover {
  background-color: #3d3d3d;
  transform: none;
}

/* Tooltip-Style für den Infotext */
.door .tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00008B;
  color: #FFD700;
  padding: 10px;
  border: 2px solid #FFD700;
  border-radius: 5px;
  text-align: center;
  font-size: 0.9em;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 100;
}

.door:hover .tooltip {
  visibility: visible;
  opacity: 1;
}


/* Medienabfragen für kleinere Bildschirme */
@media (max-width: 768px) {
  .container {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .calendar {
    width: 100%;
    margin: 10px;
  }
  .door {
    height: 60px;
  }
}

/* Stil für die Schneeflocken */
.snowflake {
  position: absolute;
  color: #ffffff; /* Helle, retro-gelbliche Farbe */
  font-size: 1.2em;
  pointer-events: none; /* Damit die Schneeflocken keine Klicks blockieren */
  animation: fall linear;
}

/* Animation für den Fall-Effekt */
@keyframes fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg); /* Dreht und bewegt das Symbol nach unten */
  }
}

#video-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

#video-artist, #video-text {
  margin: 5px 0;
}
