html {
    font-size: 1.1rem;
}

a {
    text-decoration-line: none;
}

.btn {
    margin-top: 0.3rem;
    padding: 0.3rem 3rem;
    font-weight: bold;
    font-size: 25px;
    border-radius: 5px !important;
    letter-spacing: 0.08rem !important;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

.mt-7 {
    margin-top: 0;
}

.mb-7 {
    margin-bottom: 0;
}

.pt-7 {
    padding-top: 10rem;
}

.pb-7 {
    padding-bottom: 10rem;
}

.scroll-to-top-btn {
    padding: 0.75rem 1rem;
}

@keyframes grow-progress {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.navbar {
    height: 70px;
}

.lang-switch {
    top: 0;
    right: 0;
    cursor: pointer;
}

/* Tooltip container */
.custom-tooltip {
    position: relative;

    .tooltip-left {
        bottom: auto;
        right: 0;
    }
}

/* Tooltip text */
.custom-tooltip .custom-tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 0.7rem;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;

}

/* Show the tooltip text when you mouse over the tooltip container */
.custom-tooltip:hover .custom-tooltiptext {
    visibility: visible;
}

.form-control {
    background-color: var(--white);
    border: 2px solid var(--light-gray) !important;
    color: var(--midnight-blue) !important;
}

.form-control::placeholder {
    color: var(--midnight-blue) !important;
}

.form-check-input {
    background-color: var(--white) !important;
    border: 2px solid var(--light-gray) !important;

    &:checked {
        background-color: var(--midnight-blue) !important;
        border: 2px solid var(--midnight-blue) !important;
        color: var(--white) !important;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.three-row-section-1 {
    a {
        overflow: hidden;
    }

    .btn-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        transition: 0.3s ease-out;

        .btn {
            margin: 1rem;
            width: 100%;
            padding: 2rem 1.5rem;
        }
    }
}

.image-cover-test {
    width: 300px !important;
}

/*.contact-section.header-bg-image .img {*/
/*    background-position: center !important;*/
/*    background-size: contain !important;*/
/*    height: 100%;*/
/*    padding-top: 0;*/
/*    position: absolute*/
/*}*/

.header-text-section {
    h2 {
        /*line-height: 3rem !important;*/
    }
}

.gallery .img-container {
    align-items: inherit !important;
    display: inline-block !important;
    height: inherit;
    width: 250px;
}

.gallery .img-container img {
    width: inherit !important;
}

.gallery.details .img-container {
    max-height: 80vh;
    max-width: 80vw;
    height: auto;
    width: inherit;
}

.gallery.details .img-container img, .gallery.details .detail-image {
    max-width: 80%;
    max-height: 80%;
    height: auto;
    width: auto;
}

.gallery.details .img-container:hover {
    transform: none;
}

/* Styling für dein benutzerdefiniertes Icon */
.my-custom-info-icon svg {
    /* Die SVG-Größe wird hier durch width/height Attribute im SVG selbst gesteuert,
       aber du kannst die Farbe anpassen oder zusätzliche Stile hinzufügen. */
    fill: #FFF; /* Standardfarbe für Icons in der Toolbar ist oft Weiß */
}

/* Optional: Wenn du ein Text-Icon oder eine Icon-Font verwendest */
/*
.my-custom-info-icon {
    font-size: 14px;
    line-height: var(--lg-toolbar-icon-line-height, 38px); // lightGallery CSS-Variable für Konsistenz
    color: #FFF; // Farbe für Text-Icon
}
*/

/* Sicherstellen, dass das Icon korrekt in der Toolbar angezeigt wird */
.lg-toolbar .lg-icon.my-custom-info-icon {
    /* Du kannst hier spezifische Abstände oder andere Overrides hinzufügen, falls nötig */
    /* Zum Beispiel, wenn das SVG nicht zentriert ist: */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
}

/* Wenn du Font Awesome oder eine ähnliche Bibliothek verwendest: */
/*
.my-custom-fa-icon::before {
    content: '\f129'; // Beispiel für Font Awesome 'info-circle'
    font-family: 'Font Awesome 5 Free'; // Oder die entsprechende Familie
    font-weight: 900; // Oder 400 für Regular, je nach Icon
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
*/

@media (min-width: 992px) {
    .three-row-section-1 {
        .btn-content {
            transform: translateX(-100%);
            transition: 0.3s ease-out;
        }

        & a:hover {
            .btn-content {
                background-color: rgba(255, 255, 255, 0.3);
                transform: translateX(0px);
                transition: 0.3s ease-out;
            }
        }
    }

    .mt-7 {
        margin-top: 10rem;
    }

    .mb-7 {
        margin-bottom: 10rem;
    }
}


@media screen and (max-width: 768px) {
    /* Override container padding to make images flush with edges */
    .container-sm {
        padding-left: 0;
        padding-right: 0;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .col, .col-md-10 {
        padding-left: 0;
        padding-right: 0;
    }

    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 40px 40px; /* 40px horizontaler Abstand nur zwischen den Bildern */
        margin: 0;
        padding: 0;
        justify-content: space-between;
    }

    /*.gallery .gallery-item {*/
    /*    flex: 0 0 calc(50% - 20px);   !* zwei pro Zeile, minus halber Gap *!*/
    /*    max-width: calc(50% - 20px);*/
    /*    box-sizing: border-box;*/
    /*    margin: 0;*/
    /*    padding: 0;*/
    /*}*/

    .gallery .img-container img {
        width: 100%;
        display: block;
        max-width: 100%;
        height: auto;
    }
}
