/* latin-ext */
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/quicksand-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/quicksand.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body {
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    background: #fcfcfc;
    overflow: hidden;
}

* {
    font-family: Quicksand;
    font-size: 20px;
}

div.logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

div.logo-box {

    position: relative;
    box-sizing: border-box;
    padding: 50px;
    background: #fcfcfc;
    transform: rotate(-1deg);
    box-shadow: 0 0 5px 2px #cecece;

}

div.logo-inner {
    position: relative;
}

div.logo {
    position: relative;
    z-index: 1;
    display: inline-block;
    background-color: #fcfcfc;
    background-image: url('/assets/images/logo-1000x150.png');
    background-size: cover;
}

div.logo-glitch {
    opacity: 0;
    z-index: 2;
    top: 0;
    left: 0;
    position: absolute;
    background-color: transparent;
    background-blend-mode: none;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: glitch-anim-1;
    background-image: url('/assets/images/logo-1000x150.png');
    background-size: cover;
}

@keyframes glitch-anim-1 {
    0%, 30%, 65% {
        opacity: 0;
        clip-path: circle(0% at 25% 50%);
    }
    15% {
        opacity: 1;
        clip-path: circle(100% at 50% 50%);
    }
    45% {
        opacity: 1;
        clip-path: circle(100% at 0% 50%);
    }
    82% {
        opacity: 1;
        clip-path: circle(100% at 20% 50%);
    }
}

div.logomatrix {
    box-sizing: border-box;
    position: absolute;
    width: 52.7%;
    height: 100%;
    overflow: hidden;
}

canvas#matrixCode {
    padding: 5px;
    width: 100%;
    height: 145px;
    opacity: 0.7;
}

canvas#matrixBg {
    width: 100vw;
    height: 100vh;
    opacity: 0.3;
}

div.logomask {
    position: absolute;
    z-index: 9;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/logo-mask-1000x150.png');
    background-size: cover;
    background-repeat: no-repeat;
}

div.footer {
    position: fixed;
    bottom: 0;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    height: 50px;
    line-height: 30px;
    text-align: right;
    background: #818181;
}

div.imprint {

    position: fixed;
    display: none;
    width: calc(100vw - 140px);
    height: 50vh;
    box-sizing: border-box;
    padding: 10px;
    max-width: 510px;
    max-height: 370px;
    background: #fefefe;
    border-top: 2px solid #990000;
    bottom: 70px;
    right: 70px;
    box-shadow: 0 0 5px 2px #cecece;

    opacity: 0;

    transition: all 300ms ease;

}

.imprint h1 {
    margin: 0 0 10px 0;
}

.imprint p {
    padding: 20px;
    color: #818181;
}

a {
    cursor: pointer;
    font-weight: bold;
    transition: all 300ms ease;
}

a:hover {
    color: #990000;
}

@media screen and (min-width: 1200px) {
    div.logo-glitch,
    div.logo {
        width: 1000px;
        height: 150px;
    }

    canvas#matrixCode {
        height: 145px;
    }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
    div.logo-glitch,
    div.logo {
        width: 600px;
        height: 90px;
    }

    canvas#matrixCode {
        height: 115px;
    }
}

@media screen and (min-width: 600px) and (max-width: 799px) {
    div.logo-glitch,
    div.logo {
        width: 450px;
        height: 67px;
    }

    canvas#matrixCode {
        height: 85px;
    }
}

@media screen and (min-width: 1px) and (max-width: 599px) {
    div.logo-glitch,
    div.logo {
        width: 300px;
        height: 45px;
    }

    canvas#matrixCode {
        height: 40px;
    }
}