
:root {
    --hauptfarbe: #2a5d34;
    --hellgruen: #f0f9f0;
    --beige: #f9e7c4;
    --grau: #f1f1f1;
    --schrift: #333;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    padding: 0;
    background: white;
    color: var(--schrift);
    line-height: 1.6;
  }
  
  .kantine-header {
    background: var(--beige);
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .kantine-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--hauptfarbe);
  }
  
  .kantine-button {
    display: inline-block;
    background: var(--hauptfarbe);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
  }
  
  .kantine-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .kantine-section {
    margin-bottom: 3rem;
  }
  
  .kantine-section h2 {
    color: var(--hauptfarbe);
    margin-bottom: 1rem;
  }
  /* Aktivere das wieder, wenn du die Slideshow für TEXT haben will
    in diesem Fall alle Namen .kantine-slideshow, .kantine-slide und
    .kantine-slideshow.active leicht ändern, auch in der html, damit es sich
    beißt!!!
     
    ändern , damit das mit 

  .kantine-slideshow {
    background: var(--hellgruen);
    padding: 1rem;
    border-radius: 5px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .kantine-slide {
    display: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
  }
  
  .kantine-slide.active {
    display: block;
    animation: fade 1s ease-in-out;
  }
  */

  /*Slideshow für Bilder*/
  .kantine-slideshow {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /*margin: 0 auto;*/
    overflow: hidden;
    aspect-ratio: 4/3;;
    background-color: #d6f5d6;
  }
  
  .kantine-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    pointer-events: none;
  }
  
  .kantine-slide.active {
    opacity: 1;
    z-index: 1;

  }

  @keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .kantine-form input,
  .kantine-form textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  .kantine-form label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .kantine-footer {
    background: var(--grau);
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }
  
  .kantine-footer a {
    color: var(--hauptfarbe);
    text-decoration: none;
  }
  
  /* Popup */
  .kantine-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  
  .kantine-popup {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }
  
  .kantine-popup p {
    margin: 0;
    font-size: 1rem;
    color: var(--hauptfarbe);
    text-align: center;
  }
  
  .kantine-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
  }
  
  .hidden {
    display: none !important;
  }

  .kantine-zurueck-wrapper{
    text-align: center;
    margin: 2rem 0;
  }

  #dialog-loslegends{

    width: 40%;
  }


#dialog-loslegends{
background-color: #a39785;
box-shadow: inset 0px 0px 10px black, 2px 2px 4px 0px 0px 21px 3px rgb(255, 255, 255, 0.5);
border: 5px solid silver

}

#dialog-loslegends input{
width: 100%;
margin: 7px 0px;
border-radius: 6px;
box-sizing: border-box;
font-family: chalkboard se;
vertical-align: middle;
}

#dialog-loslegends input[type=submit]{
padding: 0px 16px;
background-color: green;
border: none;
font-size: 21px;
color: white;
line-height: 36px;
font-weight: bold;
cursor: pointer;
background-image: linear-gradient(#d3cdc5 #3a342c);
text-decoration: none;
text-decoration: 0px 0px 5px black;
box-shadow: inset 0px 0px 10px black;
border-radius: 10%/50%;
width: 24%;
display: inline-block;

}

#dialog-loslegends input[type=submit]:hover{
box-shadow: inset 0px 0px 10px black;
}

#dialog-loslegends p{
font-size: 16px;
  text-align: justify;
  hyphens: auto; /* Für Silbentrennung/ Worttrennung*/
  text-align-last: left; /*Fuer Linkseinordnung des letzten Satzes vom Blocksatz */
  -moz-text-align-last: justify; /*Ebenda - extra für mozilla firefox*/
  display: flex;
}
.dialog-schliessen-buttonds{

position: absolute;
top: 10px;
right: 10px;
font-size: 32px;
line-height: 32px;
color: rgba(0, 0, 0, 0.4);
text-decoration: none;

}

.dialog-schliessen-buttonds {
position: absolute;
top: 10px;
right: 10px;
font-size: 30px;
color: #aaa;
cursor: pointer;
transition: color 0.3s ease;
}

.dialog-schliessen-buttonds:hover {
color: #f44336; /* Rote Farbe bei Hover */
}

.fas{
color: #000;

}

.fas:hover{
color: grey;

}

/*hier nur der style für datenschutz*/
/* Titel des Popups */
/* Überschrift h1 - Haupttitel */
.dialogds h1 {
font-size: 32px;  /* Größerer Text für den Haupttitel */
font-weight: bold;
color: #1a1a1a; /* Sehr dunkles Grau für ein seriöses Aussehen */
margin-top: 20px;
margin-bottom: 15px;
line-height: 1.2;
}

/* Überschrift h2 */
.dialogds h2 {
font-size: 26px; /* Größere Überschrift */
font-weight: bold;
color: #1a1a1a; /* Sehr dunkles Grau */
margin-top: 20px;
margin-bottom: 15px;
}

/* Überschrift h3 */
.dialogds h3 {
font-size: 22px;
font-weight: normal;
color: #333333; /* Dunkles Grau für einen subtile Look */
margin-top: 20px;
margin-bottom: 10px;
}

/* Untertitel (h4) */
.dialogds h4 {
font-size: 18px;
color: #333333; /* Professionelles Grau */
margin-bottom: 10px;
}

/* Textabschnitt im Popup */
.dialogds p {
font-size: 16px;
color: #555; /* Etwas helleres Grau für den Text */
line-height: 1.6;
margin-bottom: 20px;
}

/* Der Schließen-Button des Popups */
.dialog-schliessen-buttonds {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
color: #aaa;
text-decoration: none;
background: transparent;
border: none;
cursor: pointer;
}

.dialog-schliessen-buttonds:hover {
color: #333; /* Ändert die Farbe beim Hover */
}

/* Schließen-Button - Das "X" Symbol */
.dialog-schliessen-buttonds i {
font-size: 24px;
}

/* Optional: Ein Button, um das Popup zu akzeptieren oder abzulehnen */
.dialogds .accept-button,
.dialogds .decline-button {
padding: 12px 24px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
margin-top: 15px;
margin-right: 10px;
}

.dialogds .accept-button {
background-color: #28a745; /* Grün für Akzeptieren */
color: white;
}

.dialogds .decline-button {
background-color: #dc3545; /* Rot für Ablehnen */
color: white;
}

/* Hover-Effekt für Buttons */
.dialogds .accept-button:hover {
background-color: #218838;
}

.dialogds .decline-button:hover {
background-color: #c82333;
}
/* Abstand nach oben für alle Überschriften */
h1, h2, h3, h4, h5, h6 {
margin-top: 20px; /* Abstand oben */
}

/* Abstand nach oben für Absätze (p) und Text innerhalb des Popups */
.dialogds p {
margin-top: 15px; /* Abstand zum vorherigen Element */
}

.datenschutzfooter{
text-decoration: none;
color: #000;
}

  
  /* Responsive */
  @media (max-width: 600px) {
    .kantine-header h1 {
      font-size: 1.5rem;
    }
  
    .kantine-main {
      padding: 1rem;
    }
  
    .kantine-button {
      width: 100%;
      text-align: center;
    }

    .kantine-zurueck-wrapper{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: .5rem;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .kantine-zurueck-button{
        width: 90%;
        font-size: 1rem;
    } 
  }