* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    overflow: hidden; /* Verhindert, dass die ganze Seite scrollbar wird */
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}
a {
    color: #006837;
}

header, footer {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 10;
}

header {
    top: 0;
    border-bottom: 2px solid #000000;
}

.logo {
    width: 250px;
  }

footer {
    bottom: 0;
    border-top: 2px solid #000000;
}

main {
    flex: 1;
    overflow-y: auto; /* Nur der main-Bereich wird scrollbar */
    margin-top: 75px; /* Höhe des Headers anpassen */
    margin-bottom: 75px; /* Höhe des Footers anpassen */
    padding: 5px;
    background-color: #808080;
}

main.ohnefooter {
    margin-bottom: 0px; /* Höhe des Footers anpassen */
}

main.map {
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0;
}

#map {
    height: calc(97vh - 108px);
    height: -o-calc(90vh - 112px); /* opera */
    height: -webkit-calc(90vh - 112px); /* google, safari */
    height: -moz-calc(90vh - 112px); /* firefox */
}

/* Overlay für Geschwindigkeit und Himmelsrichtung */
#infoBox {
    position: absolute;
    bottom: 100px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
}

.blink {
    animation-name: animation_blink;
    animation-timing-function: ease-in;
    animation-duration: 2s; 
    animation-iteration-count: infinite;            
}

@keyframes animation_blink {
    0% { opacity: 1; }
    50% { opacity: 0.1; }
    100% { opacity: 1; }    
}

nav a {
    color: #000;
    margin: 0 10px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    header, footer {
        padding: 0.5rem;
    }
    main {
        padding: 5px;
        margin-top: 61px;
        margin-bottom: 72px;
    }
    nav a {
        display: block; /* Navigationselemente untereinander auf kleinen Bildschirmen */
        margin: 0.5rem 0;
    }
}

 /* Style the buttons that are used to open and close the accordion panel */
 .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    margin-top: 3px;
    width: 100%;
    text-align: left;
    border: 2px black solid;
    outline: none;
    transition: 0.4s;
  }

  .accordion.active {
    background-color: white;
    border-bottom: 0px;
    padding: 5px;
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 5px;
    background-color: white;
    border: 2px black solid;
    border-top: 0px;
    display: none;
    overflow: hidden;
  } 

  #snow-container {
    position: fixed; /* Bleibt immer über der Webseite */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Klicks gehen durch den Container hindurch */
}

.snowflake {
    position: absolute;
    top: -10px; /* Startpunkt knapp außerhalb des Bildschirms */
    color: white;
    font-size: 1em;
    pointer-events: none; /* Keine Interaktionen */
    animation: fall linear infinite; /* Animation läuft unendlich */
}

@keyframes fall {
    0% {
        transform: translateY(-10px); /* Start oberhalb des Bildschirms */
    }
    100% {
        transform: translateY(100vh); /* Bis zum unteren Bildschirmrand */
    }
}