/* GLOBAL STYLES */
@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    margin: 0;
    background-color: #f6f4f4;
    font-family: "Lato", sans-serif;
    font-weight: 300;
    font-size: 70%;
    color: #000;
    text-align: center;
}

a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
}

a:hover {
    color: #bfbfbf;
}

a:focus {
    outline: 2px solid #9d9d9c;
    box-shadow: none;
}

strong, b {
    font-weight: 900;
}

em, i {
    font-style: italic;
}

p {
    font-size: 1.3em;
    line-height: 1.7em;
    text-align: left;
    margin-bottom: 1.5em;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Lato", sans-serif;
    color: #333;
    letter-spacing: 0.1em;
    font-weight: 400;
    line-height: 1.5em;
}

h1 {
    margin-top: 1em;
    color: #555;
    font-size: 1.7em;
    text-transform: uppercase;
    line-height: 2em;
}

h2 {
    font-size: 1.5em;
    line-height: 1.6em;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.3em;
    line-height: 1.6em;
    margin-top: 2vh;
}

h4 {
    font-size: 1.2em;
    line-height: 1.6em;
    margin-top: 2vh;
}

h5 {
    font-size: 1.1em;
    line-height: 1.6em;
    margin-top: 2vh;
}

h6 {
    font-size: 1em;
    line-height: 1.6em;
    margin-top: 2vh;
}

/* M A I N */
.main_cont {
    width: 98%;
    margin-top: 12vh;
    padding-bottom: 5vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.flex-item {
    width: 70%;
}

.flex-item p {
    padding-left: 3em;
    margin-bottom: 0.75em;
}

.flex-item h2 {
    font-size: 2em;
    line-height: 1.65em;
    padding: 1em 0;
}

.flex-item-img {
    width: 30%;
    margin-top: 5vh;
}

.flex-item-img img {
    width: 100%;
    height: auto;
    border: 1px solid #000;
}

table {
    margin-top: 2em;
}

/* LEGEND */
.legende {
    margin: 0.5em auto 0.5em;
    width: 70%;
}

.legende p {
    color: #333;
    font-size: 1em;
    text-align: center;
    font-weight: 300;
    margin-bottom: 0;
}

/* ABOUT TEXT */
.about_text {
    max-width: 50%;
    margin: 0.5em auto 10em;
    background: transparent;
    padding: 1em;
}

.about_text_centered, 
.about_text_centered p {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about_text_centered h2,  
.about_text_centered a h2 {
    font-size: 1.2em;
    margin-top: 1em;
    letter-spacing: 0;
}

.about_text_centered a h2 {
    margin-bottom: 2em;
    padding-bottom: 2em;
}

/* DROPDOWN */
.description select {
    width: 200px;
    height: 40px;
    background-color: #f0f0f0;
    color: #333;
    border: 2px solid #333;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
}

.description select:focus {
    border-color: #f99703;
    outline: none;
}

/* LANDSCAPE – Hauptlayout */
@media screen and (orientation: landscape) {
    body {
        font-size: 70%;
    }

    .flex-item {
        width: 70%;
    }

    .flex-item-img {
        width: 30%;
    }

    .about_text {
        max-width: 50%;
    }
}

/* PORTRAIT – Warnung oder Alternative */
@media screen and (orientation: portrait) {
    body::before {
        content: "Please view in landscape format";
        display: block;
        padding: 2em;
        margin-top: 20vh;
        font-size: 1.5em;
        color: #333;
        background-color: #f6f4f4;
    }

    .main_cont,
    .about_text,
    .flex-item,
    .flex-item-img,
    .legende,
    .description,
    table {
        display: none !important;
    }
}

/* Weitere Media Queries für Breiten */
@media (max-width: 1200px) {
    .about_text {
        max-width: 80%;
    }

    .flex-item {
        width: 80%;
    }

    .flex-item-img {
        width: 40%;
    }

    h1 {
        font-size: 1.5em;
        margin-top: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }
}

@media (max-width: 900px) {
    .main_cont {
        margin-top: 5vh;
    }

    h1 {
        font-size: 1.5em;
        margin-top: 2em;
    }

    p {
        font-size: 1.1em;
        line-height: 1.6em;
    }

    .description select {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .about_text {
        max-width: 90%;
    }

    .flex-item {
        width: 90%;
    }

    .flex-item-img {
        width: 80%;
    }

    h2 {
        font-size: 1.2em;
    }
}

@media (max-width: 600px) {
    .flex-item {
        width: 100%;
    }

    .flex-item-img {
        width: 100%;
        margin-top: 1em;
    }

    h1 {
        font-size: 1.2em;
        margin-top: 3em;
    }

    h2 {
        font-size: 1.1em;
    }

    p {
        font-size: 1em;
        line-height: 1.6em;
    }
}
