:root {
    --background-color: #FCBD00;
    --darker-background-color: #FC9500;
    --accent-color: #FFD600;
    --text-color: #000000;
    --linkpassiv-color: #F0F0F0;
    --linkactiv-color: #0015DD;
    --linkpfeil-color: #66CD00;
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color)
}

html {
    height: 100%;
}

body {
    height: 100%;
}

/*Navigation*/
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001; /* liegt über stageArea */
}


nav .logo {
    margin-left: 30px;
    font-family: Arial, Helevetica, sans-serif;
    font-size: 30px;
    font-variant: small-caps;
    text-decoration: none;
    color: #0015DD;
}

nav ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

nav li {
    height: 100%;
    width: 150px;
    text-align: center;
    position: relative;
}

/* Keynote-Ebenen dürfen nicht über der Navigation liegen */
#stageArea,
#stage,
#hyperlinkPlane {
    position: relative;  /* wichtig, damit z-index greift */
    z-index: 1;
}

header {
  position: relative;
  padding-bottom: 50px; /* damit Inhalt nicht unter der Navi liegt */
  z-index: 1000;
}

main {
  margin-top: 0px;
  padding-top: 0px;
  z-index: 1;
  position: relative;
}

/* Optional, wenn keine Interaktionen in der Animation */
#stageArea {
  pointer-events: none;
}

.passiv {
    color: var(--linkpassiv-color);

}

.activ {
    color: var(--linkactiv-color);

}

nav li:hover {
    background: var(--accent-color);
}

nav ul a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.dropdown {
    height: min-content;
    width: 200px;
    background-color: var(--background-color);
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: var(--navbar-height);
}

.dropdown li {
    height: 70px;
    width: 100%;
}

.dropdown li a {
    justify-content: flex-start;
    padding-left: 30px;
    width: calc(100% - 30px);
}

nav li:hover .dropdown {
    display: flex;
}

nav input[type="checkbox"] {
    display: none;
}

.expandable_li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle_botton {
    width: 30px;
    height: 25px;
    position: absolute;
    top: 25px;
    right: 25px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}

h1 {
    font-size: large;
    color: #0015DD;
    text-align: center;
}

h2 {
    font-size: medium;
    color: #0015DD;
    text-align: center;
}

h3 {
    font-size: small;
    color: #0015DD;
    margin: 10px 0 10px;
}

p {
    font-size: 16px;
    margin-top: 20px;
}

a:hover {
    background: var(--accent-color);
}

.abstand {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    text-align: center;
}

li {
    margin-bottom: 5px;
}


iframe {
    border: 0px;
}

@media(max-width: 2360px) {
    .toggle_botton {
        display: flex;
    }

    nav ul {
        height: min-content;
        width: 100%;
        background: var(--background-color);
        display: none;
        position: absolute;
        top: var(--navbar-height)
    }

    nav li {
        height: min-content;
        width: 100%;
    }

    nav ul a {
        padding: 30px 0;
    }

    .expandable_li {
        display: block;
    }

    .expandable_li lable {
        padding: 30px 0;
        cursor: pointer;
        display: block;
    }

    .expandable_li:hover .dropdown {
        display: none;
    }

    .expandable_li input[type="checkbox"]:checked~.dropdown {
        display: block;
    }

    .dropdown {
        position: static;
        width: 100%;
    }

    .dropdown li {
        padding: 0;
        display: block;
        position: static;
        background: var(--darker-background-color);
    }

    .dropdown li a {
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    #toggle_botton:checked~ul {
        display: block;
    }