.gallery-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.gallery {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gallery img.active {
    opacity: 1;
}

.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

button {
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    .gallery-container {
        width: 100%;
    }

    .controls {
        bottom: 10px;
    }

    button {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
}

.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.fullscreen-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.fullscreen-overlay button {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #333;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fullscreen-overlay button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

#close-fullscreen {
    top: 20px;
    right: 20px;
}

#fullscreen-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#fullscreen-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.f_size_20 {
    font-size: 20px;
}

.zehnder-pdf-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pdf-icon {
    background-color: #ff4433;
    color: white;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
}

.button-text {
    font-weight: bold;
}

.zehnder-pdf-button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color:#ff4433;
}

.zehnder-pdf-button:active {
    background-color: #d0d0d0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: translateY(1px);
    color:#ff4433;
}
