html {
    scroll-behavior: smooth;
}

body {
    color: #636363;
    padding-top: 20px;
    background-color: #35734c;
    margin: auto;
}

/* Font Standard */
@font-face {
    font-family: schrift;
    src: url(../font/Roboto-Regular.ttf);
}

/* Font Überschrift */
@font-face {
    font-family: ueberschrift;
    src: url(../font/RobotoSlab-Medium.ttf);
}

/* Überschrift */
h1,
h2 {
    font-family: ueberschrift;
    letter-spacing: 3px;
    font-size: 2.5em;
    color: #35734c;
    font-weight: 600;
    line-height: 1.5em;
    font-size: 2.5em;
    text-align: left;
    margin-bottom: 0px;
}

h1 {
    font-size: 4em;
    color: #35734c;
    text-align: center;
}

h3 {
    font-family: ueberschrift;
    font-weight: 600;
    line-height: 1.5em;
    font-size: 1.5em;
    letter-spacing: 1px;
    color: black;
    margin-top: 10px;
    margin-bottom: 0px;
}

/* Schrift */
p,
ul,
li {
    font-family: schrift;
    line-height: 1.5em;
    font-weight: 500;
    font-size: 1em;
}

/* Links */
a {
    text-decoration: none;
    color: #35734c;
}

a:hover,
a:visited {
    text-decoration: none;
    color: #35734c;
}

/* Buttons */
.button {
    cursor: pointer;
    border: 2px #35734c solid;
    background: white;
    padding: 8px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    transition-duration: 0.4s;
    font-weight: 600;
    font-size: 1rem;
    color: #35734c;
    margin: 5px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.button:hover {
    background: #35734c;
    color: white;
    border: 2px #35734c solid;
}

.inline-logos {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.inline {
    width: 120px;
}

/* Navigation */
.topnav {
    overflow: hidden;
    background-color: white;
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
}

/* Logo */
.logo {
    float: left;
    padding-left: 8px;
}

/* Nav-Zeile */
.social-links {
    width: auto;
    float: right;
    display: block;
    padding-top: 8px;
    padding-right: 8px;
}

/* Kapitel-Zeile */
.sm {
    float: left;
    padding-right: 10px;
}

/* Kapitel */
.textnav {
    float: left;
    font-size: 1.7em;
    padding-right: 12px;
    margin-top: 7px;
}

.textnav a:hover {
    color: #35734c;
}

/* Darkmode Icon */
#darkmode {
    width: 35px;
    padding-top: 10px;
    padding-right: 5px;
    cursor: pointer;
    display: block;
    float: left;
}

/* Burger Icon */
#m {
    display: none;
}

/* Burger Menü */
.overlay {
    height: 0%;
    width: 100vw;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: white;
    overflow-y: hidden;
    transition: 0.5s;
}

/* Overlay */
.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* Overlay Links */
.navlinks {
    padding: 8px;
    text-decoration: none;
    font-family: schrift;
    font-size: 36px;
    color: #c10b25;
    display: block;
    transition: 0.3s;
}

.navlinks a:hover {
    color: #c10b25;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

/* Header */
header {
    position: fixed;
    top: 70px;
    left: 0;
    height: 80vw;
    width: 90vw;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-top: 20px;
    background-color: #f0f8fa;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.video > div {
    width: 75vw !important;
    margin: 0 auto;
}

/* .video > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
} */

/* Bildinformationen */
.uts {
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: 90%;
}

/* i-Button */
.button2 {
    cursor: pointer;
    background: #ffffffcc;
    padding: 6px;
    border-radius: 40px;
    font-family: Arial, sans-serif;
    transition-duration: 0.4s;
    font-weight: 600;
    font-size: 1rem;
    color: #c10b25;
    margin: 5px;
    font-size: 1.1rem;
    border: 2px white solid;
    padding-left: 12px;
    padding-right: 12px;
    font-family: ueberschrift;
}

.button2:hover {
    background: #c10b25;
    color: white;
    border: 2px #c10b25 solid;
}

.accordion2 {
    display: inline;
    float: left;
}

/* Bildinfo-Klappentext */
.bildinfo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #ffffffdd;
    float: left;
    margin-left: 10px;
    margin-bottom: 5px;
    text-align: left;
}

.bildinfo p {
    margin: 10px;
}

/* Hauptteil */
main {
    margin-top: 58vw;
    padding: 5%;
    position: relative;
    z-index: 2;
    background: white;
    width: 90%;
}

/* Haupttext */
.container {
    display: relative;
    justify-content: space-around;
    align-items: flex-start;
    border: none;
}

/* Spalte links */
.links {
    padding-left: 25%;
    padding-right: 30%;
}

/* Spalte rechts | Autor*in */
.rechts {
    width: 25%;
    float: right;
    position: -webkit-sticky;
    position: sticky;
    top: 4.5em;
}

/* Autor*in Box */
.redbox {
    border-left-color: #35734c;
    border-left-width: 0.5rem;
    border-left-style: solid;
    width: 90%;
    height: 100%;
    padding-left: 10%;
    padding-bottom: 10px;
}

.redbox img {
    width: 100px;
    padding-left: 5%;
}

.redbox h3 {
    margin-top: 0px;
    margin-bottom: 5px;
    position: relative;
}

.greenball {
    width: 130px;
    height: 130px;
    border-radius: 65px;
    position: absolute;
    background: #f0f8fa;
    top: 60px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    display: none;
}

/* Dachzeile */
.dachzeile {
    background: #35734c;
    display: inline;
    color: white;
    padding: 3px;
    border-radius: 5px;
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Teaser Text */
.teaser {
    padding-left: 25%;
    padding-right: 20%;
}

.teaser p {
    font-size: 1.1rem;
    font-weight: 800;
}

/* Initiale */
.bst {
    float: left;
    font-size: 5rem;
    margin-top: 22px;
    margin-bottom: 10px;
    margin-right: 10px;
    font-family: ueberschrift;
    color: #35734c;
}

/* Zitat */
.zitat {
    border-left-color: #c10b25;
    border-left-width: 5px;
    border-left-style: solid;
    padding-left: 15px;
}

/* Infobox */
.infobox {
    background-color: #eee;
    padding: 30px;
}

/* Bild Hover-Effekt */
.img-hover-zoom {
    overflow: hidden;
    width: 100%;
    height: auto;
    position: relative;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Strich */
.strich {
    width: 50%;
    margin-right: 50%;
    border-bottom-color: #535353;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    margin-top: 60px;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 10%;
    padding-left: 10%;
    background: #799383;
    z-index: 2;
    position: relative;
    display: inline-block;
    width: 80%;
}

footer p {
    color: #d9edf2;
}

footer a,
footer a:visited {
    color: #d9edf2;
}

footer a:hover,
footer a:focus {
    color: #d9edf2;
    text-decoration: none;
}

#footer1,
#footer2,
#footer3,
#footer4 {
    color: #d9edf2;
}

#footer1:hover,
#footer2:hover,
#footer3:hover,
#footer4:hover {
    color: white;
    text-decoration: none;
}

/* Screens von 700px bis 900px */
@media screen and (max-width: 900px) {
    main {
        margin-top: 65vw;
    }

    .inline-logos {
        text-align: center;
    }

    /* Teaser */
    .teaser {
        padding-left: 10%;
        padding-right: 10%;
    }

    /* linke Spalte */
    .links {
        padding-left: 10%;
    }

    /* Burger erscheint */
    #m {
        display: block;
    }

    /* Nav Zeile verschwindet */
    .textnav {
        display: none;
    }

    .sm {
        display: none;
    }
}

/* Screens von 450px bis 700px */
@media screen and (max-width: 700px) {
    header {
        padding-top: 20px;
    }

    main {
        margin-top: 80vw;
    }

    /* Überschriften kleiner */
    h1,
    h2 {
        letter-spacing: 3px;
        font-size: 2em;
    }

    /* Teaser */
    .teaser {
        padding-left: 0%;
        padding-right: 0%;
    }

    .teaser p {
        font-size: 1em;
    }

    /* linke Spalte */
    .links {
        padding-left: 0%;
        padding-right: 0%;
    }

    /* rechte Spalte */
    .rechts {
        width: 100%;
        float: none;
        position: -webkit-sticky;
        position: relative;
        top: 0;
    }

    /* Autor*in Box passt sich an */
    .redbox {
        border-left: none;
        width: 100%;
        padding-left: 0%;
        text-align: center;
    }

    .redbox img {
        width: 100px;
        padding-left: 0%;
    }

    .greenball {
        display: block;
    }
}

/* Screens von 0px bis 450px */
@media screen and (max-width: 450px) {
    /* Overlay */
    .overlay {
        overflow-y: auto;
    }
    .overlay a {
        font-size: 20px;
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }

    /* Projektpartner */
    .inline-logos {
        flex-direction: column;
    }
}
