:root {
    --primary-color: #073979;
    --secondary-color: white;
    --accent-color: #cc9933;
    --color-black: #222;
    --primary-color-opacity: rgb(7, 57, 121, 0.5);

    --font-size-xsmall: 1rem;        /* 16px */
    --font-size-small: 1.125rem;     /* 18px */
    --font-size-medium: 1.375rem;    /* 22px */
    --font-size-large: 1.875rem;     /* 30px */
    --font-primary: 'League Spartan', sans-serif;
}

@media screen and (max-width: 1024px) {
    :root {
        --font-size-xsmall: 0.9375rem;   /* 15px */
        --font-size-small: 1rem;         /* 16px */
        --font-size-medium: 1.25rem;    /* 20px */
        --font-size-large: 1.625rem;    /* 26px */
    }
}

@media screen and (max-width: 768px) {
    :root {
        --font-size-xsmall: 0.8125rem;   /* 13px */
        --font-size-small: 1rem;         /* 16px */
        --font-size-medium: 1.125rem;    /* 18px */
        --font-size-large: 1.5rem;       /* 24px */
    }
}

.label-regular {
    font-family: var(--font-primary);
    font-size: var(--font-size-xsmall);
    font-weight: 400;
    color: var(--secondary-color);
}

.label-bold {
    font-family: var(--font-primary);
    font-size: var(--font-size-xsmall);
    font-weight: 600;
    color: var(--secondary-color);
}

.text-regular {
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 400;
    color: var(--secondary-color);
}

.text-bold {
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 600;
    color: var(--secondary-color);
}

.title-regular {
    font-family: var(--font-primary);
    font-size: var(--font-size-medium);
    font-weight: 400;
    color: var(--secondary-color);
}

.title-bold {
    font-family: var(--font-primary);
    font-size: var(--font-size-medium);
    font-weight: 600;
    color: var(--secondary-color);
}

.headline-regular {
    font-family: var(--font-primary);
    font-size: var(--font-size-large);
    font-weight: 400;
    color: var(--secondary-color);
}

.headline-bold {
    font-family: var(--font-primary);
    font-size: var(--font-size-large);
    font-weight: 600;
    color: var(--secondary-color);
}

.text-wrapper {
    overflow-wrap: break-word;
    white-space: normal;
}

/* Basic Layout */
html, body {
    height: 100%;
    background-color: var(--primary-color);
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; 
    overflow-y: auto; 
    margin-top: 30px; 
    margin-bottom: 80px; 
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--primary-color);
    border-bottom: 1px dashed var(--accent-color); 
    display: flex;
    z-index: 10;
}

.navigation-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    padding-left: 20px;
    gap: 15px;
    height: auto;
}

.navigation-link{
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 500;
    color: var(--secondary-color);
    text-decoration: none;
}

.navigation-link:hover{
    color: var(--accent-color);
}

.navigation-link.active {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    align-self: center;
    padding-left: 20px;
}

.menu-toggle:hover {
    background-color: transparent;
}

.slide-in-menu {
    display: none;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 40px;
    transition: top 0.5s ease-in-out;
}

.slide-in-menu-list {
    list-style: none;
    padding: 0;
}

.slide-in-menu--active {
    top: 0;
    display: block;
}

.menu-toggle-icon {
    width: 30px;
    height: 30px;
}

.menu-toggle--active .toggle-icon_top-line {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
    transition: transform 0.3s ease-in-out;
}

.menu-toggle--active .toggle-icon_bottom-line {
    transform: rotate(-45deg);
    transform-origin: 4% 85%;
    transition: transform 0.3s ease-in-out;
}

.menu-toggle--active .toggle-icon_middle-line {
    opacity: 0;
}

@media (min-width: 769px) {
    .slide-in-menu {
        display: none !important;
    }
}
  
@media screen and (max-width: 768px) {
    .navigation-list{
        display: none;
    }

    .menu-toggle {
        display: flex; 
        background-color: transparent;
        border: none;               
    }

    .slide-in-menu {
        display: block;
        padding-left: 20px;
        z-index: 2;
    }

    .slide-in-menu-list{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}
  
/* Home */
.home {
    position: relative;
    display: flex;
    background: var(--secondary-color);
    overflow: hidden;
    width: 100%;
    height: 100%;
    box-sizing: border-box; 
}

.home-club-logo {
    position: absolute;
    bottom: 40px;
    right: 40px;
    height: 91px;
    width: 300px;
}

.home-slideshow-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-headline-wrapper {
    position: absolute;
    left: 10px;
    top: 55px;
    width: fit-content;
    padding: 10px;
    background-color: var(--primary-color-opacity);
    z-index: 1;
}

.home-text-wrapper {
    position: absolute;
    left: 10px;
    top: 115px;
    width: fit-content;
    padding: 10px;
    background-color:  var(--primary-color-opacity);
    z-index: 1;
}

.home-slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.home-slideshow-info {
    position: absolute;
    left: 20px;
    top: 190px;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    max-width: 220px;
}

.home-slideshow-year {
    font-family: var(--font-primary);
    font-size: var(--font-size-medium);
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0px;
}

.home-slideshow-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 0px;
}

.home-slideshow-place {
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 400;
    margin-top: 0px;
}

.fade-in {
    opacity: 1;
}

@media screen and (max-width: 1024px) {
    .home-club-logo {
        height: 75px;
        width: 250px;
    }
}

@media screen and (max-width: 768px) {
    .home-club-logo {
        height: 60px;
        width: 200px;
    }

    .home-slideshow-info {
        top: 200px;
    }
}

/* Contact */
.contact {
    padding: 20px;
    padding-top: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--primary-color);
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box; 
    gap: 15px; 
}

.kampagne-logo-wrapper {
    align-self: center;
    justify-content: baseline;
}

.kampagne-logo {
    width: 450px;
    height: auto;
}


@media screen and (max-width: 1024px) {
    .kampagne-logo {
        width: 350px;
    }
}

@media screen and (max-width: 768px) {
    .kampagne-logo {
        width: 220px;
    }
}

/* Gallery */
.gallery {
    position: relative;
    display: flex;
    background-color: var(--primary-color);
    overflow: hidden;
    width: 100%;
    height: 100%;
    box-sizing: border-box; 
}

.year-select-wrapper {
    position: absolute;
    top: 40px;
    right: 20px;
    display: inline-block;
    z-index: 100;
}

.year-select {
    padding: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 400;
    background-color: var(--secondary-color);
    color: var(--color-black);
    border: 1px dashed var(--accent-color);
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow-y: auto;
    z-index: 3;
}

.year-select:focus {
    outline: none;
}

.gallery-slideshow-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.gallery-slideshow-info {
    position: absolute;
    left: 20px;
    top: 40px;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 220px;
}

.gallery-slideshow-year {
    font-family: var(--font-primary);
    font-size: var(--font-size-medium);
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0px;
}

.gallery-slideshow-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 0px;
}

.gallery-slideshow-place {
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 400;
    margin-top: 0px;
}

.button-wrapper {
    position: relative;
    bottom: 100px;;
    display: flex;
    padding: 10px;
    flex-direction: row;
    justify-content: space-between;
}

.slideshow-button {
    background-color: var(--secondary-color);
    color: var(--color-black);
    border: 1px dashed var(--accent-color);
    padding: 10px 10px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: var(--font-size-xsmall);
    font-weight: 400;
}

.impression-slideshow-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.impression-slideshow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.impression-slideshow-info {
    position: absolute;
    left: 20px;
    top: 40px;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    max-width: 220px;
}

.impression-slideshow-year {
    font-family: var(--font-primary);
    font-size: var(--font-size-medium);
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0px;
}

.impression-slideshow-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-large);
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 0px;
}

.impression-slideshow-place {
    font-family: var(--font-primary);
    font-size: var(--font-size-small);
    font-weight: 400;
    margin-top: 0px;
}

.fade-in {
    opacity: 1;
}

/* About */
.about {
    position: relative;
    background: var(--primary-color);
    padding: 20px;
    padding-top: 40px;
    min-height: 100%;
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.about-club-logo {
    position: absolute;
    bottom: 40px;
    right: 40px;
    height: 91px;
    width: 300px;
}

.sponsor-wrapper  {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.sponsor-link {
    text-decoration: none;
}

.sponsor-logo-banner {
    width: 220px;
}

.sponsor-logo-rect {
    width: 100px;
}

.sponsor-logo-square {
    width: 100px;
}


@media screen and (max-width: 1024px) {
    .about-club-logo {
        height: 75px;
        width: 250px;
        padding-top: 24px;
    }

    .sponsor-wrapper  {
        padding-top: 15px;
        gap: 15px;
    }

    .sponsor-logo-banner {
        width: 180px;
    }
    
    .sponsor-logo-rect {
        width: 80px;
    }
    
    .sponsor-logo-square {
        width: 80px;
    }
}

@media screen and (max-width: 768px) {
    .about-club-logo {
        display: none;
    }

    .sponsor-wrapper  {
        padding-top: 10px;
        gap: 10px;
    }

    .sponsor-logo-banner {
        width: 120px;
    }
    
    .sponsor-logo-rect {
        width: 55px;
    }
    
    .sponsor-logo-square {
        width: 55px;
    }
}

/* Imprint */
.imprint {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    gap: 10px;
    padding: 20px;
    min-height: 100%;
    box-sizing: border-box; 
}


.imprint-responsible,
.imprint-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Privacy */
.privacy {
    position: relative;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    padding-top: 40px;
    min-height: 100%;
    box-sizing: border-box; 
}

.privacy-responsible,
.privacy-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: fit-content;
    border-top: 1px dashed var(--accent-color);
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
}

.footer-content-wrapper {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: flex-start;  
    gap: 10px;
}

.privacy-social-wrapper {
    display: flex;
    justify-content: space-between; 
    width: 100%;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.privacy-link {
    font-family: var(--font-primary);
    font-size: var(--font-size-xsmall);
    color: var(--color-black);
    text-decoration: none;
}

.social-media-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: end;
    gap: 5px;
}

.social-media-link {
    text-decoration: none;
}

.social-media-icon {
    width: 30px;
    margin-bottom: -3px;
    padding: 0px;
}

.copyright {
    font-family: var(--font-primary);
    font-size: var(--font-size-xsmall);
    color: var(--color-black);
}

@media screen and (max-width: 1024px) {
    .social-media-icon {
        width: 25px;
    }
}

@media screen and (max-width: 768px) {
    .social-media-icon {
        width: 20px;
    }
}
