/*duge.rocks Basic-Layout*/
/*author: sven duge*/
/*copyright: April 2019*/

/*@charset "utf-8";*/

/******************************
Colors:
blau: 009dcc
grün: 5cbd00
grau: 515c61
*******************************/

/******************************
Fonts
*******************************/

@font-face {
    font-family: PatuaOne;
    src: url("/assets/fonts/PatuaOne-Regular.otf") format("opentype");
}

@font-face {
    font-family: Pacifico;
    src: url("/assets/fonts/Pacifico.ttf") format("truetype");
}

@font-face {
    font-family: "Exo 2";
    src: url("/assets/fonts/exo-2-0.regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Exo 2";
    src: url("/assets/fonts/exo-2-0.extra-light-italic.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
}

/******************************
BASIS
*******************************/
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Exo 2", sans-serif;
    text-decoration: none;
    color: #515c61;
    hyphens: auto;
    background: #f7f7f7;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Avoid the IE 10-11 `min-height` bug. */
}

html {
    /*do not scale text in iphone*/
    -webkit-text-size-adjust: none;
    height: 100%;
}

.wrapper {
    flex: 1 0 auto;
    width: 90%;
    margin: 0 auto;
    max-width: 80rem;
    padding: 2rem 0 0;
}

.footer {
    flex-shrink: 0;
    background: #accfd7;
    margin: 3rem 0 0;
    padding: 2rem;
    text-align: center;
}

/******************************
TYPO
*******************************/
a {
    text-decoration: none;
}

.footer a,
.footnote a {
    color: #009dcc;
    padding: 0.5em 0.75em;
}

.footer a:hover, .footer a:focus,
.footnote a:hover, .footnote a:focus {
    padding: 0.5em 0.75em;
    background: rgba(0, 157, 204, 1);
    color: #fff;
    opacity: 0.6;
    transition: all 0.5s ease-in-out;
}

.activelink {
    color: #515c61;
}

article h1 {
    color: rgba(0, 157, 204, 1);
    font-family: Pacifico, serif;
    font-size: 3rem;
    font-weight: normal;
    margin: 0 auto 2.25rem;
    position: relative;
    text-align: center;
    line-height: 120%;
    text-shadow: -0.175rem 0.175rem 0.175rem #b5ced9;
    padding: 0 1rem;
    max-width: 18rem;
}

article h2 {
    font-family: "Exo 2", sans-serif;
    font-weight: lighter;
    font-style: italic;
    font-size: 1.4rem;
    padding-right: 1rem;
    position: relative;
    margin: 0 auto 2rem;
    hyphens: none;
}

#error article h2 {
    margin: 3rem 0 0;
}

em {
    font-weight: bolder;
}

/** Deutsch **/
html[lang="de"] q {
    quotes: "»" "«"
}

q:lang(de) {
    quotes: "»" "«"
}

/** Für Schweiz und Frankreich **/
html[lang="ch"] q,
html[lang="fr"] q {
    quotes: "«" "»"
}

q:lang(ch),
q:lang(fr) {
    quotes: "«" "»"
}

.left {
    text-align: left;
    display: block;
}

.right {
    text-align: right;
    display: block;
}

.duge {
    color: rgba(0, 157, 204, 1);
}

.lightblue {
    color: rgba(102, 196, 224, 1);
}

.spatio {
    margin-right: 0.3rem;
}

.spatio2 {
    margin-right: 0.25rem;
    margin-top: 0.25rem;
    display: inline-block;
}

.footnote {
    font-size: 0.75rem;
    font-style: italic;
    color: #98b0b5;
}

.footer .footnote {
    color: #fff;
    margin: auto;
    max-width: 94%;
}

#datenschutz .footnote {
    width: 16rem;
}

@media screen and (min-width: 37.5em) {
    .wrapper {
        width: 75%;
    }
}

@media screen and (min-width: 46rem) {
    #error.wrapper {
        width: 60%;
    }

    #error article h2 {
        width: 80%;
    }

    .wrapper {
        width: 90%;
    }

    article h2 {
        width: 70%;
    }

    .column {
        column-count: 2;
        column-gap: 2.5rem;
    }

    .column em {
        break-before: column;
        -webkit-column-break-before: always;
    }

    .column p {
        display: inline-block;
        width: 100%;
    }
}

@media screen and (min-width: 62.5rem) {
    #error.wrapper {
        width: 50%;
    }

    #error article h2 {
        width: 80%;
        margin: 6rem 0 0;
    }

    article h2 {
        width: 60%;
    }
}

@media screen and (min-width: 78.125rem) {
    #error.wrapper {
        width: 40%;
    }

    #error article h2 {
        width: 80%;
    }

    .column {
        column-count: 3;
        column-gap: 2.5rem;
    }

    article h2 {
        width: 50%;
    }
}