body {
    background-color: #f3f5f6 !important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
  
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
  
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
  
scrollbar {
    width: 6px;
    height: 6px;
}
  
scrollbartrack {
    background: #f1f1f1;
    border-radius: 10px;
}
  
scrollbarthumb {
    background: #888;
    border-radius: 10px;
}
  
scrollbarthumb:hover {
    background: #555;
}

#weather-ticker {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #737373 !important;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    z-index: 1030;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar.fixed-top {
    top: 30px;
}

.navbar {
    height: 8vh;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    background-color: #f8f8f8;
    position: fixed;
    width: 100%;
    z-index: 1040;
}

.navbar-nav {
    display: flex;
    margin-right: 1% !important;
}

.navbar-toggler {
    border: none !important;
}

.navbar-brand, .offcanvas-title {
    font-weight: 500;
    color: #0079d5 !important;
}

.navbar-toggler:focus, .btn-close:focus {
    box-shadow: none !important;
    outline: none !important;
}

.nav-link {
    color: #666777;
    font-weight: 500;
    position: relative;
}

.login-btn {
    text-decoration: none;
    color: #0082e6;
}

.nav-link:hover, .nav-link.active {
    color: #000;
}

img {
    user-select: none;
}

.logo {
    display: flex;
    margin: 30% auto 0 auto;
    text-align: center;
    position: absolute;
    margin-left: 28%;
    margin-top: 26%;
}
  
@media (min-width: 991px) {
    .logo {
      position: absolute;
      margin-top: 10%;
      margin-left: auto;
      margin-right: auto;
      width: 20%;
      margin-left: 41%;
    }

}

@media (min-width: 991px) {
    .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: rgb(0, 145, 255);
        visibility: hidden;
        transition: 0.3s ease-in-out;
    }

    .nav-link:hover:before, .nav-link.active:before {
        width: 100%;
        visibility: visible;
    }
}

.google-maps-div-div {
    width: 100%;
}

.startimg {
    width: 100%;
    height: 90vh;
    object-fit: cover;
}

.login-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.login-container {
    display: flex;
    text-align: center;
    margin-left: 38%;
    margin-top: 15%;
    position: absolute;
    size: 50%;
    background-color: #fff;
    padding: 5%;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.login-btn-fin {
    text-decoration: none;
    background-color: #0082e6;
    color: #fff;
    padding: 6px;
}

.login-btn-fin:hover {
    background-color: #0077d1;
}

@media (max-width: 768px) {
    .login-body {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .login-container {
        padding: 5%;
        margin-right: 37%;
        margin-top: 7%;
    }
}

.text-img {
    display: flex;
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
    margin-top: 30%;
    position: absolute;
    font-size: 23px;
}

.ueberuns {
    color: #fff;
}

@media (max-width: 768px) {
    .text-img {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 0;
        margin-left: 3%;
        margin-right: 2%;
        margin-top: 30%;
        height: 100vh;
        flex-direction: column;
    }
}

.ueberuns-h2, .gewaesserverzeichnis, .termine, .h2, .standort-maps-h2 {
    margin-top: 6%;
    display: flex;
    justify-content: center;
    text-decoration: underline;
}

.ueberuns-text {
    display: flex;
    justify-content: center;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 3%;
}

.termine-karte {
    display: flex;
    margin-left: 27%;
    margin-top: 4%;
}

@media (max-width: 768px) {
    .termine-karte {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 90%;
        height: 40vh;
        margin-top: 10%;
    }
}

.impressum {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.veranstaltungen {
    display: flex;
    width: auto;
    height: 80vh;
    margin-top: 5%;
    margin-left: 34%;
    border: #000 solid 2px;
}

.veranstaltungen:hover {
    cursor: pointer;
}

@media (max-width: 768px) {
    .veranstaltungen {
        display: flex;
        width: 80%;
        height: 70vh;
        margin-top: 12% !important;
        margin-left: 9.5% !important;
        border: #000 solid 2px;
    }
}

.lehrgaenge-text {
    display: flex;
    margin-left: 50% !important;
    font-size: 20px;
}

.google-maps-div {
    padding: 16px;
    width: 41.3%;
    margin-left: 29%;
}

iframe {
    width: 600px !important;
    height: 500px !important;
}

@media (max-width: 768px) {
    iframe {
        width: 350px !important;
        height: 350px !important;
        margin-left: -92% !important;
    }
}

#download-btn {
    text-decoration: none !important;
    background-color: #238fe2;
    color: white;
    padding: 5px 10px;
    margin-left: 70%;
    margin-top: 100px !important;
}

#download-btn:hover {
    background-color: #64a9dd;
}

#download-btn-div {
    height: 10vh;
}

.center-screen {
    width: 100%;
}

.video {
    margin-left: 30.5% !important;
    margin-top: 2%;
    width: 600px; 
    height: 400px;
}

@media (max-width: 991px) {
    .video {
        margin-left: 8% !important;
        margin-top: 2%;
        width: 320px; 
        height: 240px;
    }
}

#accordionFlushExample {
    width: 50% !important;
    margin-left: 25%;
}

@media (max-width: 768px) {
    #accordionFlushExample {
        width: 100% !important;
        margin-left: 0%;
    }
}

.accordion-flush .accordion-button,
.accordion-flush .accordion-button:focus,
.accordion-button:not(.collapsed) {
    box-shadow: none !important;
    outline: none;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-custom-transparent {
  background-color: transparent !important;
  border: none !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* flexibel, mind. 300px */
    gap: 16px; /* Abstand zwischen Bildern */
  }

  .gallery-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .gallery-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Optional: 1 Spalte auf kleinen Geräten */
  @media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  }

.lav-a:hover img {
    opacity: 0.6 !important;
}