/* =========================================================
   GENERAL
   ========================================================= */

html {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    overflow-x: hidden;
}

/* div {
    border: 1px solid #000000;
} */

/* =========================================================
   MAIN
   ========================================================= */

#main {
    position: relative;
    min-height: 100%;
}

#ctn {
    position: relative;
}

#ctn a {
    position: absolute;
    left: 0;
    top: -156px;
}


/* =========================================================
   HEADER / BLACK BAR
   ========================================================= */

#bar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 155px;
    margin: 0;
    padding: 0;
    background-color: black;
    z-index: 5;
    box-sizing: border-box;
}

#menubar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 165px;
    margin: 0;
    padding: 0;
    border-bottom: 3px solid gray;
    background-color: black;
    background-image: url("Logo_Black.jpg");
    background-position: center 10px;
    background-size: 350px;
    background-repeat: no-repeat;
    z-index: 60;
    box-sizing: border-box;
}


/* =========================================================
   LANGUAGE SELECTOR
   ========================================================= */

#sprache {
    position: absolute;
    color: white;
    top: 10px;
    right: 15px;
    width: 150px;
    height: 100px;
    text-align: center;
    font-size: large;
    font-weight: bold;
}

#flags {
    position: relative;
    top: 7px;
    width: 85px;
    height: 30px;
    margin: auto;
}

.picleft,
.picright {
    position: relative;
    width: 1.3em;
    max-width: 30px;
    height: auto;
    border: none;
}

.picleft {
    float: left;
}

.picright {
    float: right;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#navcontainer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

#navcontainer ul {
    margin: 0;
    padding: 117px 0 0 0;
    list-style: none;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

#navcontainer ul li {
    display: inline;
}

#navcontainer ul li a {
    display: inline-block;
    text-decoration: none;
    padding: 0.5em 0.7em;
    margin: 0.2em;
    color: white;
    font-size: 1em;
}

#navcontainer ul li a:hover {
    color: blue;
    /* background-color: #369; */
}


/* =========================================================
   BUTTON
   ========================================================= */

#ClickButton {
    position: relative;
    float: right;
    right: 25%;
    top: -25px;
    width: 140px;
    height: 54px;
    padding: 10px 0;
    background-color: blue;
    color: white;
    text-align: center;
    border-radius: 80px;
}


/* =========================================================
   PAGE TITLE
   ========================================================= */

#title {
    font-family: "Carter One", Tahoma, Arial, sans-serif;
    font-size: 40px;
    text-align: center;
    padding-top: 15px;
}


/* =========================================================
   MAP / DIVIDER
   ========================================================= */

.divider {
    width: 99vw;
    height: 200px;
    margin: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}


/* =========================================================
   MAIN TEXT AREA
   ========================================================= */

#text,
#textindex {
    position: relative;
    width: 90%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    bottom: 1em;
    font-size: 18px;
    box-sizing: border-box;
}

#text {
    margin-top: 160px;
}

#text a:visited {
    color: blue;
}

.building-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.building-info img {
    display: block;
    width: 30%;
    min-width: 320px;
    max-width: 700px;
}

.building-info p {
    margin: 0;
}


/* =========================================================
   TABS
   ========================================================= */

.tabset {
    position: relative;
    top: 10rem;
}

.tabset > input {
    display: block;
    position: absolute;
    left: -100%;
}

.tabset > ul {
    position: relative;
    list-style: none;
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.tabset > ul label {
    display: inline-block;
    font-size: 2em;
    margin: 1em;
    padding: 1em;
    background: hsl(220, 100%, 90%);
}

.tabset > ul li:first-child label {
    border-radius: 1em;
}

.tabset > ul li:last-child label {
    border-radius: 1em;
}

.tabset > div {
    position: relative;
}

.tabset > input:nth-child(1):hover ~ ul li:nth-child(1) label,
.tabset > input:nth-child(2):hover ~ ul li:nth-child(2) label {
    cursor: pointer;
}

.tabset > input:nth-child(1):checked ~ ul li:nth-child(1) label,
.tabset > input:nth-child(2):checked ~ ul li:nth-child(2) label {
    background: hsl(220, 100%, 60%);
    border-style: solid;
    border-color: red;
}

.tabset > div > section,
.tabset > div > section h2 {
    position: absolute;
    top: -999em;
}

.tabset > input:nth-child(1):checked ~ div > section:nth-child(1),
.tabset > input:nth-child(2):checked ~ div > section:nth-child(2) {
    position: static;
}

.tabset > ul label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* =========================================================
   IMPRESSUM
   ========================================================= */

#imp {
    width: 100%;
    margin: auto;
}


/* =========================================================
   FOOTER
   ========================================================= */

#footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   GENERAL ELEMENTS
   ========================================================= */

.Error {
    font-size: 1.2em;
    color: red;
}

#descriptions {
    text-align: center;
}

.portrait,
.portraitteam {
    float: right;
    border: none;
    width: 20vw;
    height: auto;
    padding-left: 2em;
    shape-outside: ellipse();
}

.portraitteam {
    float: left;
    margin: 0;
    width: 20vw;
    min-width: 95px;
    padding: 0;
}

.enlarge:hover {
    max-width: 100%;
    transform: scale(2.5, 2.5);
    transform-origin: 0 0;
    opacity: 1;
}

form,
input,
textarea,
ol,
ul,
li {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}

input[type="submit"] {
    margin-left: 40%;
}


/* =========================================================
   LARGE SCREENS
   ========================================================= 

 =========================================================
   815px
   ========================================================= */

@media screen and (max-width: 815px) {

    html,
    textarea,
    input,
    input[type="submit"] {
        font-size: medium;
    }

    #ctn a {
        top: -138px;
    }

    #menubar {
        height: 110px;
        background-position: center 0;
        background-size: 230px;
    }

    #bar {
        height: 110px;
    }

    #navcontainer ul {
        padding-top: 80px;
        width: 100%;
    }

    #navcontainer ul li a {
        padding: 0.4rem 0.3rem;
        margin: 0.1rem;
        font-size: 1.1rem;
    }

    #ClickButton {
        width: 90px;
        height: 30px;
        top: -13px;
        right: 5%;
        padding: 7px 0;
        border-radius: 70px;
    }

    .tabset {
        top: 100px;
    }

    #text,
    #textindex {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        font-size: medium;
    }

    #text {
        margin-top: 110px;
    }

    .portrait {
        right: 100px;
        top: -80px;
        width: 20vw;
    }

    #sprache {
        width: 190px;
        height: auto;
        right: 40px;
        text-align: center;
        font-size: 1.2rem;
        font-weight: bold;
    }

    #flags {
        width: 50%;
        margin: auto;
    }

    #title {
        font-size: 18px;
    }

    .divider {
        height: 95px;
        background-attachment: fixed;
        background-position: 50% 0 !important;
        background-repeat: no-repeat;
        background-size: cover;
    }
}


/* =========================================================
   740px
   ========================================================= */

@media (max-width: 740px) {
    .building-info {
        flex-direction: column;
        align-items: center;
    }

    .building-info img {
        width: 100%;
        min-width: 0;
    }
}

/* =========================================================
 500px    ========================================================= */
@media screen and (max-width: 500px) {

    html,
    text,
    textarea,
    input,
    input[type="submit"] {
        font-size: small;
    }
    #text {
        margin-top: 110px; font-size:small;
    }
#navcontainer ul li a {
    font-size: .8em;
}
}

/* =========================================================
   420px
   ========================================================= */
@media screen and (max-width: 400px) {

    html,
    text,
    textarea,
    input,
    input[type="submit"] {
        font-size: small;
    }
    #text {
        margin-top: 110px; font-size:xx-small;
    }
#navcontainer ul li a {
    font-size: .7em;
}
}