.custom-proxy-container {
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: #f9f9f9;
    position: relative; /* Hinzugefügt für das Overlay */
    display: inline-block; /* Hinzugefügt für das Overlay */
}

.custom-proxy-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.custom-proxy-update-time {
    margin-top: 5px;
    color: #333;
}

.custom-proxy-playbutton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; /* Größe des Playbuttons */
    cursor: pointer; /* Cursor beim Überfahren des Buttons ändern */
    transition: transform 0.3s ease; /* Sanfte Animation für den Hover-Effekt */
}

.custom-proxy-playbutton img {
    width: 100%;
    height: auto;
}

.custom-proxy-playbutton:hover {
    transform: translate(-50%, -50%) scale(1.1); /* Vergrößert den Button beim Hover */
}

/* Modal-Styles */
.modal {
    display: none; /* Versteckt das Modal standardmäßig */
    position: fixed; /* Positioniert das Modal über allem anderen Inhalt */
    z-index: 1050; /* Stellt sicher, dass das Modal oberhalb anderer Elemente angezeigt wird */
    left: 0;
    top: 0;
    width: 100%; /* Vollbreite */
    height: 100%; /* Vollhöhe */
    overflow: auto; /* Ermöglicht das Scrollen innerhalb des Modals, falls nötig */
    background-color: rgba(0, 0, 0, 0.8); /* Dunkler Hintergrund mit Transparenz */
}

/* Styles für das Schließen-Icon im Modal */
.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* Styles für das Bild innerhalb des Modals */
.modal-content {
    margin: auto;
    display: block;
    width: 80%; /* Standardbreite des Bildes */
    max-width: 700px; /* Maximale Breite des Bildes */
    max-height: 90vh; /* Maximale Höhe des Bildes, um sicherzustellen, dass es nicht über den Bildschirm hinausgeht */
}

/* Overlay-Icon für die Vollbildansicht */
.overlay-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff; /* Weiße Farbe des Icons für bessere Sichtbarkeit */
    cursor: pointer; /* Verändert den Cursor, um Interaktivität zu signalisieren */
    font-size: 25px; /* Größe des Icons */
}

/* Stellt das Overlay-Icon nur bei Hover über den Container dar */
.custom-proxy-container:hover .overlay-icon {
    display: block;
}

.custom-proxy-iframe {
    width: 1024px; /* Setzt die Breite auf 100% des Elternelements */
    height: 576px; /* Beispielsweise eine feste Höhe oder auch 100% für vollständige Höhe */
}