/* Basislayout voor verticaal 16:9 scherm (niet scrollbaar) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* niet scrollbaar */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f9fafb;
}

.screen {
  width: 100%;
  height: 100%;
  padding: 2.5vh 3vw;
  display: flex;
  flex-direction: column;
}

/* Titel bovenaan */

.header {
  position: relative;
  text-align: center;
  margin-bottom: 2vh;
}

/* Live klok rechtsboven, verticaal gecentreerd op de titelrij */
.clock {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 2.2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #9ca3af;
}

.seasonal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  width: 100%;
}

.seasonal-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  animation: float 3s ease-in-out infinite;
}

.seasonal-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.header h1 {
  margin: 0;
  font-size: 3.3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.1;
}

/* Datum en status onderaan */

.footer {
  margin-top: auto;
  padding-top: 1.5vh;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.2rem;
  color: #9ca3af;
}

/* Eventlijst */

.events-container {
  flex: 1;
  margin-top: 2vh;
  margin-bottom: 2vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#events-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4vh;
  overflow: hidden;
}

/* Event-item */

.event-item {
  display: grid;
  grid-template-columns: 20% 9% 1fr;
  column-gap: 0.5rem;
  align-items: center;
  padding: 0.6vh 1vw;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
}

/* Tijd */

.event-time-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 0.4vw;
}

.event-time {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.event-time-end {
  font-size: 1.4rem;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.2;
  margin-top: 0.2vh;
}

/* Pijl — ENIGE AANPASSING: 150% groter */
.event-arrow {
  font-size: 3.9rem;
  /* 150% tov 2.6rem */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Tekst */

.event-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
}

.event-name {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.15;
}

.event-performer {
  font-size: 1.7rem;
  font-weight: 500;
  color: #e5e7eb;
  line-height: 1.15;
}

.event-location {
  font-size: 1.4rem;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.15;
}

/* Empty / error */

.content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.empty-state {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 5vw;
}

.poem {
  font-size: 1.8rem;
  font-weight: 400;
  font-style: italic;
  color: #9ca3af;
  line-height: 1.6;
  white-space: pre-line;
  text-align: center;
}

.hidden {
  display: none;
}

/* Snowflake Effect */
.snowflake {
  position: fixed;
  top: -10px;
  color: white;
  pointer-events: none;
  z-index: 9999;
  user-select: none;
  font-size: 1rem;
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes fall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  100% {
    transform: translateY(110vh) translateX(20px) rotate(360deg);
  }
}