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

body {
    font-family: "Roboto", sans-serif;
    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 */
}

@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: 1em;
    letter-spacing: 4px;
    display: block;
    text-align: center;
}

p {
    text-align: center;
    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: black;
    text-decoration: none;
}

.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%;
}



.episoden-section {
    background: #2c3e37;
    padding: 40px 0;
}

.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;
}

@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;
    }
}

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

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

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

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

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