/* Variablen für Farben */
:root {
    --color-text: #383838;
    --color-background: #f4f4f4;
    --color-primary: #c0b283;
    --color-secondary: #ddd1c1;
    --color-tertiary: #5e3023;
    --color-accent: #b2a792;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    align-items: center;
    background-color: var(--color-background);
}

header,
main,
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#navTogglerOpen {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: fit-content;
    cursor: pointer;
    border: none;
    background-image: linear-gradient(rgb(0, 0, 0, 0.25), transparent);
    background-color: transparent;
    padding: 20px;
}

#navTogglerOpen div {
    background-color: whitesmoke;
    border-radius: 5px;
    width: 50px;
    height: 5px;
    margin: 5px;
}

#navTogglerClose {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
    border: 0;
    top: 10px;
    right: 10px;
    height: 80px;
    max-height: 10%;
    width: 80px;
    max-width: 15%;
}

#navTogglerClose::before,
#navTogglerClose::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 4px;
    /* cross thickness */
    background-color: black;
}

#navTogglerClose::before {
    transform: rotate(45deg);
}

#navTogglerClose::after {
    transform: rotate(-45deg);
}

nav {
    display: flex;
    flex-direction: row;
    position: fixed;
    transition: 1s;
    top: -80%;
    left: 0;
    width: 100%;
    height: 80%;
    z-index: 1;
}

nav ul {
    list-style: none;
    height: 100%;
    width: 50%;
    padding: 20px;
}

#sponsorenLink {
    height: 100%;
}

#navLeft {
    display: flex;
    flex-direction: column;
    background-color: black;
}

#navLeft li a {
    display: block;
    color: whitesmoke;
    text-align: end;
    width: 100%;
}

#navLeft li a:hover {
    color: rgb(255, 255, 255, 0.5);
}

.hidden {
    display: none;
}

#navRight {
    background-color: whitesmoke;
}

#navRight:last-child {
    margin-top: auto;
}

#navRight li p {
    cursor: pointer;
    color: black;
}

#navRight li p:hover {
    color: rgb(0, 0, 0, 0.5);
}

#navRight li,
#navLeft li {
    margin: 10px;
    font-weight: 600;
}

#navRight li p,
#navLeft li a {
    font-size: 2rem;
    padding-left: 10px;
}

#navRight-1 {
    align-items: flex-start;
    border-left: 10px solid red;
}

/* sponsoren */

#sponsoren {
    position: relative;
    top: 30%;
    overflow: hidden;
    height: 10%;
    width: 100%;
    padding: 0;
}

.slider {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    width: auto;
    height: 100%;
}

.slide-track {
    width: calc(var(--width-images));
    height: 100%;
}

.slide-track:hover {
    animation-play-state: paused;
}

.slider .slide-track {
    display: flex;
}

.slide {
    height: 100%;
}

.slide:hover {
    background-color: rgb(0, 0, 0, 0.1);
}

.slider .slide img {
    width: auto;
    height: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* sponsoren ende */

.active {
    top: 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

#title {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-tertiary);
    width: 100%;
    height: auto;
}

#title h1 {
    color: whitesmoke;
    margin-top: 25vh;
    margin-bottom: 10vh;
    font-size: 5rem;
    font-weight: 600;
}

#logo {
    position: absolute;
    display: flex;
    cursor: pointer;
    text-decoration: none   ;
    top: 10%;
    left: 2.5%;
    height: 10%;
}

#logo img {
    height: 100%;
    width: auto;
}

#logo div {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
}

#logo div h1, 
#logo div h2 {
    font-family: georgia,arial, helvetica, tahoma ,verdana, sans-serif;
    color: white;
    font-weight: lighter;
    font-size: 1.5rem;
    letter-spacing: 7px;
    margin: 0;
}

#logo div h2 {
    margin-right: 0.8rem;
}

#section-1 {
    background-color: #c08552d1;
    width: 100%;
}

#section-1 .section-picture {
    --webkit-filter: sepia(200%) hue-rotate(30deg) saturate(150%);
    filter: sepia(100%) hue-rotate(10deg) saturate(800%);
}

.section-picture {
    position: absolute;
    translate: -5% -5%;
}

.section-picture img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.section-text {
    position: absolute;
    translate: 5% 5%;
    background-color: hsl(46, 100%, 93%);
    padding: 20px;
}

.section-picture,
.section-text {
    height: 80vh;
    width: 30vw;
}

.section-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-text p {
    font-size: 1.5rem;
    font-weight: 300;
}

#section-1 section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff6f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

#section-1 h1 {
    text-align: center;
    color: #555;
}

#section-1 ul {
    list-style-type: none;
    padding: 0;
}

#section-1 li {
    margin-bottom: 10px;
}

#section-1 .year {
    font-weight: bold;
    font-size: 18px;
    color: #777;
}

#section-1 .event-date {
    margin-top: 5px;
    font-weight: bold;
    color: #555;
}

#section-1 .event-title {
    font-weight: bold;
    color: #333;
}

#section-1 .event-description {
    color: #777;
}

@media only screen and (max-width: 800px) {
    #sponsoren {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (max-width: 620px) {
    #navLeft li a,
    #navRight li p {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    #navLeft li a,
    #navRight li p {
        font-size: 1.2rem;
    }

    #navLeft,
    #navRight {
        padding-top: 20%;
    }
}

@media only screen and (max-width: 425px) {
    #navLeft li a,
    #navRight li p {
        font-size: 1rem;
    }
}