html,
body {
  margin: 0;
  padding: 0;
}

header {
  position: relative;
  /* wichtig, damit absolute Position funktioniert */
}

main {
  text-align: center;
}

/* =========================
   BODY + SEITENLAYOUT
========================= */
.video-page {
  margin: 0;
  background-color: black;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* =========================
   HEADER + TITEL + BUTTON
========================= */
.header-wrapper {
  z-index: 2;
  position: relative;
  /* damit z-index wirkt */
  text-align: center;
  margin-bottom: 20px;
  /* Abstand zum Video */
}

h1 {
  color: rgb(59, 176, 100);
  font-size: clamp(3rem, 3vw, 4rem);
  font-weight: lighter;
  margin-top: 20px;
  position: relative;
  z-index: 5;
}

.logo-urbangrafix {
  position: absolute;
  top: 20px;
  right: 60px;
  z-index: 10;
}

.logo-urbangrafix img {
  width: clamp(90px, 18vw, 380px);
  /* klein – mittel – groß */
  height: auto;
}

/* Burger-Menu */
.menu-checkbox {
  display: none;
}

/* Toggle (3 Striche / X) */
.menu-toggle {
  position: absolute;
  top: 25px;
  left: 20px;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
}

/* Striche */
.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 2px;
}

/* Striche normal */
.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* X Animation */
/* X beim Öffnen */
.menu-checkbox:checked+.menu-toggle span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.menu-checkbox:checked+.menu-toggle span:nth-child(2) {
  opacity: 0;
}

/* Menü selbst */
.burger-menu {
  position: absolute;
  top: 60px;
  left: 0;
  /* gleiche X-Position */
  width: 185px;
  background: rgba(18, 19, 19, 0.5);
  display: flex;
  flex-direction: column;
  padding: 0px 0;
  border-radius: 0 0 5px 5px;
  z-index: 1050;

  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Links */
.burger-menu a {
  margin-left: 20px;
  padding: 10px;
  margin-bottom: 2px;
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
}

/* Aufklappen */
.menu-checkbox:checked~.burger-menu {
  max-height: 550px;
}

/* FOOTER */
footer {
  padding: 10px 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-button {
  margin-top: 60px;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 10px;

  flex: 1;
  min-width: 110px;
  max-width: 100px;
  background: #3bb064;
  color: white;
  border: 2px solid rgb(3, 92, 17);
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-buttons {
  padding-bottom: 50px;
  display: flex;
  gap: 20px;
  width: min(300px, 90%);
  margin: 0 auto;
  justify-content: center;
}

.footer-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.footer-button:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

/* =========================
   VIDEO WRAPPER + HINTERGRUND
========================= */
.video-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 85%;
  max-width: 1600px;
  max-height: 90vh;
  margin: 0 auto;

  background-image: url("../bilder/compass.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  margin-top: -120px;
  z-index: 1;
}

.video-fullscreen {
  margin-top: 30px;
  min-width: 110px;
  max-width: 100px;
  background: rgb(59, 176, 100);
  color: white;
  border: 2px solid rgb(3, 92, 17);
  padding: 10px 10px;
  border-radius: 5px;
  z-index: 1050;
}

.video-fullscreen:hover {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}


/* =========================
   VIDEO STYLING
========================= */
#shortcutVideo {
  margin-top: 40px;
  width: 100%;
  height: auto;
  display: block;

  opacity: 0.5;
  transition: opacity 0.5s ease;
}


/* Große Bildschirme über 2000px */
@media (min-width: 1200px) {

  header,
  main,
  footer {
    max-width: 1400px;
    margin: 0 auto;
  }
}

@media (min-width: 1600px) {

  header,
  main,
  footer {
    max-width: 2000px;
  }
}


/* Responsive für Tablets und Smartphones */
@media (max-width: 900px) {
  h1 {
    font-size: clamp(2rem, 2vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.0rem, 4vw, 2rem);
  }

  main {
    padding: 20px;
  }

}

/* Burger Menü */
@media (max-width: 600px) {
  .menu-toggle {
    width: 25px;
    height: 20px;
  }

  .menu-toggle span {
    height: 2px;
  }

  .burger-menu {
    width: 90px;
  }

  .burger-menu a {
    font-size: 0.7rem;
    padding: 0px;
  }

  h1 {
    margin-top: -60px;
    margin-bottom: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-buttons {
    display: none;
  }

  h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }


  .logo-urbangrafix {
    top: 10px;
    right: 10px;
    width: clamp(80px, 30%, 150px);
  }

  .footer-button,
  .video-fullscreen {
    padding: 8px 10px;
    font-size: 12px;
  }

  .footer-button,
  .video-fullscreen {
    margin-top: 40px;
    min-width: 80px;
    max-width: 100px;
  }

  .footer-buttons,
  .video-fullscreen {
    min-width: 0px;
    gap: 8px;
  }
}