@font-face {
  font-family: lato;
  src: url(Lato-Regular.ttf);
}

@font-face {
  font-family: poppins;
  src: url(Poppins-Medium.ttf);
}

.headernav {
  height: 100px;
  width: 50%;
  top: 100px;
  position: absolute;
  z-index: 1;
  background-color: white;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  border-radius: 10px;
  opacity: 85%;
}

.home,
.blog,
.galerie {
  text-decoration: none;
  font-size: 25px;
  color: black;
  font-family: poppins, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  position: absolute;
  z-index: 2;
  top: 100px;
  transform: translateX(-50%) translateY(-50%);
}

.home {
  left: 35%;
}

.blog {
  left: 50%;
}

.galerie {
  left: 65%;
}

.hintergrundbild {
  width: 100%;
  opacity: 60%;
  z-index: 1;
  position: fixed;
  top: -100px;
}

.quadrat {
  position: absolute;
  width: 80%;
  height: 980px;
  background-color: white;
  transform: translateX(-50%) translateY(-50%);
  left: 50%;
  z-index: 2;
  top: 690px;
  border-radius: 10px;
  opacity: 85%;
  padding-bottom: 0px;
}

.wobinich {
  font-family: poppins, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-size: 30px;
  color: black;
  z-index: 4;
  transform: translateX(-50%) translateY(-50%);
  left: 70%;
  top: 260px;
  position: absolute;
}

.standort {
  position: absolute;
  z-index: 3;
  width: 500px;
  transform: translateX(50%) translateY(-50%);
  right: 30%;
  top: 670px;
  border-radius: 10px;
}

.hey {
  position: absolute;
  z-index: 4;
  left: 20%;
  top: 260px;
  font-size: 30px;
  font-family: poppins, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  color: black;
  transform: translateY(-50%);
}

.text {
  position: absolute;
  z-index: 4;
  left: 20%;
  top: 320px;
  font-size: 20px;
  font-family: lato, Tahoma, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  color: black;
  width: 550px;
  line-height: 30px;
}

.abstandunten {
  width: 10px;
  height: 50px;
  margin-top: 1170px;
  position: absolute;
}

.route {
  font-family: lat, Tahoma, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-size: 15px;
  z-index: 4;
  position: absolute;
  max-width: 400px;
  right: 30%;
  transform: translateX(50%);
  top: 1000px;
  line-height: 25px;
  text-align: center;
}

.mobilewarnung {
  display: none;
}

.popup-content {
  display: none;
}


/* Dropdown-Menü verstecken und Toggle-Button formatieren */
.dropdown {
  display: none;
}

.dropdown-toggle {
  display: none;
  background-color: white;
  font-size: 20px;
  color: black;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-family: poppins, "Helvetica Neue", Helvetica, Arial, "sans-serif";
}

/* Dropdown-Inhalt */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  width: 100%;
  left: 0;
  z-index: 2;
}

.dropdown-content a {
  text-decoration: none;
  color: black;
  padding: 10px 20px;
  display: block;
  font-family: poppins, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-size: 18px;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Anpassungen für mobile Geräte */
@media only screen and (max-width: 768px) {
  .home, .blog, .galerie {
    display: none;
  }

   /* Dropdown-Menü einblenden */
   .dropdown {
    display: block;
    text-align: center;
  }

  .dropdown-toggle {
    display: inline-block;
  }

  .dropdown-toggle.active + .dropdown-content {
    display: block;
  }


  .headernav {
  display: none;
  }

  .hintergrundbild {
    display: none;
  }

  .quadrat {
    display: none;
  }

  .hey {
    font-size: 24px;
    left: 10%;
    top: 120px;
  }

  .text {
    left: 10%;
    font-size: 16px;
    top: 170px;
    width: 80%;
  }

  .wobinich {
    font-size: 20px;
    top: 1180px;
    left: 50%;
  }

  .standort {
    width: 300px;
    top: 1230px;
    left: 50%;
    transform: translateX(-50%);
  }

  .route {
    font-family: lat, Tahoma, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    font-size: 15px;
    z-index: 4;
    position: absolute;
    max-width:80%;
    top: 1630px;
    line-height: 25px;
    right: 50%;




  }

  .mobilewarnung {
    display: inline;
    z-index: 4;
    font-family: lato, Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: red;
    left: 10px;
  }

  .popup {
    z-index: 9;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparent */
    justify-content: center;
    align-items: center;
}

.popup-content {
  display: inline;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    z-index: 9;
    max-width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
}
