/* Grundlegende Stildefinitionen */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
   /* background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('../arzt/Hintergrund.jpg') no-repeat center center; /* Hintergrundbild beginnt oben */
    background-size: cover; /* Vollbild-Hintergrund */
}

/* Container */
.container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    color: #4d9b79;
    padding: 20px;
}

h1, h2, h3, h4, p, .kleinertext, .headfont {
    display: block;
    max-width: 650px;
}


h1, h2, h3 {
    
	color: #9FB99C;
    padding: 10px; /* Abstand innerhalb des Balkens */
    background: rgba(255, 255, 255, 0.5); /* Zartgrüner, halbtransparenter Balken */
    border-radius: 5px; /* Leichte Abrundung der Ecken */
    display: inline-block; /* Verhindert, dass der Balken die gesamte Breite einnimmt */
    margin: 10px auto; /* Abstand nach außen */
    text-align: center;
}

h1 {
    font-size: 28px;
    
    margin-bottom: -10px;
}

h2 {
    font-size: 22px;
    
}

h3 {
    font-size: 24px;
    
    margin-bottom: -12px;
}

.headfont {
    font-size: 19px;
    color: #BA8E4E;
    line-height: 0.1em;
}

p, .cta-button {
    font-size: 20px;
    color: #456E57;
}

.kleinertext {
    font-size: 13px;
    color: #83A180;
}

.format {
    font-style: italic;
    color:#456E57; /* Dunkles Grün */
}

/* Call-to-Action-Button */
.cta-button {
    background: linear-gradient(to bottom, #FFA500, #FF8C00); /* Verlauf Orange */
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    margin-top: 6px;
    box-shadow: 6px 6px 12px silver;
    animation: pulse 2s infinite; /* Puls-Effekt */
}

.cta-button:hover {
    background-color: #FF4500; /* Dunkleres Orange bei Hover */
    color: white;
}

/* Puls-Effekt */
@keyframes pulse {
    0% {
        transform: scale(1);
        background-color: #FFA500;
    }
    50% {
        transform: scale(1.05);
        background-color: #FF8C00;
    }
    100% {
        transform: scale(1);
        background-color: #FFA500;
    }
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    text-align: center;
    width: 90%;
    max-width: 380px;
    max-height: 80%;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.popup input[type="text"],
.popup input[type="email"],
.popup button {
    width: calc(100% - 40px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup button {
    background-color: #BA8E4E;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
}

.popup button:hover {
    background-color: #875015;
}

/* Video-Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
}

/* Iframe: Video selbst */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Anpassung für Unmute-Button */
#unmuteButton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* So groß wie das Video */
    height: 100%; /* So groß wie das Video */
    background-color: rgba(0, 0, 0, 0.1); /* Leicht transparentes Schwarz */
    border: none;
    cursor: pointer;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    font-size: 24px; /* Größere Schrift */
    color: white; /* Weiße Schrift */
    font-weight: bold;
    text-transform: uppercase; /* Text in Großbuchstaben */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Leichter Schlagschatten */
    overflow: hidden; /* Verhindert, dass Text außerhalb des Buttons angezeigt wird */
}

/* Animation für den Text */
#unmuteButton span {
    opacity: 0; /* Anfangszustand: unsichtbar */
    animation: fadeIn 2s ease 2s forwards; /* 2 Sekunden Verzögerung, danach Einblenden */
}

/* Hover-Effekt für den Button */
#unmuteButton:hover {
    background-color: rgba(0, 0, 0, 0.3); /* Intensivere Farbe bei Hover */
    transform: scale(1.05); /* Leichtes Vergrößern bei Hover */
}

/* Keyframes für das Einblenden des Textes */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px); /* Startpunkt etwas unterhalb */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* Endpunkt an der ursprünglichen Position */
    }
}

/*unmute button aus*/
/* Footer */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: #E8E8E8;
    color: #613101;
    font-size: 0.9em;
    margin: 0 6px;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}
