﻿body {
  margin: 0;
  min-height: 100vh;
  background: #000;
}

/* Make the video fill the screen */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.logo-stack {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  z-index: 2;
}

.logo-overlap {
  position: relative;
  width: 70vw;            /* Standard: auf kleinen Bildschirmen 70% der Breite */
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.logo-overlap > * {
  grid-area: 1 / 1;
}

/* Ab 700px Bildschirmbreite (z. B. Laptop) */
@media (min-width: 700px) {
  .logo-overlap {
    width: 50vw;          /* Nur noch 30% der Bildschirmbreite */
  }
}

.logo-stack_2 {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}


.logo-button {
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  width: 100%;
  height: 100%;
}

.logo-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logo-rotate 10s linear infinite;
}

.logo-inner img {
  animation-duration: 18s;
}

.logo-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.countdown {
  color: #ff14cc;
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  white-space: normal;
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0%; /* keeps it above the nav bar with a small gap */
  text-align: center;
  z-index: 3;
}
@media (min-width: 1024px) {
  .countdown {
     bottom: 8%;
   
  }
}

@keyframes logo-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.content {
  position: relative;
  color: white;
  text-align: left;
  top: 40%;
  font-family: sans-serif;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 5;
  text-align: left;
}

.overlay.is-visible {
  display: flex;
}

.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}

.overlay__panel {
  position: relative;
  color: #fff;
  padding: 24px 28px;
  width: 100vw;
  max-width: 100vw;
  min-width: 280px;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-width: none; /* hide scrollbar in Firefox */
  -ms-overflow-style: none; /* hide scrollbar in IE 10+ */
  margin: 0;
  z-index: 1;
  text-align: left;
}

.overlay__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@media (min-width: 900px) {
  .overlay__panel {
    width: 50vw;
    max-width: 50vw;
    min-width: 280px;
    min-height: auto;
    max-height: 90vh;
    margin: 12px 18px 24px;
  }
}

.overlay__panel h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-align: left;
  font-size: 7vw;
  color: #ff14cc;
}
@media (min-width: 900px) {
.overlay__panel h2{
  font-size: 3vw;
}
}

.overlay__panel p {
  margin: 0;
  line-height: 1.4;
  text-align: left;
  font-style: italic;
  font-size: 4vw;
}
@media (min-width: 900px) {
.overlay__panel p{
  font-size: 1.8vw;
}
}

.overlay__countdown {
  margin: 0 0 12px;
  font-family: "Courier New", monospace;
  letter-spacing: 0.08em;
  line-height: 1.4;
  font-size: 4vw;
  color: #ff14cc;
}

@media (min-width: 900px) {
  .overlay__countdown {
    font-size: 1.6vw;
  }
}

.overlay__panel a {
  color: #fff;
}



.nav-bar {
  background-color: #00000000;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-evenly;
  gap: 0;
  padding: 12px 18px;
  z-index: 3;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  z-index: 9999;
}

.nav-button {
  font-family: inherit;
  font-style: italic;
  font-size: 1rem;
  flex: 1 1 0;
  text-align: center;
  letter-spacing: 0.08em;
  background: #00000000;
  color: #fff;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-button {
    font-size: 1.5rem;
  }
}

.nav-button:hover,
.nav-button:focus-visible {
  background: transparent;
  color: #ff14cc;
  outline: none;
  font-family: "Times New Roman", Times, serif;
  font-style: normal;
}
