/* lato-regular - latin */
@font-face {
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/lato-v14-latin-regular.eot"); /* IE9 Compat Modes */
    src: local("Lato Regular"), local("Lato-Regular"),
        url("../fonts/lato-v14-latin-regular.eot?#iefix")
            format("embedded-opentype"),
        /* IE6-IE8 */ url("../fonts/lato-v14-latin-regular.woff2")
            format("woff2"),
        /* Super Modern Browsers */ url("../fonts/lato-v14-latin-regular.woff")
            format("woff"),
        /* Modern Browsers */ url("../fonts/lato-v14-latin-regular.ttf")
            format("truetype"),
        /* Safari, Android, iOS */
            url("../fonts/lato-v14-latin-regular.svg#Lato") format("svg"); /* Legacy iOS */
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    font-family: "Lato", sans-serif;
    margin: 0;
    min-height: 100vh;
}

p {
    margin: 0px;
}

a {
    color: black;
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

.navigation-container {
    margin-bottom: 0em;
    margin-top: 0em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navigation {
    display: flex;
}

#plus-button {
    display: none;
}

.navigation-elements {
    margin-right: 1em;
    padding: 0.25em 1em;
    font-size: 18px;
}

.navigation-elements:hover {
    color: red;
}

.navigation-elements a:hover {
    color: red;
}

.dropdown-elements {
    margin-right: 1em;
    padding: 0.5em 1em;
}

.dropdown-content {
    display: none;
    background: white;
    position: absolute;
    min-width: 4em;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.anchor-icon {
    cursor: pointer;
}

.container {
    display: flex;
    align-items: flex-start;
}

.carousel-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 34em;
    height: 27.2em;
    margin-right: 1em;
    overflow: hidden;
    border-right: 1em white solid;
    border-radius: 0.25em;
}

.carousel-pics {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 0.25em solid white;
    transition-property: transform;
    transform: translateX(100%);
}

.carousel-pics img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#second {
}

#third {
}

.onscreen {
    transform: translateX(0);
    transition-duration: 3s;
}

.offscreen-left {
    transform: translateX(-100%);
    transition-duration: 3s;
}

.dots {
    position: absolute;
    bottom: 0;
    right: 40%;
}

.dot {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: 1px white solid;
    border-radius: 50%;
    margin: 0 0.25em;
    cursor: pointer;
    opacity: 0.6;
    background: white;
}

.active {
    background: white;
    opacity: 1;
}

.news {
    margin-left: 1em;
    width: 30em;
}

.news h2 {
    margin: 0;
}

.link {
}

.link:hover {
    color: red;
}

.bio {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

#bio-pic {
    max-width: 13em;
    border-radius: 0.25em;
}

.bio-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 1em;
    margin-top: 0.5em;
}

.ausstellungen {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ausstellungen-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* margin: 0em 20vw; */
}

.ausstellungen-bilder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-left: 1em;
}

#arbeiten-ausstellungen {
    max-width: 15em;
    max-height: 15em;
    margin-bottom: 2em;
}

.ausstellungen-bilder img {
    margin-bottom: 1em;
}

.list-item {
    text-align: left;
}

ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

li {
    margin-bottom: 1em;
}

.images-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.image-container {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20em;
    height: 20em;
    margin: 0.5em;
    border-radius: 0.25em;
    padding: 5px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19);
}

#image-inner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16em;
    height: 16em;
}

#arbeiten {
    max-width: 15em;
    max-height: 15em;
}

.outer-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
    overflow: auto;
    background: rgba(1, 1, 1, 0.4);
}

.inner-modal {
    color: white;
    background: rgba(1, 1, 1, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.5em;
    margin: 5vh 5vw;
    border-radius: 0.5em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19);
}

.img-modal {
    max-width: 70vw;
    max-height: 70vh;
    overflow: scroll;
}

.image-container-modal {
}

.x-button {
    color: black;
    width: 1.5em;
    height: 1.5em;
    align-self: flex-end;
    background: white;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19);
    font-size: 18px;
    border-radius: 50%;
    padding-top: 0.1em;
    cursor: pointer;
}

.x-button:hover {
    background-color: #737373;
    color: white;
}

.x-button:focus {
    outline-style: none;
    box-shadow: none;
    border-color: transparent;
}

footer {
    margin-top: 0.5em;
    display: flex;
    justify-content: center;
    position: relative;
    bottom: 0;
}

footer a {
    margin: 0.5em;
}

.footer:hover {
    color: red;
}

.impressum {
    margin: 1em;
    text-align: left;
}

.datenschutz {
    margin: 1em;
    text-align: left;
}

.news {
    text-align: left;
    margin: 0.25em;
}

.cookies {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: left;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19);
    width: 100vw;
    z-index: 999;
    background: white;
    opacity: 0.9;
}

.cookies-text {
    margin: 1em;
}

.cookies-text h4 {
    margin: 0.25em 0;
}

#datenschutz-link {
    text-decoration: underline;
}

.cookies-button {
    margin-top: 2em;
    margin-right: 1em;
    width: 6em;
    height: 2em;
    text-align: center;
    background: #000000c7;
    color: white;
    border: none;
    border-radius: 1em;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 4px 10px 0 rgba(0, 0, 0, 0.19);
    font-size: 16px;
    cursor: pointer;
}

.cookies-button:hover {
    background-color: #737373;
    color: white;
}

@media screen and (min-width: 300px) and (max-width: 1000px) {
    h1 {
        font-size: 18px;
    }

    h2 {
        font-size: 16px;
    }

    h3 {
        font-size: 14px;
    }

    a {
        font-size: 14px;
    }

    p {
        font-size: 14px;
    }

    li {
        font-size: 14px;
    }

    .navigation-container {
        margin-bottom: 1em;
    }

    #navigation-mobil {
        display: none;
    }

    .navigation-title {
        display: flex;
        justify-content: center;
    }

    #plus-button {
        font-size: 34px;
        display: block;
        margin-top: 0.2em;
        margin-right: 1.2em;
        cursor: pointer;
        position: absolute;
        top: 0;
        right: 0;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0em;
    }
    .navigation-elements {
        margin: 0;
        padding: 0.5em 0.5em;
        font-size: 18px;
        font-weight: bold;
    }

    #bio-pic {
        max-width: 12em;
        border-radius: 0.25em;
    }

    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: left;
    }

    .list-item {
        text-align: left;
        margin-bottom: 0;
    }

    #banner-pic {
        max-width: 100px;
    }

    .carousel-container {
        position: relative;
        width: 18em;
        height: 12em;
        margin: 0.25em;
    }

    .news {
        margin: 1em;
        width: fit-content;
    }

    .bio {
        margin: 0.25em;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bio-container {
        margin: 0.25em;
    }

    .images-container {
        margin: 0.25em;
    }

    .image-container {
        width: 17em;
        height: 17em;
    }

    #arbeiten {
        max-width: 15em;
        max-height: 15em;
        border-radius: 0;
    }

    .ausstellungen-container {
        margin: 0.25em;
    }

    .ausstellungen-container li {
        margin-bottom: 1em;
        margin-left: 0.25em;
    }

    .ausstellungen-bilder {
        margin: 0.25em;
    }

    #arbeiten-ausstellungen {
        max-width: 10em;
        max-height: 10em;
        margin-bottom: 3em;
    }

    .dropdown-content a {
        margin: 1em;
    }

    .x-button {
        display: none;
        font-size: 12px;
        width: 1.5em;
        height: 1.2em;
        border-radius: 1em;
        padding-top: 0.1em;
        cursor: pointer;
        padding-bottom: 0.25em;
        margin-bottom: 1em;
    }

    .inner-modal {
        height: 80vh;
    }

    .outer-modal {
        background: rgba(1, 1, 1, 0.7);
    }

    .datenschutz {
        width: 95vw;
        margin: 0 0.25em;
        text-align: left;
    }
}

@media screen and (min-width: 1600px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 24px;
    }

    a {
        font-size: 26px;
    }

    p {
        font-size: 24px;
    }

    li {
        font-size: 24px;
    }

    .container {
        display: flex;
        align-items: flex-start;
        margin-left: 1em;
    }

    .carousel-container {
        width: 48em;
        height: 38.4em;
        margin-right: 1em;
    }

    .news h2 {
        font-size: 24px;
    }
    .news h4 {
        font-size: 20px;
    }

    .news p {
        font-size: 20px;
    }

    .news li {
        font-size: 20px;
    }
    .news a {
        font-size: 20px;
    }

    #bio-pic {
        max-width: 20em;
    }

    #arbeiten-ausstellungen {
        max-width: 30em;
        max-height: 20em;
        margin-bottom: 4em;
    }

    footer a {
        font-size: 20px;
    }
}
