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

:root {
    --theme-color: #212121;
    --selection-color: #ff69b4;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Raleway', 'Georgia', sans-serif;
    letter-spacing: 1px;
    background-color: var(--theme-color);
    overflow-x: hidden;
    font-size: 17.5px;
}

main {
    flex: 1 0 auto;
    margin-top: 100px;
    color: white;
}



/* Nav */

header {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100px;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--theme-color);
    box-shadow: 0px 3px 20px 5px rgba(0,0,0,0.5);
    z-index: 1;
}

.menu-container {
    display: flex;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
}

header img {
    height: 90px;
    margin: 0 75px;
    transform: translateY(3.25px);
}

header nav {
    width: 700px;
    height: 100%;
    margin-right: 25px;
}

header nav ul {
    display: flex;
    height: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

header nav ul li {
    display: flex;
    height: 100%;
    align-items: center;
    list-style: none;
}

header nav ul li a {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: color .2s;
}

header nav ul li a::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom center;
    background-color: var(--selection-color);
    transition: transform .2s ease-out;
}

header nav ul li a:hover {
    color: var(--selection-color);
}

header nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom center;
}

.events-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

#events-dropdown-items {
    position: absolute;
    display: none;
    opacity: 0;
    flex-direction: column;
    height: 175px;
    width: 230px;
    bottom: -175px;
    justify-content: space-around;
    align-items: start;
    padding: 7.5px;
    z-index: 4;
    background-color: var(--theme-color);
    box-shadow: 0px 3px 20px 7px rgba(0,0,0,0.5);
    transition: opacity .3s;
}

#mobile-menu {
    position: absolute;
    display: none;
    width: 40px;
    height: 30px;
    top: 25px;
    right: 25px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

#mobile-menu hr {
    height: 4px;
    border: none;
    border-radius: 2px;
    background-color: white;
    transition: background-color .2s, opacity .3s, transform .3s;
}

.mobile-bar-opened:first-of-type {
    transform: translateY(12.5px) rotate(-45deg);
}

.mobile-bar-opened:nth-of-type(2) {
    opacity: 0;
}

.mobile-bar-opened:last-of-type {
    transform: translateY(-12.5px) rotate(45deg);
}

.lan-switch {
    flex-direction: column;
    height: 75px;
}

.lan-switch a:hover {
    cursor: pointer;
}

.selected-lan {
    color: var(--selection-color);
}

#language-alert-container {
    position: fixed;
    bottom: -500px;
    left: 50%;
    padding: 25px 50px;
    transform: translateX(-50%);
    background-color: var(--theme-color);
    box-shadow: 0px 3px 20px 5px rgba(0,0,0,0.5);
    border-radius: 15px;
    z-index: 6;
    transition: bottom .5s;
}

.show-language-alert {
    bottom: 5%!important;
}

@media only screen and (max-width: 950px) {
    main {
        margin-top: 75px;
    }

    header {
        position: absolute;
        height: 75px;
        width: 100%;
        background-color: transparent;
        box-shadow: none;
    }

    header img {
        margin-left: 25px;
    }

    .menu-container {
        position: fixed;
        width: 100%;
        height: 75px;
        z-index: 3;
        background-color: var(--theme-color);
        box-shadow: 0px 3px 20px 5px rgba(0,0,0,0.5);
    }

    header nav {
        position: fixed;
        display: flex;
        width: 100%;
        max-width: 300px;
        height: calc(100% - 75px);
        bottom: 0;
        right: 0;
        margin: 0;
        z-index: 2;
        background-color: var(--theme-color);
        transform: translateX(500px);
        opacity: 0.25;
        transition: transform .2s, opacity .3s ease-in-out;
        box-shadow: -3px 0px 20px 5px rgba(0,0,0,0.75);
    }

    .show-nav {
        transform: translateX(0);
        opacity: 1;
    }

    header nav ul {
        height: 100%;
        max-height: 350px;
        width: 100%;
        margin: auto 25px;
        flex-direction: column;
    }

    header nav ul li a:hover {
        color: white;
    }

    header nav ul li, header nav ul li a {
        width: 100%;
    }

    header nav ul li a:hover::after {
        transform: scaleX(0);
    }

    header img {
        height: 65px;
    }

    #mobile-menu {
        position: absolute;
        display: flex;
    }

    #language-alert-container {
        width: 90%;
    }
}



/* Hintergrund */

.background-container {
    position: relative;
}

.background-container img {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -2;
}

.background-container .background-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.5;
    z-index: -1;
}



/* Content */

.title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 15px;
}

.info-container {
    margin-bottom: 50px;
}

.content-container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
}

#changing-text {
    font-size: 100px;
    font-weight: 300;
    margin: 50px 0;
    transition: opacity 0.3s, transform 0.3s;
}

#changing-text.hide {
    opacity: 0;
    transform: translateY(-25px);
}

#changing-text.show {
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 600px) {
    #changing-text {
        font-size: 50px;
    }
}



/* Footer */

footer {
    display: flex;
    flex-direction: column;
    background-color: var(--theme-color);
    color: white;
    padding: 25px 0 0 0;
    box-shadow: 0px -3px 20px 7px rgba(0,0,0,0.5);
    font-size: 15px;
}

.footer-top-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1250px;
    justify-content: space-around;
    margin: auto;
}

.footer-title {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-content-container {
    display: flex;
    flex-direction: column;
    max-width: 300px;
}

.footer-content-container a {
    color: white;
    text-decoration: none;
}

.footer-content-container a:hover {
    text-decoration: underline;
}

.footer-icon-content-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.footer-icon-content-container img {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-bottom: 5px;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.footer-bottom-container hr {
    height: 2px;
    border: none;
    background-color: #424242;
}

.footer-bottom-container p {
    text-align: center;
    padding: 12.5px;
}

@media only screen and (max-width: 800px) {
    .footer-top-container {
        flex-direction: column;
        width: 80%;
        gap: 50px;
    }
}
