body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("images/achtergrondKasteel.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #cccccc;
}

.container {
    position: relative;
    width: 100%;
    height: 50vh;
}

.image {
    position: absolute;
    top: 50%;
    width: 10vw; /* Use viewport width for responsive sizing */
    transform: translateY(-50%);
}

#image1 {
    right: -10vw; /* Start position off-screen */
}

#image2 {
    left: -10vw; /* Start position off-screen */
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #800000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px; /* Maximum width for larger screens */
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
    }

    .image {
        width: 15vw;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }

    .image {
        width: 20vw;
    }
}

