  
.html {background: url(img/Background.png);
  background-attachment: fixed;
 background-position: center center;
 background-repeat: no-repeat;
 background-size: cover;}
 

    

#Kontakt {font-size: 25px; font-family: arial; color: rgb(0, 0, 0);}
#Bilder {font-size: 25px; font-family: arial; color: rgb(0, 0, 0);}


/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #fff; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  border-right: 1px solid black; /* Fügt einen schwarzen Trennstrich hinzu */
}

/* The navigation menu links */


/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #b1a5a5;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.container {
  display: grid;
  place-items: center;
     max-width: 100%;
     padding: 20px;
 
   }


/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main{
  min-height: 100vh; /* Stellt sicher, dass das Element mindestens die gesamte Bildschirmhöhe einnimmt */
  height: auto; /* Erlaubt dem Element, sich dynamisch auszudehnen */
  margin-right: center;
  transition: margin-left .5s;
  padding: 20px;
}






.image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1em;
}

.image-container img {
  transition: transform 0.3s ease; /* Fließender Übergang */
}



.opening-hours {
  background-color: rgb(203, 231, 255);
  padding: 4em;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 20em;
  margin: 0 auto;

}
.opening-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
  grid-gap: 3em;

}

.opening-hours h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 25px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

.opening-hours .hours p {
  margin: 5px 0;
  padding-bottom: 20px;
  border-bottom: 1px dotted #636363;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

.opening-hours .hours p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.map-wrapper iframe {
  border-radius: 10px; 
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Zwei Spalten */
  gap: 50px; /* Abstand zwischen den Spalten */
  margin: 50px auto;
  max-width: auto;
}

.text-grid {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border: 2px solid #3498db; /* Blauer Rahmen */
}


.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #4caf50;
  color: #fff;
  cursor: pointer;
}

select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
}

        /* Responsive Popup Styles */
        #popup-overlay {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.5);
          display: none;
          justify-content: center;
          align-items: center;
          z-index: 1000;
          padding: 20px;
          box-sizing: border-box;
      }

      #popup-container {
          background-color: white;
          border-radius: 10px;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          max-width: 500px;
          width: 100%;
          position: relative;
          padding: 30px;
          box-sizing: border-box;
      }

      #popup-close {
          position: absolute;
          top: 10px;
          right: 10px;
          font-size: 36px;
          cursor: pointer;
          color: #333;
          line-height: 1;
      }


@media all and (max-width: 800px) {
    .container {
      max-width: fit-content;
      padding: 0 20px;  
      display: grid;
      place-items: center;   }

#span {font-size: 2em;cursor:pointer; position: fixed; margin-left: 1em; margin-top:  0.5em; cursor: pointer;}
.ueberschrift {font-size: 40px; font-family: arial; font-weight: bold; margin-top: 1em; color: rgb(0, 0, 0);
 text-align: center;}

 .subueberschrift {font-size: 25px; font-family: arial; font-weight: bold; margin-top: 1em; color: rgb(0, 0, 0);
  text-align: center;}

 .sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  margin-top: 20%;
  font-size: 14px;
  color: #000000;
  display: block;
  transition: 0.3s;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

#sidenavtextklein {padding: 8px 8px 8px 32px;
  text-decoration: none;
  margin-top: 5%;
  font-size: 10px;
  color: #000000;
  display: block;
  transition: 0.3s;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;}

.Text {font-size: 18px; font-family: arial; font-weight: bold; color: rgb(0, 0, 0);}



.rounded-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  background-color: white;
  color: black;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}
    .black-button {
  background-color:black;
  color: whitesmoke; }
a {font-size: 15px;}

.image-container {
  width: 90%;
  max-width: 400px; /* Maximale Breite des Bildes */
  height: auto; /* Automatische Anpassung der Höhe */
}
.opening-hours {
  max-width: 90%;
}

.opening-hours h3 {
  font-size: 25px;
}

.box-grid {
  grid-template-columns: 1fr; 
}
.box {
  padding: 20px; 
  background-color: rgb(203, 231, 255);  
  border-radius: 10px;
  margin: 10px;
  margin-bottom: 3em;
 max-width: 100%; 
 height: fit-content;
 border:  2px dotted black;
  /* Entferne float */
}
.opening-hours-grid {
  grid-template-columns: 1fr; 
}
.appointment {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
  background-color: rgb(255, 193, 193); 
  justify-content: center;
  text-align: center; 
}

#back{font-size: 2em;cursor:pointer; position: fixed; margin-left: 0.5em; margin-top:  2em;}

 .map-wrapper {
    grid-template-columns: 1fr; 
  }
  
  .directions {
    margin-top: 20px;
  }
  .grid-container {
    grid-template-columns: 1fr;
}

.images {
  height: 10em; width: 10em; margin-bottom: 3em; margin-top: 3em; place-items: center;
}


/*popup*/

#popup-container {
  width: 90%;
  padding: 20px;
}

#popup-close {
  font-size: 30px;
}

#popup-container h2 {
  font-size: 22px;
}

#popup-container p {
  font-size: 16px;
}
  

    }
/* Mobile-First Ansatz */


  
  /* Layout für größere Bildschirme */
  @media all and (min-width: 800px) {
  
    .container {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      place-items: center;
    font-weight: bold;
    }
    .rounded-button {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 20px;
      background-color: white;
      color: black;
      text-decoration: none;
      border: none;
      cursor: pointer;
      font-family: Arial, Helvetica, sans-serif;
    }
        .black-button {
      background-color:black;
      color: whitesmoke; }
  a {font-size: 15px;}




      #span {font-size:30px;cursor:pointer; position: fixed; margin-left: 9em; margin-top:  2em; cursor: pointer;}

      .ueberschrift {font-size: 40px; font-family: arial; font-weight: bold; color: rgb(0, 0, 0);
        text-align: center;}

        .subueberschrift {font-size: 25px; font-family: arial; font-weight: bold; color: rgb(0, 0, 0);}

        .sidenav a {
          padding: 8px 8px 8px 32px;
          text-decoration: none;
          font-size: 25px;
          margin-top: 20%;
          color: #000000;
          display: block;
          transition: 0.3s;
          font-family: Arial, Helvetica, sans-serif;
        }

        #sidenavtextklein {
          padding: 8px 8px 8px 32px;
          text-decoration: none;
          font-size: 18px;
          margin-top: 5%;
          color: #000000;
          display: block;
          transition: 0.3s;
          font-family: Arial, Helvetica, sans-serif;}
        
        

        .Text {font-size: 18px; font-family: arial; color: rgb(0, 0, 0);}


        .closebtn {
  cursor: pointer
}

.image-container {
  width: 100%;
  max-width: 100%; /* Breite des Containers an die Spaltengröße anpassen */
  height: auto;
}

.image-container:hover img {
  transform: scale(1.1); /* Vergrößerung um 10% */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Breite der Spalten */
  grid-gap: 40px; /* Abstand zwischen den Bildern */
}
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
  grid-gap: 3em;

}

/* Box Styling */  
.box {
  display: inline-grid;
  padding: 20px; 
  background-color: rgb(203, 231, 255);  
  border-radius: 10px;
  margin: 10px;
 max-width: 100%; 
 height: fit-content;
 border:  2px dotted black;
  /* Entferne float */
}

.opening-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
}

.appointment {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
  background-color: rgb(255, 193, 193); 
  justify-content: center;
  text-align: center; 
}
#back{font-size:30px;cursor:pointer; position: fixed; margin-left: 8.5em; margin-top:  0.5em;}

.map-wrapper {
  grid-template-columns: 2fr 1fr;
}
.grid-container {
  grid-template-columns: 1fr 1fr;
}

.images {
  height: 10em; width: 10em; place-items: center; margin-top: 5em; margin-bottom: 5em;
}

/*popup*/

#popup-container {
  width: 50%;
  padding: 30px;
}

#popup-close {
  font-size: 36px;
}

#popup-container h2 {
  font-size: 25px;
}

#popup-container p {
  font-size: 18px;
}
  
  }
