:root {
    --color-text: black;
    --color-a: darkblue;
    --color-bg: #EEEEEEFF;
    --color-bg2: #EEEEEE00;
    --shade: 0 0 4px rgba(0, 0, 0, 0.4);
    --shade2: 0 0 6px rgba(0, 0, 0, 0.6);
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-size: 1.4rem;
    line-height: normal;
}

html {
    font-size: 68.75%; /*62.5%;*/
    scroll-behavior: smooth;
}

@media only screen and (min-width: 56.25em) {
    html {
        font-size: 75%
    }
}

body {
    box-sizing: border-box;
    font-family: "Arial", "Helvetica Neue", Helvetica, "Liberation Sans", "Nimbus Sans L", sans-serif;
    font-weight: 400;
    color: var(--color-text);
    height: 100dvh;
    z-index: 0;
    position: relative;
}

#container2 {
    max-width: 114rem;
    margin: 0 auto;
    z-index: 5;
    width: 100%;
    /*  line-height: 0; */
}

#container {
    z-index: 4;
    opacity: 0;
    width: 100%;
    height: 100dvh;
    position: absolute;
    top: 0;
    left: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid white;
    padding: 1rem;
    z-index: 10;
}

#container2 {
    z-index: 7;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
}

footer {
    text-align: center;
    display: block;
    padding: 1rem;
    width: 100%;
    height: auto;
    line-height: 2rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    display: inline-block;
    padding: 0 2rem 2rem 2rem;
}
ul {
    list-style-position: inside;
}
footer p {
    padding-bottom: 4rem;
}

#container3 {
    background: var(--color-bg);
    z-index: 11;
    box-shadow: var(--shade2);
    border: 1px solid white;
}

#bg_img,
#blur,
#overlay {
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

#intro {
    position: absolute;
    top: 50dvh;
    left: 50%;
    z-index: 15;
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 80%;
    max-width: 399px;
    max-height: 100dvh;
    height: auto;
}

#bg_img {
    opacity: 1;
    background: white;
}

#overlay {
    background: linear-gradient(to bottom right, #F0FFF0, #FFF, #CCFFCC);
    opacity: .5;
    z-index: 6;

}

.bg_blured {
    background-color: rgba(220, 255, 220, .5);
    box-shadow: var(--shade);
    z-index: 6;
}

#blur {
    background-color: rgba(255, 255, 255, .5);
    z-index: 3;
}


a {
    text-decoration: none;
    color: var(--color-a);
    display: inline-block;
}

@supports (-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px)) {
    #blur,
    .bg_blured {
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
}

#logo {
    width: 14rem;
    height: 6rem;
    order: 1;
    background-image: url('../img/logo_sds.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

#references {
    text-align: center;
    order: 2;
}

#references a {
    padding: 1rem;
}

h1 {
    font-weight: 400;
    padding-top: 1rem;
}

#imprint h1,
#privacy-policy h1,
h2 {
    color: white;
    font-weight: 600;
    display: inline-block;
    padding: .8rem;
    background: linear-gradient(to bottom right, #555, #000);
    border-radius: 5px;
    margin-bottom: 1rem;
}

h2 span {
    display: inline-block;
    font-size: 1rem;
    padding-left: .5rem;
    color: #cc0000;
    vertical-align: super;
    white-space: nowrap;
}

#privacy-policy h1 {
    width: fit-content;
    display: block;
    margin: 0 auto 2rem auto;
}

main {
    text-align: center;
}

main .image figcaption,
main p {
    line-height: 1.4;
    text-align: center;
    display: block;
}

main p {
    padding-bottom: 4rem;
}

main .image figcaption {
    padding: 1.5rem;
    background: #fff;
    width: 100%;
    box-shadow: var(--shade);
}

.ref {
    display: none;
}

main img {
    width: 100%;
    display: block;
    height: auto;
    border: 0;
    /*    line-height: 0; */
    padding: 0;
    box-shadow: var(--shade);
}

.no-shade {
    box-shadow: none !important;
}

.w100 {
    width: 100%;
}

.w80 {
    max-width: 70rem;
    margin: 0 auto;
}

.p-rem {
    padding: 4rem;
}

.d-none {
    display: none;
}

.image + .image {
    padding-top: 4rem;
}

a.disabled {
    pointer-events: none;
    opacity: .5;
}

a.enlarge {
    overflow: hidden;
    height: 60rem;
    display: block;
    padding: 0;
    margin: 0;
    cursor: pointer;
    box-shadow: var(--shade);
}

.handy {
    max-width: 500px;
    margin: 0 auto;
}

.hover_effect {
    position: relative;
}

.hover_effect:hover {
    transform-origin: bottom center;
    animation: animPulse .6s ease-in-out;
}

@keyframes animPulse {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
        box-shadow: var(--shade);
    }
    50% {
        filter: brightness(.93);
        transform: scale(.99);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
}

.img_click {
    transform-origin: bottom center;
    animation: animPulse .3s ease-in-out;
}

.img_clicked {
    display: block;
    height: auto;
    overflow: auto;
    padding: 0;
    margin: 0;
    box-shadow: var(--shade);
    cursor: default;
}

@media only screen and (min-width: 768px) and (min-height: 480px) {
    #container2 {
        padding: 4rem;
    }
}

@media only screen
and (orientation: landscape)
and (min-width: 35rem)
and (max-height: 480px) {

    h1 {
        display: inline-block;
    }

    #logo {
        width: 30rem;
        height: 3rem;
        background-image: url('../img/logo_sds_2.png');
    }

}

.icon {
    width: 1.5rem;
    height: auto;
}

.r90 {
    transform: rotate(90deg);
}

.r180 {
    transform: rotate(180deg);
}

.r270 {
    transform: rotate(270deg);
}

.continue {
    background: linear-gradient(to bottom, var(--color-bg2), var(--color-bg));
    height: 50px;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
}

.continue svg {
    position: absolute;
    bottom: 15px;
}

#imprint ul,
#imprint p,
#privacy-policy ul,
#privacy-policy p,
#privacy-policy img,
#itkanzlei_txt_copyright {
    text-align: start;
    box-shadow: none;
}