body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
}

#open-gallery {
    position: absolute;
    top: 303px;
    width: fit-content;
    padding: 8px 16px;
    margin-top: 10px;
    color: #F7F7F7;
    background: gold;
    box-shadow: 0 0 0 1px #fff3, inset 120px 0 100px -100px #000c, 0 0 0 0 #fff1;
    transition: box-shadow 0.4s ease-in-out;
    cursor: pointer;
    opacity: 0.7;
    z-index: 54;
}

#open-gallery:hover {
    opacity: 0.9;
        }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
}

.gallery-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.image-container {
    width: 450px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery-image {
    width: auto;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 105%; /* Start buiten beeld */
    transition: all 0.5s ease-in-out;
}

.gallery-image.active {
    left: 0; /* Actieve afbeelding in beeld */
}

.arrow {
    background-color: gold;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
}

.arrow:hover {
    background-color: darkgoldenrod;
}

.left-arrow {
    margin-right: 10px;
}

.right-arrow {
    margin-left: 10px;
}
