/* FONTS */

@font-face {
    font-family: 'DINPro';
    src: url('DINPro.eot');
    src: url('fonts/DINPro.eot?#iefix') format('embedded-opentype'),
        url('fonts/DINPro.woff2') format('woff2'),
        url('fonts/DINPro.woff') format('woff'),
        url('fonts/DINPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* VARIABLEN */

:root {
    /* Farben */
    --rot: #b51b52;
    --violett: #51369b;
    --hintergrund: white;
    /* Padding Left */
    ---einzug: 5vw;
}

/* ALLGEMEIN */

body {
    margin: 0;
    font-family: DINPro;
}

.segment, #container-menue, #impressum {
    padding-left: var(---einzug);
    padding-right: var(---einzug);
}

ul {
    padding-inline-start: 20px;
}

/* STÖRER */
#stoerer {
    height: 12.5em;
    width: 12.5em;
    background-color: var(--rot);
    color: var(--hintergrund);
    opacity: 0.9;
    border-radius: 50%;
    position: fixed;
    right: -1em;
    top: 15em;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#stoerer > * {
    opacity: 1;
    text-align: center;
}
#stoerer img {
    height: 3em;
    margin-bottom: 0.3em;
}
@media only screen and (max-width: 700px) {
    #stoerer {
        height: 9em;
        width: 9em;
    }
}

/* STÖRER INSTA */

#stoerer-insta {
    height: 6em;
    width: 6em;
    background-color: var(--rot);
    color: var(--hintergrund);
    opacity: 0.9;
    border-radius: 50%;
    position: fixed;
    right: -0.75em;
    top: 28.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#stoerer-insta > * {
    opacity: 1;
    text-align: center;
}
#stoerer-insta img {
    height: 3em;
}
@media only screen and (max-width: 700px) {
    #stoerer-insta {
        right: -0.25em;
        top: 24em;
        height: 4em;
        width: 4em;
    }
}


/* MENÜ */

#container-menue {
    padding-top: 5em;
    padding-bottom: 5em;
    height: 7em;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
#menue-inhalt {
    height: 100%;
    display: flex;
    flex-grow: 1;
    align-items: center;
}

#container-menue.menue-geschlossen {
    color: var(--violett);
    background-color: var(--hintergrund);
}

#container-menue.menue-geoeffnet {
    color: var(--hintergrund);
    background-color: var(--violett);
}

/* Logo */
#container-menue.menue-geschlossen #menue-logo {
    display: flex;
}
#container-menue.menue-geoeffnet #menue-logo {
    display: none;
}
#menue-logo, #menue-zirkel, #menue-zirkel > img {
    height: 100%;
}
#menue-logo {
    display: flex;
}
#menue-titel {
    padding-left: 1em;
    margin-top: auto;
    margin-bottom: auto;
}
#olympia-prae {
    font-size: 0.7em;
}
#olympia-titel {
    font-size: 2em;
}

/* Einträge */
#menue-eintraege {
    padding-right: 2em;
    display: flex;
    flex-grow: 1;
    /* justify-content ggf auf "end" ändern */
    justify-content: start; 
    line-height: 1.5;
}
#container-menue.menue-geschlossen #menue-eintraege {
    display: none;
}
#container-menue.menue-geoeffnet #menue-eintraege {
    display: flex;
}
.menue-eintrag {
    color: var(--hintergrund);
    text-decoration: none;
}
.menue-eintrag:hover {
    text-decoration: underline;
}

/* Schaltfläche */
#menue-schaltflaeche {
    cursor: pointer;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    width: 10vw;
    height: 8vw;
    min-width: 1em;
    min-height: 1em;
    max-width: 3em;
    max-height: 3em;
}

.menue-schaltflaeche-balken {
    height: 1px;
    width: 100%;
    transition: transform 1s, background-color 1s, opacity 1s;
}

#container-menue.menue-geschlossen .menue-schaltflaeche-balken {
    background-color: var(--violett);
}

#container-menue.menue-geoeffnet .menue-schaltflaeche-balken {
    background-color: var(--hintergrund);
}

#balken-1 {
    position: absolute;
    top: 0;
}

#container-menue.menue-geschlossen #balken-1, #container-menue.menue-geschlossen #balken-4 {
    opacity: 1;
}
#container-menue.menue-geoeffnet #balken-1, #container-menue.menue-geoeffnet #balken-4 {
    opacity: 0;
}

#balken-2, #balken-3 {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

#container-menue.menue-geoeffnet #balken-2 {
    transform: rotate(45deg);
}

#container-menue.menue-geschlossen #balken-3 {
    opacity: 0;
}
#container-menue.menue-geoeffnet #balken-3 {
    transform: rotate(-45deg);
    opacity: 1;
}

#balken-4 {
    position: absolute;
    bottom: 0;
}

/* SEGMENT BILD */
.segment-bild {
    height: 70vh;
    padding-bottom: 1em;
    display:flex;
    align-items: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* dynamisches Erscheinen */
    overflow: hidden;
    opacity: 0;
    transition: opacity 3s;
}
.segment-bild.sichtbar {
    opacity: 1;
}
.titel-segment {
    color: var(--hintergrund);
    font-size: 5em;
    line-height: 1;
}

@media only screen and (max-width: 500px) {
    .segment-bild {
        height: 100vw;
    }
    .titel-segment {
        font-size: 3em;
    }
}

/* Hintergrundbilder */
#der-rechte-weg {
    background-image: url('bilder/siegfried_fassade_bier.png');
}

#student-in-wien {
    background-image: url('bilder/uni_B_beschnitten_1920_933.jpg');
}

#besser-drauf {
    background-image: url('bilder/wappen.jpg');
}

#leben-am-haus {
    background-image: url('bilder/zimmer_1920_1573.jpg');
}

#lage-und-kontakt {
    background-image: url('bilder/wuerstelstand_C_1920_1285.jpg');
}

@media only screen and (max-width: 700px) {
    #der-rechte-weg {
        background-image: url('bilder/siegfried_mobil.jpg');
    }
    #student-in-wien {
        background-image: url('bilder/uni_B_beschnitten_700_340.jpg');
    }
    #besser-drauf {
        background-image: url('bilder/wappen_700_468.jpg');
    }    
    #lage-und-kontakt {
        background-image: url('bilder/wuerstelstand_C_700_468.jpg');
    }
    #leben-am-haus {
        background-image: url('bilder/zimmer_700_573.jpg');
    }    
}

/* SEGMENT TEXT */
.segment-text {
    /* display: flex;
    flex-wrap: wrap;
    justify-content: space-between; */
    padding-top: 1em;
    padding-bottom: 3em;
    min-height: 10em;
    line-height: 1.5;
}
.segment-text p {
    max-width: 50em;
}
.container-bloecke {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/* TEXT */
.ueberschrift-segment {
    color: var(--rot);
    font-size: large;
}
.hervorgehoben {
    color: var(--rot);
    font-weight: bold;
}
.text-segment {
    font-weight: 400;
}
.ueberschrift-segment {
    font-weight: bold;
    font-size: 1.5em;
}

/* IMPRESSUM */
#impressum-container {
    padding-top: 3em;
    padding-bottom: 7em;
    font-weight: 500;
    background-color: var(--violett);
    color: var(--hintergrund);
    letter-spacing: 0.1em;
    font-size: x-small;
}


#impressum {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#impressum > * {
    margin-left: 0.1em;
    margin-right: 0.1em;
}

#bildquelle {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#bildquelle > * {
    margin-left: 0.1em;
    margin-right: 0.1em;
}