.content-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
}

.image-container {
    width: 100%;
}

.image-container img {
    width: inherit;
    transform: translateX(0%);
}

#omgeving-main {
    margin-top: 1.5%;
}

.omgeving-title {
    font-size: 37px;
    font-weight: 600;
    color: #000;
    font-family: 'Montaser', sans-serif;
    padding-left: 2vw;
}

.omgeving-subtitle {
    font-size: 25px;
    margin-bottom: 5px;
    color: #012f3f;
    font-family: 'raleway', sans-serif;
    font-style: italic;
    padding-left: 2vw;
}

.omgeving-text {
    padding-left: 2vw;
    padding-right: 2vw;
    font-size: 20px;
    font-family: 'inter', sans-serif;
    margin-bottom: 0;
}



/* Main gallery layout */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    width: 96%;
    margin: auto;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 2vw;
    padding-right: 2vw;
}

.large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.image-grid img,
.view-more {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    position: relative;
}

.view-more {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url('/static/home/photos/omgeving/7.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: 'inter', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.view-more:hover,
.image-grid img:hover,
.large-image img:hover {
    filter: brightness(50%);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 80%;
    height: 80%;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



.omgeving-activiteiten-checkmark-list {
    list-style: none;
    padding-left: 1vw;
}

.omgeving-activiteiten-checkmark-list li {
    position: relative;
    /* Allow absolute positioning inside */
    padding-left: 2vw !important;
    /* Space for the checkmark */
    font-size: 20px;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    align-items: flex-start;
    /* Align items to the left */
    margin-bottom: 30px;
}

.omgeving-activiteiten-bold {
    font-weight: bold;
}

.activiteiten-icon {
    position: absolute;
    /* Position the image in front of the first div */
    left: 1vw;
    width: 3%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 1vw;
}

.omgeving-activiteiten-checkmark-list li div {
    margin-left: 4vw;
    /* Ensure text doesn't overlap with the image */
    margin-right: 2vw;
}

.omgeving-line {
    position: relative;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-top: 28px;
    margin-bottom: 28px;
    width: 96%;
    border-top: 1px solid #333;
    opacity: 0.1;
}


@media (max-width: 1920px) {
    .content-wrapper {
        margin: 0 auto;
    }

    .image-container {
        width: 100%;
    }

    .image-container img {
        width: inherit;
        transform: translateX(0%);
    }

    #omgeving-main {
        margin-top: 1.5vw;
    }

    .omgeving-title {
        font-size: 1.875vw;
        font-weight: 600;
        color: #000;
        font-family: 'Montaser', sans-serif;
        padding-left: 2vw;
    }

    .omgeving-subtitle {
        font-size: 1.25vw;
        margin-bottom: 5px;
        color: #012f3f;
        font-family: 'raleway', sans-serif;
        font-style: italic;
        padding-left: 2vw;
    }

    .omgeving-text {
        padding-left: 2vw;
        padding-right: 2vw;
        font-size: 1.04vw;
        font-family: 'inter', sans-serif;
        margin-bottom: 0;
    }



    /* Main gallery layout */
    .image-gallery {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 20px;
        width: 96%;
        margin: auto;
        padding-top: 1vw;
        padding-bottom: 1vw;
        padding-left: 2vw;
        padding-right: 2vw;
    }

    .large-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
    }

    .image-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .image-grid img,
    .view-more {
        width: 100%;
        height: auto;
        object-fit: cover;
        cursor: pointer;
        position: relative;
    }

    .view-more {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url('/static/home/photos/omgeving/7.jpg');
        background-size: cover;
        background-position: center;
        color: #fff;
        font-family: 'inter', sans-serif;
        font-size: 24px;
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        cursor: pointer;
    }

    .view-more:hover,
    .image-grid img:hover,
    .large-image img:hover {
        filter: brightness(50%);
    }

    /* Modal styling */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .modal-content {
        position: relative;
        margin: auto;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        width: 80%;
        height: 80%;
    }

    .modal-content img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .close {
        position: absolute;
        top: 20px;
        right: 40px;
        color: #fff;
        font-size: 40px;
        cursor: pointer;
    }

    .prev,
    .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        margin-top: -22px;
        padding: 16px;
        color: #fff;
        font-weight: bold;
        font-size: 24px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .prev {
        left: 0;
    }

    .next {
        right: 0;
    }

    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }


    .omgeving-activiteiten-checkmark-list {
        list-style: none;
        padding-left: 1vw;
    }

    .omgeving-activiteiten-checkmark-list li {
        position: relative;
        /* Allow absolute positioning inside */
        padding-left: 2vw !important;
        /* Space for the checkmark */
        font-size: 1.04vw;
        display: flex;
        flex-direction: column;
        /* Stack content vertically */
        align-items: flex-start;
        /* Align items to the left */
    }

    .omgeving-activiteiten-bold {
        font-weight: bold;
    }

    .activiteiten-icon {
        position: absolute;
        /* Position the image in front of the first div */
        left: 1vw;
        width: 3vw;
        height: 3vw;
        border-radius: 50%;
        object-fit: cover;
        margin-left: 1vw;
    }

    .omgeving-activiteiten-checkmark-list li div {
        margin-left: 4vw;
        /* Ensure text doesn't overlap with the image */
        margin-right: 2vw;
    }

    .omgeving-line {
        position: relative;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-top: 1.5vw;
        margin-bottom: 1.5vw;
        width: 96vw;
        border-top: 1px solid #333;
        opacity: 0.1;
    }

}

@media (max-width: 768px) {

    .image-container {
        width: 100%;
        overflow: hidden;
    }

    .image-container img {
        height: 300px;
        width: auto;
        transform: translateX(-30%);
    }

    .omgeving-title {
        font-size: 2rem;
        padding-left: 10px;
    }

    .omgeving-subtitle {
        font-size: 1.2rem;
        margin-bottom: 5px;
        padding-left: 10px;
    }

    .omgeving-text {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 1rem;
        margin-bottom: 0;
    }

    .image-gallery {
        grid-template-columns: none;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .omgeving-activiteiten-checkmark-list {
        padding-left: 10px;
    }

    .omgeving-activiteiten-checkmark-list li {
        padding-left: 20px !important;
        /* Space for the checkmark */
        font-size: 1rem;
    }

    .activiteiten-icon {
        left: 0;
        width: 50px;
        height: auto;
        margin-left: 0;
    }

    .omgeving-activiteiten-checkmark-list li div {
        margin-left: 40px;
        margin-right: 20px;
    }

}

@media (max-width: 500px) {

    .prev,
    .next {
        border: none;
        background-color: rgba(0, 0, 0, 0);
    }

    .prev {
        left: -13%;
    }

    .next {
        right: -13%;
    }

    .prev:hover,
    .next:hover {
        color: white;
        background-color: initial;
    }

}