* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}
html {
    scroll-padding-top: 120px;
    overflow-x: hidden;
}
h1 {
    font-size: 5rem;
    text-align: center;
    color: #fff;
    text-shadow: 8px 8px 8px #000;
    margin-top: 80px;
    font-family: Lobster;
}
/* main page elements */
.page {
    background: url("./sonne_neu.png") center center/cover no-repeat fixed;
}
.padding-mobile {
    padding: 0;
}
.header {
    position: fixed;
    top: 0;
    width: 100vw;
    padding-block: 1rem;
    box-shadow: 0 2px 4px rgba(0, 2px, 4px, 0.1);
    z-index: 1;
    background-color: #303030; /* Set your desired background color for the footer */
}

.footer {
    position: relative;
    width: 100vw;
    height: 80px;
    bottom: -120px;
    background-color: #303030; /* Set your desired background color for the footer */

    padding: 1rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}
.subtitle {
    text-shadow: 8px 8px 8px #000;
    font-family: Lobster;
    position: relative;
    font-style: italic;
    font-size: 2.25em; /* Adjust the font size for the subtitle */
    text-align: center;
    color: #fff;
    margin-bottom: 1rem;
    max-width: 300px;
    left: 300px;
}

/* navbar */
.nav-item-wrapper {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    flex-wrap: wrap;
    gap: 1.25rem;
}
.nav-item-wrapper > li {
    list-style-type: none;
    padding-inline: 0.5rem;
}
.nav-item-wrapper > li > a {
    padding: 1rem;
    text-decoration: none;
    background-image: linear-gradient(#fff, #fff);
    background-size: 0% 0.1em;
    background-position-y: 80%;
    background-position-x: 0%;
    background-repeat: no-repeat;
    transition: background-size 0.2s ease-in-out;
    color: #fff;
}

.nav-item-wrapper > li > a:hover {
    background-size: 100% 0.1em;
}

section > h2,
.about h2 {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.8);
    padding-block: 2rem;
}

/* sections */
.biography,
.video,
.images {
    display: flex;
    padding-inline: 10vw;
}

.about {
    padding-inline: 10vw;
    background-color: rgba(8, 8, 8, 0.9);
    padding-block: 2rem;
    display: flex;
    flex-direction: column;
}

.video {
    justify-content: center;
}
.about-text,
.biography-text {
    color: #fff;
    line-height: 1.85rem;
    font-size: 1.35rem;
    /* background: rgba(0, 0, 0, 0.05); */
    padding: 1rem;
    border-radius: 4px;
    width: 100%;
    float: none;
    font-weight: 700;
}
.intro {
    min-height: 50vh;
    display: flex;
    margin-left: 10vw;
    margin-right: 40vw;
    z-index: 2;
    justify-content: space-between;
    /* flex-direction: column; */
}

.biography {
    padding-block: 2rem;
    background-color: rgba(244, 244, 244, 0.5);
}
.biography-text {
    color: #000;
    font-size: 1.8rem;
    line-height: 2.5rem;
}
.feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin-top: 180px;
    height: auto;
    width: 300px;
    font-weight: bold;
    font-size: 1.5rem;
    max-height: 150px;
    animation: fadeIn 1s ease-in-out;
    text-shadow: rgba(255, 255, 255, 1) 0 0 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feedback-text {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
    font-style: italic;
}
.about-text > li {
    transform: translateX(2rem);
    z-index: 0;
}

.biography-image,
.about-image {
    float: right;
    padding: 1rem;
    border-radius: 4px;
    width: 300px;
}
.about-image {
    float: left;
    width: 150px;
    max-height: 270px;
}

.video-player {
    height: 580px;
    width: 60vw;
}

@media screen and (max-width: 1000px) {
    h1 {
        font-size: 2rem;
        /* margin-top: 120px; */
    }
    .subtitle {
        left: 0;
        font-size: 1.2rem;
    }
    .biography,
    .about,
    .video,
    .images {
        display: flex;
        flex-direction: column;
        padding-inline: 15px;
    }
    .feedback-text {
        font-size: 1.2rem;
    }

    .about {
        flex-wrap: wrap-reverse;
    }

    .biography-text,
    .about-text {
        width: 100%;
    }
    .video-player {
        width: 100%;
        height: 300px;
    }
    .nav-item-wrapper {
        font-size: 1rem;
    }
}
@media screen and (max-width: 725px) {
    .intro {
        min-height: 40vh;
        /* flex-direction: column; */
        align-items: center;
        margin: 0;
        justify-content: center;
    }
    .feedback {
        display: none;
    }
    .nav-item-wrapper > li {
        min-width: 25vw;
    }
    .about-image {
        width: 100%;
        object-fit: contain;
    }
    .about-text {
        padding: 0;
        float: none;
    }
    .about-text > li {
        transform: translateX(0);
        list-style-type: none;
        margin-block: 0.8rem;
    }
    .biography {
        padding: 0;
    }
    .biography-text {
        padding: 0;
    }

    .biography-image {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0;
    }
    .biography-text,
    .about-text {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }
    .padding-mobile {
        padding-inline: 1rem;
        padding-bottom: 1rem;
    }
}

@font-face {
    font-family: Lobster;
    font-weight: normal;
    font-size: normal;
    src: url("Lobster.otf");
}
