:root {
    --color-bg: white;
    --color-text: black;
    --color-translucent-bg: #ffffff7f;
    --color-orange: #fe5900;
    --color-orange-light: #ffa200;

    --color-on-orange: white;
    --color-on-orange-light: black;

    --navbar-height: 5rem;

    --full-width: 100vw;
}

* {
    color: var(--color-text);
}

html {
    background-color: var(--color-orange-light);
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg);
}

body>.main-section {
    scroll-snap-align: start;
}

.windows-scrollbar-width-workaround {
    --full-width: calc(100vw - 16px);
}

.btn-container {
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
    align-items: center;
    justify-content: center;
}

a {
    all: unset;
    cursor: pointer;
    color: var(--color-orange);
    text-align: center;
}

a>i {
    color: var(--color-orange);
    text-align: center;
}

a.button {
    cursor: pointer;
}

.float-right {
    float: right;
}

#navbar {
    height: var(--navbar-height);
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    z-index: 100;
}

#home-img-container {
    text-align: end;
}

#home-img {
    padding: 0.5rem;
    height: calc(100% - 1rem);
}

#scroll-down-animation {
    cursor: pointer;
}

.cta {
    align-self: center;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    transition: 300ms;
}

.primary-cta,
.secondary-cta:hover {
    background-color: var(--color-orange);
    color: var(--color-on-orange);
    text-decoration-color: var(--color-on-orange);
}

.primary-cta:hover {
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.secondary-cta {
    text-decoration: underline;
    text-decoration-color: var(--color-orange);
    text-decoration-thickness: 3px;
    color: var(--color-text);
}

#socials {
    align-self: center;
    display: flex;
    flex-direction: row;
}

.social-icon {
    font-size: 2rem;
    padding: 1rem;
}

#menu-icon {
    position: relative;
    font-size: 2rem;
    align-self: center;
    padding: 1rem 3rem;
    cursor: pointer;
}

#menu-icon>i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#menu {
    min-width: min(21rem, calc(var(--full-width) - 4rem));
    width: max-content;
    max-width: calc(var(--full-width) - 4rem);
    position: fixed;
    top: var(--navbar-height);
    right: 0;
    padding: 1rem 0;
    background-color: var(--color-translucent-bg);
    margin: 0 2rem 2rem 2rem;
    border-radius: 1rem;
    border: 3px solid var(--color-orange);
    height: clamp(15rem, calc(100vh - var(--navbar-height) - 4rem - 6px), min-content);
    max-height: calc(100vh - var(--navbar-height) - 4rem - 6px);
    z-index: 100;
    overflow-y: scroll;
    backdrop-filter: blur(1rem);
}

#menu-icon>.hidden,
#menu.hidden {
    display: none;
}

.menu-section {
    list-style-type: none;
    padding: 1rem 0;
    min-width: min(max-content, 100%);
    background-color: var(--color-translucent-bg);
    border: 1px solid transparent;
}

.menu-section-expanded {
    border: 1px solid var(--color-orange);
}

#menu>.menu-section {
    border-left: none;
    border-right: none;
}

.menu-section-header {
    font-weight: bold;
    width: 100%;
    padding-right: 2rem;
}

.menu-section-header i {
    line-height: 100%;
    padding: 0 0.5rem 0 2rem;
}

.menu-item i {
    line-height: 100%;
    padding: 0 0.75rem 0 0;
}

.menu-section-header:hover i,
.menu-item:hover i {
    color: var(--color-orange);
}

.menu-section .menu-section-icon-opened,
.menu-section .menu-section-icon-hovered {
    display: none;
}

.menu-section-expanded>.menu-section-header>span>.menu-section-icon-closed {
    display: none;
}

.menu-section-expanded>.menu-section-header>span>.menu-section-icon-opened {
    display: inline-block;
}

.menu-section-header,
.menu-section-header * {
    color: var(--color-text);
}

.menu-section-content {
    display: none;
    border-top: 1px dashed var(--color-orange);
    padding-inline-start: unset;
    padding: 0 1.5rem;
    margin-block-start: 1rem;
    margin-block-end: 0;
}

.menu-section-expanded>.menu-section-content {
    display: block;
}

.menu-item {
    list-style-type: none;
    padding: 1rem 2rem;
}

.menu-item>a {
    color: var(--color-text);
}

.menu-section>a:hover,
.menu-item:hover>a {
    text-decoration: underline;
    text-decoration-color: var(--color-orange);
    text-decoration-thickness: 3px;
}

.navbar-primary-cta-replacement {
    display: none;
}

.navbar-secondary-cta-replacement {
    display: none;
}

#hero,
.container-404 {
    position: relative;
    margin-top: var(--navbar-height);
    width: 100%;
}

#hero {
    height: calc(100vh - var(--navbar-height));
}

#hero>video {
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

#hero>lottie-player {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: 100%;
    bottom: 0;
}

.article-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    column-gap: 2rem;
    row-gap: 2rem;
    max-width: var(--full-width);
    overflow-x: scroll;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
}

.article,
.trainingszeiten-card {
    max-width: min(20rem, calc(var(--full-width) - 8rem - 2px));
    max-height: 20rem;
    border: 1px solid var(--color-orange);
    border-radius: 1rem;
    padding: 2rem;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    scroll-snap-align: start;
}

.more {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.trainingszeiten-card {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: min-content;
    overflow-y: hidden;
}

.trainingszeiten-card>.header {
    height: 3rem;
    margin-bottom: 2rem;
}

.dim-bg-img {
    overflow-y: scroll;
    backdrop-filter: saturate(0.15) blur(2px);
}

.trainingszeiten-card>.content {
    background-color: var(--color-translucent-bg);
    padding: 0 1rem;
    border-radius: 1rem;
}

.trainingszeiten-card>.header>.team-btn {
    float: left;
}

.trainingszeiten-card>.header>.contact-wrapper {
    float: right;
    display: inline-flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
}

.contact-icon {
    font-size: 2rem;
    padding-left: 2rem;
}

.main-section {
    margin: 0 2rem;
    padding-top: var(--navbar-height);
}

.main-section img {
    max-width: 100%;
}

.team-container {
    display: flex;
    flex-direction: row;
    row-gap: 2rem;
    column-gap: 2rem;
    align-items: flex-start;
}

.team-img {
    max-width: min(25rem, calc(50vw - 6rem)) !important;
}

.full-article-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-items: center;
    align-items: stretch;
    justify-content: center;
    column-gap: 2rem;
    row-gap: 2rem;
    max-width: var(--full-width);
    padding-bottom: 2rem;
}

.full-article {
    max-width: min(40rem, calc(var(--full-width) - 8rem));
    max-height: unset;
}

footer {
    background-color: var(--color-orange-light);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    min-height: 5rem;
    column-gap: 1rem;
    row-gap: 1rem;
    text-align: center;
}

footer * {
    color: var(--color-on-orange-light);
}

footer a {
    text-decoration: underline;
}

.container-404 {
    padding: 2rem;
    text-align: center;
}

.container-404>.primary-cta {
    position: relative;
    margin-top: 10rem;
}

.container-404>h3 {
    font-size: 10rem;
    font-weight: normal;
    margin-block-start: 2rem;
    margin-block-end: 2rem;
}

.max-width-800 {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.max-width-800>* {
    min-width: min(37rem, calc(var(--full-width) - 4rem));
    max-width: 50rem;
}

.border {
    border: 1px solid var(--color-orange);
    border-radius: 1rem;
    padding: 2rem;
}

.img-tiler {
    display: block;
    line-height: 0;
    -webkit-column-width: 300px;
    -moz-column-width: 300px;
    column-width: 300px;
    -webkit-column-count: auto;
    -moz-column-count: auto;
    column-count: auto;
    -webkit-column-gap: 0px;
    -moz-column-gap: 0px;
    column-gap: 0px;
}

.tiled-img {
    width: 100% !important;
}

.img-overview {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.img-collcetion {
    width: clamp(min(15rem, var(--full-width) - 8rem), 20rem, min(20rem, var(--full-width) - 8rem));
    min-height: 15rem;
    background-size: cover;
    background-position: center;
    margin: 2rem;
}

.img-collcetion>h3 {
    background-color: var(--color-translucent-bg);
    padding: 2rem;
    border-radius: 1rem;
}

.gameday-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.gameday {
    min-width: min-content;
    margin: 2rem;
}

.sponsors-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
}

.sponsor {
    margin: 1rem;
    border-radius: 2rem;
    border: var(--color-orange) 1px solid;
    overflow: hidden;
    background-color: white;
    max-width: calc(var(--full-width) - 6rem - 2px) !important;
    -o-object-fit: contain;
    object-fit: contain;
}

.sponsor-35 {
    height: 35vh;
}

.sponsor-30 {
    height: 30vh;
}

.sponsor-25 {
    height: 25vh;
}

.sponsor-20 {
    height: 20vh;
}

.sponsor-15 {
    height: 15vh;
}

@media (max-width: 960px) {
    #footer {
        flex-direction: column;
        padding: 2rem 1rem;
    }
}

@media (max-width: 620px) {
    .team-container {
        flex-direction: column;
    }

    .team-img {
        max-width: calc(var(--full-width) - 4rem) !important;
    }
}

@media (max-width: 680px) {
    #navbar .secondary-cta {
        display: none;
    }

    .navbar-secondary-cta-replacement {
        display: list-item;
    }
}

@media (max-width: 480px) {
    #navbar .primary-cta {
        display: none;
    }

    .navbar-primary-cta-replacement {
        display: list-item;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #303030;
        --color-text: white;
        --color-translucent-bg: #303030bf;
    }
}