* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

html {
    height: 100%;
    font-size: 125%;
}

body {
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    font-family: "Roboto", sans-serif;
}

.embed-responsive {
    margin-bottom: 2em;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: auto;
}

.main-menu {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2em;
    padding: 0 2ex;
    padding-top: 9.5%;
    padding-left: 3%;
    width: 55ex;
    max-width: 100%;
}

.logo {
    display: block;
    margin-bottom: 3em;
    max-width: 100%;
}

.buttons-container {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 1em;
}

.buttons-list {
    display: flex;
    flex-direction: column;
    flex: 1 0 260px;
    align-items: center;
    grid-gap: 1em;
}

.main-menu-button {
    line-height: 3em;
    color: white;
    background-color: #E30066;
    border-radius: 1000px;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.main-menu-button:hover {
    text-decoration: none;
}

.content-body {
    display: block;
    background-color: #F9FAFA;
}

header {
    background-color: white;
    -webkit-box-shadow: 0px 7px 37px -11px rgba(0, 0, 0, 0.10);
    box-shadow: 0px 7px 37px -11px rgba(0, 0, 0, 0.10);
    margin-bottom: 3em;
}

.navbar {
    align-items: center;
    grid-gap: 1em;
    min-height: 120px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.nav-logo {
    height: 3.5em;
    margin-right: auto;
}

.nav-button-container {
    grid-gap: 1em;
}

.nav-button {
    display: inline-block;
    flex-basis: 8em;
    color: white;
    background-color: #E30066;
    border-radius: 1000px;
    text-align: center;
    width: 8em;
    line-height: 3em;
}

.nav-button:hover {
    color: white;
    text-decoration: none;
}

article {
    max-width: 120ex;
    margin: 0 auto;
}

.viewer-container {
    width: 100%;
}

.viewer-container iframe {
    display: block;
    position: relative;
    width: 100%;
    pointer-events: none;
}

.viewer-container iframe.clicked {
    pointer-events: auto;
}

.structure {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 2em;
    margin-bottom: 2em;
}

.structure-img {
    flex: 2 0 20ex;
}

.structure-img img {
    width: 100%;
    min-width: 20ex;
}

.structure-text {
    flex: 3 0 30ex;
}

.content-toggle-bar {
    padding: 0 1em 0 1em;
    display: flex;
    width: 100%;
    height: 3em;
    background-color: #F3F3F3;
    border-radius: 0 0 5px 5px;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1em;
}

.toggle-bar-switch {
    display: flex;
    margin: 0 0.5em 0 0.5em;
    width: 60px;
    background-color:#00549F;
    height: 1.5em;
    border-radius: 20px;
    align-items: center;
    padding: 4px;
}

.toggle-bar-pointer {
    display: flex;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 20px;
}

.toggled .video-container {
    display: none;
}

.toggled .viewer-container {
    display: block;
}

.viewer-container {
    display: none; 
    width: 100%;
    aspect-ratio: 16 / 9;
}

.switched.toggle-bar-switch {
    justify-content: flex-end;
}

.marker-list {
    list-style: decimal;
}

.marker-list li {
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #00549F;
    margin-bottom: 0.5em;
}

@media screen and (max-width:180ex) {
    /* Bei jedem größeren Monitor kommen neue Regeln hinzu */
    #bg-video {
        display: none;
    }
    .main-menu {
        margin: 0 auto;
    }


}

@media screen and (min-width: 640px) {
    .viewer-container {
        position: relative;
        padding-top:56.25%;
        min-height: initial;
    }
}