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

:root {
    --text-color: #002e66;
    --stripe-color: yellow;
    --border-radius: 0.5rem;
    --background-image: linear-gradient(to bottom, #0086ff, #008fff, #0097ff, #009fff, #00a7ff, #00a7ff, #00a7ff, #00a7ff, #009fff, #0097ff, #008fff, #0086ff);
    --alert-background: linear-gradient(145deg, #0089e6, #00a3ff);
    --alert-box-shadow: 5px 5px 10px #0060a1, -5px -5px 10px #00d0ff;
    --logo-fill-preloader: yellow;
    --logo-underline-preloader: rgba(255, 255, 255, 0.7);
    --logo-liveaty-preloader: rgba(255, 255, 255, 1);
}

.darkmode {
    --background-image: linear-gradient(to bottom, #0a1a81, #00207a, #002471, #002768, #00295e, #00295e, #00295e, #00295e, #002768, #002471, #00207a, #0a1a81);
    --text-color: #00deff;
    --border-radius: 0.5rem;
    --alert-background: linear-gradient(145deg, #002756, #002e66);
    --alert-box-shadow: 5px 5px 8px #001126, -5px -5px 8px #004598;
    --logo-fill-preloader: orange;
}

body {
    background-image: var(--background-image);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    background-repeat: no-repeat;
    background-size: cover;
    user-select: none;
    height: 100vh;
    font-family: 'Quicksand', 'Poppins', 'Nunito', 'Rubik', 'Varela Round', sans-serif;
    overflow: hidden;
}
.footer_icon{
	width: 17px; 
	fill: var(--logo-fill-preloader);
}
header {
    height: 12vh;
    display: flex;
    align-items: center;
}

main {
    height: calc(100vh - 24.2vh);
    position: relative;
    overflow: hidden;
}

footer {
    height: 12vh;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1.5rem;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.page.active {
    opacity: 1;
}

.wetter_monitor {
    display: block;
}

.wetter_monitor_alert {
    position: absolute;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: none;
}

@media (max-width: 1023px) {
    .wetter_monitor {
        display: none;
    }
    .wetter_monitor_alert {
        display: flex;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--background-image);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
}

.preloader.hidden {
    display: none;
}

.preloader_logo {
    width: 200px;
    height: 160px;
	filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.2));
}

.preloader_text {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    opacity: 0;
    color: var(--logo-liveaty-preloader);
    animation: fadeInText 2s ease-out 0.5s forwards;
}

.preloader_text span {
    display: inline-block;
    transform: translateX(-100%);
    animation: letterSlide 0.5s ease-out forwards;
    letter-spacing: 10px;
}

.preloader_text span:nth-child(1) {
    animation-delay: 0s;
}

.preloader_text span:nth-child(2) {
    animation-delay: 0.1s;
}

.preloader_text span:nth-child(3) {
    animation-delay: 0.2s;
}

.preloader_text span:nth-child(4) {
    animation-delay: 0.3s;
}

.preloader_text span:nth-child(5) {
    animation-delay: 0.4s;
}

.preloader_text span:nth-child(6) {
    animation-delay: 0.5s;
}

.preloader_text span:nth-child(7) {
    animation-delay: 0.6s;
}

.preloader_underline {
    letter-spacing: 9px;
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--logo-underline-preloader);
    opacity: 0;
    animation: fadeInUnderline 2s ease-out 1s forwards;
}

.preloader_logo svg path {
    fill: transparent;
    animation: fillAnimation 2s ease-in-out forwards;
}

@keyframes fillAnimation {
    0% {
        fill: transparent;
    }
    100% {
        fill: var(--logo-fill-preloader);
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUnderline {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

.alert_message {
    padding: 2rem;
    margin: 1rem;
    font-size: 18px;
    width: 100%;
    max-width: 600px;
    display: flex;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    border-radius: 15px;
    background: var(--alert-background);
    box-shadow: var(--alert-box-shadow);
}

.bild img {
    width: 80%;
}

.text h2 {
    margin-bottom: 1rem;
    font-size: 30px;
}

@media (max-width: 600px) {
    .alert_message {
        font-size: 18px;
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .text h2 {
        margin-top: 1rem;
        font-size: 30px;
    }
    .bild svg {
		margin-right: 0;
        max-width: 250px;
    }
}

.header_content {
    display: flex;
    width: 100%;
}

.header_beschriftung {
    width: 75%;
    padding-left: 1rem;
    align-items: center;
}

.header_beschriftung h1 {
    color: var(--text-color);
    line-height: 10vh;
    font-size: 3.5vw;
    padding: 0;
    margin: 0;
    margin-top: -5px;
}

.header_logo {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
}

.header_logo img {
    height: calc(12vh *0.8);
}

.footer_content {
    display: flex;
    width: 100%;
}

.footer_watch {
    width: 33.33%;
    padding-right: 1rem;
    text-align: right;
}

.footer_watch h1 {
    color: var(--text-color);
    line-height: 12vh;
    font-size: 4.6vw;
    padding: 0;
    margin: 0;
}

.footer_text {
    margin-right: 1rem;
    text-align: center;
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer_text h2 {
    color: var(--text-color);
    font-size: 1.3vw;
    padding: 0;
    margin: 0;
}

.footer_text p {
    color: var(--text-color);
    font-size: 1.5vw;
    padding: 0;
    margin: 0;
    margin-bottom: 5px;
}

.footer_date {
    margin-left: 1rem;
    text-align: left;
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer_date h1 {
    color: var(--text-color);
    line-height: 12vh;
    font-size: 4.6vw;
    padding: 0;
    margin: 0;
}