html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #2c3e37;

    animation: colorchange 50s infinite;
    -webkit-animation: colorchange 50s infinite;
    /* Chrome und Safari */
}

.startbild {
    background-image: url(../bilder/hgr_wald_dt.jpg);
    background-color: #2c3e37;
    /* Startfarbe, wird animiert */
    background-blend-mode: multiply;
    display: block;
    width: 100%;
    min-height: 100vh;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
    animation: colorchange 10s infinite;
    -webkit-animation: colorchange 10s infinite;
    /* Chrome und Safari */
}

.left-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    text-align: left;
}

#cookie-banner {
    box-sizing: border-box;
    word-break: break-word;
    white-space: normal;
    border-top: 1px white solid;
}

@media (max-width: 600px) {
    #cookie-banner {
        font-size: 0.95em;
        padding: 12px;
        text-align: center;
    }

    #accept-cookies {
        display: inline-block;
        margin: 12px auto 0 auto;
        width: 100%;
        max-width: 220px;
        text-align: center;
    }
    .pfeil{
        display: none;
    }   
}



@keyframes colorchange {
    0% {
        background-color: #2c3e37;
    }

    25% {
        background-color: #0a4e38;
    }

    50% {
        background-color: #2c3e37;
    }

    75% {
        background-color: #0a4e38;
    }

    100% {
        background-color: #2c3e37;
    }
}

@-webkit-keyframes colorchange {
    0% {
        background-color: #2c3e37;
    }

    25% {
        background-color: #0a4e38;
    }

    50% {
        background-color: #2c3e37;
    }

    75% {
        background-color: #0a4e38;
    }

    100% {
        background-color: #2c3e37;
    }
}

h1 {
    font-weight: 400;
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 2px;
    display: block;
    margin-top: 20px;
}

h3 {
    font-weight: 400;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 2px;
    display: block;
    margin-top: 40px;
}

p {
    font-weight: 300;
    color: white;
    font-size: 1em;
    letter-spacing: 0.5px;
    line-height: 1.6rem;
}

.episode {
    margin-top: 60px;
    max-width: 800px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 40px;
}

a {
    font-weight: 400;
    color: white;
    text-decoration: underline;
}

.inner {
    z-index: 50;
    max-width: 1200;
    min-height: 97vh;
    display: flex;
    align-items: center;
    opacity: 1;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    justify-content: center;
}

.icon {
    padding-right: 30px;
    padding-bottom: 20px;
}

.icon img {
    max-width: 30px;
}

.logo {
    max-width: 400px;
    margin-top: 40px;
    margin-right: auto;
    margin-left: auto;
}

.logo img {
    width: 100%;
}

.inner-footer {
    text-align: right;
    bottom: 0;
    position: fixed;
    width: 100%;
}

.video-container {
    position: relative;
    max-width: 600px;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-top: 80px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    min-height: 200px;
    color: #333;
    font-size: 1em;
    text-align: center;
}

.episoden-section {
    padding: 40px 0;
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
}

.episoden-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.episode-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 24px;
}

.episode-video {
    flex: 0 0 400px;
    max-width: 400px;
}

.episode-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

.episode-desc {
    flex: 1;
}

.episode-desc h2 {
    margin-top: 0;
    font-size: 1.3em;
    color: #2c3e37;
}

.episode-desc p {
    font-size: 1em;
    text-align: left;
    color: #333;
}

.footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
    color: white;
}

.pfeil {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
}
.pfeil img {
    width: 40px;
    height: auto;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .episode-row {
        flex-direction: column;
        gap: 16px;
    }

    .episode-video {
        max-width: 100%;
    }
}

@media (max-width: 800px) {
    .inner {
        max-width: 80vw;
        min-height: 92vh;
    }


    .left-content {
        max-width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .startbild {
        background-image: url(../bilder/hgr_wald_mb.jpg);
    }

    .episode-video {
        flex: 0 0 200px;
        max-width: 400px;
    }

    .episode-row {
        width: 70vw;
        margin-left: auto;
        margin-right: auto;
    }

    .episoden-section {
        padding: 40px 20px;
    }
}

@media (max-height: 520px) {
    .inner {
        max-width: 30vw;
    }
}