@import "_reset.css";

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  gap: 0px;
}

.image-box {
  position: relative;
  flex: 1;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/*--------Hover----------*/
.image-box:hover {
  transform: scale(1.05);
  cursor: pointer;
  
}



/* Responsive für Handy */
@media (max-width: 600px) {
  .container {
    flex-direction: column;
  }
}


/*-------------------Menü----------------------*/
/* --- Menü über den Bildern --- */
.menu-wrapper {
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2000;
}

/* --- Hauptbutton --- */
#mainButton {
  font-family: Impact, sans-serif;
  font-size: 30pt;
  color: black;
  background: rgba(255, 255, 255, 0.6); /* 60% Deckkraft */
  padding: 10px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#mainButton:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 15px rgba(0,0,0,0.4);
}

/* --- Dropdown-Menü --- */
.dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  border-radius: 30px;
  position: absolute;
  top: 100%;
  width: 100%; /* gleiche Breite wie Button */
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.dropdown-menu.open {
  display: flex;
  transform: scaleY(1);
}

/* --- Menülinks --- */
.dropdown-menu a {
  font-family: Impact, sans-serif;
  font-size: 16pt; /* etwas kleiner */
  color: black;
  text-decoration: none;
  padding: 8px 0;
  width: 100%;
  text-align: center;
  transition: background 0.2s ease;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ====================================================== */
/* 📱 RESPONSIVE STYLING – für Handy / Tablet             */
/* ====================================================== */
@media (max-width: 600px) {
  .menu-wrapper {
    position: absolute;
    top: 50%; /* etwas weiter unten als 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%; /* volle Breite, damit Button zentriert skalieren kann */
    display: flex;
    justify-content: center;
  }

  #mainButton {
    font-size: 20pt;          /* leicht kleiner, aber gut lesbar */
    padding: 10px 40px;       /* mehr Breite durch größeres Padding */
    min-width: 320px;         /* Mindestbreite für deinen ganzen Namen */
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50px;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.25);
    white-space: nowrap;      /* verhindert, dass dein Name umbricht */
  }

  .dropdown-menu {
    width: auto;
    min-width: 250px;
    border-radius: 20px;
    margin-top: 10px; /* kleiner Abstand unter dem Button */
  }

  .dropdown-menu a {
    font-size: 14pt;
    padding: 6px 0;
  }
}
@media (max-width: 450px) {
  .menu-wrapper {
    position: absolute;
    top: 55%; /* etwas weiter unten als 50% */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%; /* volle Breite, damit Button zentriert skalieren kann */
    display: flex;
    justify-content: center;
  }
}