body {
    background: url("../../images/backgrounds/welkom.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Zorgt ervoor dat de achtergrond vast blijft */
    transition: background-image 0.5s ease-in-out;
}

section.chapter {
    padding-bottom: 50px;
}


@media (min-width: 768px) {
    section.chapter:last-of-type {
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    section.chapter .p-5 {
        padding: 1.5rem !important;
    }
}

section.chapter:last-of-type {
    padding-bottom: 0;
}

section.chapter {
    .opacity-container{
        /*background-color:rgba(203, 190, 173, 0.9);*/
        background-color:rgba(210, 195, 160, 0.9);
    }
}

.welcome-container {
    height: calc(100vh - 140px);
    padding: 20px;
    .image-container {
        position: relative;
        text-align: center;
        overflow: hidden; /* Zorgt ervoor dat de hover-effecten niet uit de container gaan */
        border-radius: 10px;
        border: 4px solid #CBBEAD;
        /*border: 4px solid #657862;*/
        aspect-ratio: 16 / 9; /* of 4/3, 1/1, wat je wilt */
        object-fit: cover;    /* zorgt dat de afbeelding het vak mooi vult */
        /*box-shadow: 2px 2px 10px rgba(203, 190, 173, 0.9);*/
        box-shadow: 2px 2px 10px rgba(210, 195, 160, 0.9);
        &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgb(101,120,98,0.4); /* Lichte overlay */
            z-index: 1; /* Zet de overlay boven de afbeelding */
            pointer-events: none; /* Zorgt ervoor dat hover-effecten op img werken */
        }
    }

    .image-container img {
        width: 100%;
        height: auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        transform: scale(1.2);
    }

    /* Schaduw toevoegen op hover */
    .image-container:hover img {
        transform: scale(1.3);
    }

    .title-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 1.5rem;
        z-index: 3;
        transition: background 0.3s ease; /* Vloeiende overgang voor achtergrondkleur */
    }

    @media (max-width: 768px) {
        .image-container {
        }

        .image-container img {
            transform: scale(1.4);
        }

        /* Schaduw toevoegen op hover */
        .image-container:hover img {
            transform: scale(1.5);
        }

        .title-overlay {
            font-size: 1rem;
        }
    }

    /* Hover-effect op de titel (lichte verandering van de achtergrondkleur) */
    .image-container:hover .title-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

.footer-basic {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px 0;
    background-color: #657862;
    color: #fff
}

.footer-basic ul {
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0
}

.footer-basic li {
    padding: 0 10px
}

.footer-basic ul a {
    color: inherit;
    text-decoration: none;
    opacity: .8
}

.footer-basic ul a:hover {
    opacity: 1
}

.footer-basic .copyright {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #ddd;
    margin-bottom: 0
}

.header-margin {
    margin-top: 55px
}

.banner, .banner2, .banner3 {
    position: relative;
    overflow: auto;
}

.banner ul, .banner2 ul, .banner3 ul {
    margin: 0;
    padding: 0;
}

.banner li, .banner2 li, .banner3 li {
    list-style: none;
}

.banner ul li, .banner2 ul li, .banner3 ul li {
    float: left;
    margin: 0;
    padding: 0;
}

section {
    min-height: 500px;
}

.bg-dark {
    background-color: #657862 !important;
}

.fitsaloonLogo {
    height: 65px;
    float: left;
    margin-right: 15px;
}

.navbar-custom {
    padding: 0;
}

.navbar-custom .navbar-brand {
    font-size: 2.2rem;
}

@media (max-width: 768px) {
    .navbar-custom .navbar-brand {
        font-size: 1.5rem;
        line-height: 50px;
    }

    .fitsaloonLogo {
        margin-right: 5px;
    }
}

.margin-right-20 {
    margin-right: 20px;
}

.padding-bottom-30 {
    padding-bottom: 30px;
}

.padding-top-30 {
    padding-top: 30px;
}