html{
    font-size: 16px;
    background-color: #DE369D;
    transition: background-color 0.75s ease-out;
}

a{
    text-decoration: none;
    color: #1A1A1A;
    cursor: pointer;
}

::selection{
    background: #FFFFFF; 
}

::-moz-selection{
    background: #FFFFFF;
}

@keyframes fadein{
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/*  body  ===========================================*/

body{
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

@media (max-width: 700px) {
    body{
        height: auto;
    }
}

/*  block, container, impressum, ul =================*/

.block{
    width: 25%;
    height: 50%;
    position: relative;
    opacity: 0;
    transition: 0.25s cubic-bezier(0.8, 0, 1, 1);
    animation: fadein 0.25s ease-out;
    animation-fill-mode: forwards;
}

.block-1{
    background-color: rgba(255, 255, 255, 0);
    animation-delay: 0s;
}

.block-2{
    background-color: rgba(255, 255, 255, 0.15);
    animation-delay: 0.075s;
}

.block-3{
    background-color: rgba(255, 255, 255, 0.3);
    animation-delay: 0.150s;
}

.block-4{
    background-color: rgba(255, 255, 255, 0.05);
    animation-delay: 0.225s;
}

.block-5{
    background-color: rgba(255, 255, 255, 0.2);
    animation-delay: 0.300s;
}

.block-6{
    background-color: rgba(255, 255, 255, 0.35);
    animation-delay: 0.375s;
}

.block-7{
    background-color: rgba(255, 255, 255, 0.1);
    animation-delay: 0.450s;
}

.block-8{
    background-color: rgba(255, 255, 255, 0.25);
    animation-delay: 0.525s;
}

.block-9{
    display: none; /* mobile blocks */
}

.block-11, .block-12{
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    background-color: #DE369D;
}

.block-12{
    display: block;
}

.container{
    width: calc(100% - 5vh);
    height: calc(100% - 5vh);
    padding: 2.5vh;
    position: absolute;
    filter: blur(1rem);
    transition-property: -moz-filter, -ms-filter, -o-filter, -webkit-filter, filter;
    transition-duration: 0.5s;
}

.container--title, .container--404-left, .container--404-right{
    filter: blur(0rem);
}

.container--impressum, .container--404-left, .container--404-right{
    width: calc(50% - 5vh);
    height: 95vh;
    padding: 2.5vh;
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0);
}

.container--404-right{
    right: 0;
}

.container--impressum-text{
    width: calc(50% - 5vh);
    height: auto;
    position: absolute;
    right: 0;
    background-color: rgba(255, 255, 255, 0.3);
}

.container--404-left{
    background-color: rgba(255, 255, 255, 0.3);
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.links{
    height: auto;
}

.links:hover li{
    opacity: 0.1;
}

.links li:hover{
    opacity: 1;
}

@media (max-width: 700px) {
    .block{
        width: 100%;
        height: 45vh;
    }
   
    .block-1{
        background-color: rgba(255, 255, 255, 0);
    }

    .block-2{
        background-color: rgba(255, 255, 255, 0.1);
    }

    .block-3, .block-4{
        display: none;
    }
    
    .block-5{
        background-color: rgba(255, 255, 255, 0.2);
        animation-delay: 0.150s;
    }

    .block-6{
        background-color: rgba(255, 255, 255, 0.3);
        animation-delay: 0.225s;
    }

    .block-7{
        background-color: rgba(255, 255, 255, 0.4);
        animation-delay: 0.300s;
    }
    
    .block-9{
        display: block;
    }

    .block-9{
        background-color: rgba(255, 255, 255, 0.5);
        animation-delay: 0.375s;
        height: 70vh;
    }
    
    .block-11{
        position: absolute;
        top: 0;
        height: auto;
    }
    
    .block-12{
        height: 100%;
    }
    
    .container{
        width: calc(100% - 6vh);
        height: calc(100% - 6vh);
        padding: 3vh;
        filter: blur(0rem);
    }
    
    .container--impressum{
        width: calc(100% - 6vh);
        height: auto;
        padding: 3vh;
        position: relative;
        display: block;
    }
    
    .container--impressum-heading{
        height: 45vh;
    }
    
    .container--404-left, .container--404-right{
        height: calc(50% - 6vh);
    }
    
    .container--404-right{
        top: auto;
        bottom: 0;
    }
}

@media (min-width: 701px) and (max-width: 1024px) {
    .container{
        width: calc(100% - 5.5vh);
        height: calc(100% - 5.5vh);
        padding: 2.75vh;
    }
    
    .container--impressum{
        width: calc(25% - 5.5vh);
        height: 94.5vh;
        padding: 2.75vh;
    }

    .container--impressum-text{
        width: calc(75% - 5.5vh);
        height: auto;
    }
}

@media (min-width: 701px) and (max-width: 1024px) and (orientation: portrait) {
    .container{
        width: calc(100% - 3.5vh);
        height: calc(100% - 3.5vh);
        padding: 1.75vh;
    }
    
    .container--impressum{
        width: calc(25% - 3.5vh);
        height: 96.5vh;
        padding: 1.75vh;
    }

    .container--impressum-text{
        width: calc(75% - 3.5vh);
        height: auto;
    }
}

/*  heading, heading-sub, text, link  ===============*/

.heading, .text, .link, .text--impressum-h{
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #1A1A1A;
    margin: 0;
    padding: 0;
    opacity: 1;
    transition: 0.25s cubic-bezier(0.8, 0, 1, 1);
}

.heading{
    font-size: 2.5rem;
    line-height: 0.9;
}

.heading--support{
    opacity: 0;
}

.text, .link{
    font-size: 1.75rem;
    line-height: 1;
}

.text{
    position: relative;
    top: 0;
}

.text--bottom{
    font-weight: 500;
    position: absolute;
    top: auto;
    bottom: 0;
    padding: 0 2.5vh 2.5vh 0;

    opacity: 0; /* new */
}

.text--inline{
    display: inline-block;
}

.text--opening, .text--impressum{
    display: inline-block;
    position: relative;
}

.text--lang-phone{
    display: none;
}

.text--lang-desktop{
    display: block;
    position: absolute;
    bottom: auto;
    top: 0;
    right: 0;
    padding: 2.5vh 2.5vh 0 0;
    cursor: pointer;
}

.text__language{
    padding: 2.5vh;
    right: 0;
    top: 0;
}

.text--impressum{
    cursor: pointer;
}

.text--impressum-h{
    padding: 0.875rem 0;
    position: relative;
}

.text--impressum-b{
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.5;
    padding: 0 0 0.375rem 0;
    position: relative;
    display: block;
}

.text--impressum-h-first{
    padding-top: 0;
}

.text--impressum-b-last{
    padding-bottom: 0;
}

.text--404-phone{
    display: none;
}

@media (max-width: 700px) {
    .heading{
        font-size: 3.25rem;
        line-height: 0.85;
    }
    
    .heading-sub, .text, .link{
        font-size: 1.75rem;
        line-height: 1;
        padding: 0;
    }
    
    .link, .text--impressum-mobile{
        font-weight: 500;
        width: 100%;
    }
    
    .text--lang-desktop{
        display: none;
    }
    
    .text--lang-phone, .text--404-phone{
        font-weight: 500;
        display: block;
        position: absolute;
        width: auto;
        padding: 3vh 0;
        bottom: 0;
        top: auto;
        right: auto;
    }
    
    .text--bottom{
        position: relative;
        padding: 3vh 0;
        top: 0;
        bottom: auto;
    }
    
    .text--opening{
        padding-bottom: 3vh;
    }
    
    .text--impressum-h, .text--impressum-b{
        width: 90%;
    }
    
    .text--impressum-h{
        padding: 0.875rem 0;
    }
    
    .text--impressum-h-first{
        padding: 0 0 0.875rem 0;
    }

    .text--impressum-b{
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 0 0.450rem 0;
    }
    
    .text--impressum-b-last{
        padding: 0;
    }
    
    .text--404-desktop{
        display: none;
    }
    
    .unblur{
        opacity: 1;
    }
}

@media (min-width: 701px) and (max-width: 1024px) {
    .text{
        bottom: 0;
    }
    
    .text--lang-desktop{
        display: none;
    }
    
    .text--lang-phone{
        display: block;
        position: absolute;
        padding: 0 0 2.75vh 0;
        bottom: 0;
        top: auto;
        right: auto;
    }
    
    .text--bottom{
        position: absolute;
        padding: 0 2.75vh 2.75vh 0;
    }
    
    .text--impressum-h{
        padding: 0.875rem 0;
    }
    
    .text--impressum-h-first{
        padding: 0 0 0.875rem 0;
    }
    
    .text-impressum-b{
        line-height: 1.45;
    }

    .text--impressum-b-last{
        padding: 0;
    }
    
    .text--opening, .text--impressum{
        bottom: auto;
    }
    
    .text--contact{
        display: none;
    }
    
    .unblur{
        opacity: 1;
    }
}

@media (min-width: 701px) and (max-width: 1024px) and (orientation: portrait) {
    .heading{
        font-size: 1.75rem;
        line-height: 0.9;
    }

    .text, .link{
        font-size: 1.25rem;
        line-height: 1;
    }
    
    .text--bottom{
        padding: 0 1.75vh 1.75vh 0;
    }
    
    .text--impressum-h{
        padding: 0.625rem 0;
    }

    .text--impressum-h-first{
        padding: 0 0 0.625rem 0;
    }
    
    .text--impressum-b{
        font-size: 0.75rem;
        line-height: 1.45;
        padding: 0 0 0.375rem 0;
    }
    
    .text--impressum-b-last{
        padding: 0;
    }
}

@media (min-width: 1800px) {
    .heading{
        font-size: 5rem;
        line-height: 0.9;
    }
    
    .heading-sub, .text, .link{
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .text--bottom{
        padding: 0 2.5vh 2.5vh 0;
    }
    
    .text--impressum-h, .text--impressum-b{
        width: 75%;
    }
    
    .text--impressum-h{
        font-size: 1.75rem;
    }

    .text--impressum-b{
        font-size: 1.125rem;
        line-height: 1.45;
        padding: 0 0 0.5625rem 0;
    }
    
    .text--impressum-b-last{
        padding: 0;
    }
}

/*  svg  ============================================*/

path{
    fill: #1A1A1A;
}

svg{
    position: absolute;
    vertical-align: middle;
    overflow: visible;
    padding: 2.5vh;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.25s cubic-bezier(0.8, 0, 1, 1);
}

.svg--tablet{
    display: none;
}

.svg-up-right{
    width: 1.1rem;
}

.svg-right{
    width: 1.1rem;
}

.svg-cross{
    width: 1.2rem;
    opacity: 1;
    cursor: pointer;
}

@media (max-width: 700px) {
    svg{
        position: relative;
        padding: 0 0 0 0.5ch;
        opacity: 1;
    }
    
    .svg-up-right{
        width: 1rem;
    }
    
    .svg-right{
        width: 1rem;
    }
    
    .svg--desktop{
        display: none;
    }
    
    .svg-cross{
        width: 1rem;
        position: absolute;
        padding: 3vh;
        bottom: auto;
        left: auto;
        top: 0;
        right: 0;
    }
}

@media (min-width: 701px) and (max-width: 1024px) {
    svg{
        padding: 2.75vh;
    }
        
    .svg--tablet{
        display: inline-block;
        bottom: auto;
        position: relative;
        padding: 0 0 0 0.5ch;
        opacity: 1;
    }
    
    .svg--desktop{
        display: none;
    }
    
    .svg-up-right{
        width: 1rem;
    }
    
    .svg-right{
        width: 1rem;
    }
}

@media (min-width: 701px) and (max-width: 1024px) and (orientation: portrait) {
    svg{
        padding: 1.75vh;
    }
    
    .svg-up-right{
        width: 0.7rem;
    }
    
    .svg-right{
        width: 0.9rem;
    }
    
    .svg-cross{
        width: 0.85rem;
    }
}

@media (min-width: 1800px) {
    .svg-up-right{
        width: 1.65rem;
    }
    
    .svg-right{
        width: 2rem;
    }
    
    .svg-cross{
        width: 1.65rem;
    }
}

/*  animation  ======================================*/

.remove-blur{
    filter: blur(0rem);
}

.opacity-1{
    opacity: 1;
}

.opacity-01{
    opacity: 0.1;
}

.block-hide{
    display: none;
    opacity: 0;
}

.block-show{
    display: block;
    opacity: 1;
}