/* Add Your Custom CSS Here */
/* lato-regular - latin-ext_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Lato";
    font-style: normal;
    font-weight: 400;
    src:
        url("/fonts/lato-v23-latin-ext_latin-regular.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
            url("/fonts/lato-v23-latin-ext_latin-regular.woff") format("woff"); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* lato-700 - latin-ext_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Lato";
    font-style: normal;
    font-weight: 700;
    src:
        url("/fonts/lato-v23-latin-ext_latin-700.woff2") format("woff2"),
        /* Chrome 36+, Opera 23+, Firefox 39+ */
            url("/fonts/lato-v23-latin-ext_latin-700.woff") format("woff"); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

body {
    margin: 0 auto;
    width: 80%;
    max-width: 600px;
    font-family: "Lato", sans-serif;
    font-size: 5vw;

    @media (min-width: 601px) {
        font-size: 38px;
    }

    color: #000000;
    background-size: 100% auto;
}

.show-cookie-disclaimer body {
    padding-bottom: 150px;
}

h1,
h2:not(#CybotCookiebotDialogBodyContentTitle) {
    display: inline;
    margin: 0;
    margin-top: 1.2vw;
    line-height: 124%;
    font-size: 9.5vw;

    background-image: linear-gradient(120deg, #f8bd1c 0%, #f8bd1c 100%);
    background-repeat: no-repeat;
    background-size: 100% 1.2vw;
    background-position: 0% 100%;

    &:before {
        content: "";
        display: block;
        margin-top: 0px;
    }

    &:after {
        content: "";
        display: block;
        margin-bottom: 6vw;
    }

    @media (min-width: 601px) {
        margin-top: 10px;
        background-size: 100% 8px;
        font-size: 60px;

        &:after {
            content: "";
            display: block;
            margin-bottom: 46px;
        }
    }
}

h3 {
    font-size: 5vw;

    @media (min-width: 601px) {
        font-size: 38px;
    }
}

p {
    line-height: 140%;
}

a {
    color: inherit;
}
a.large {
    font-size: 130%;
    display: inline-block;
    margin-bottom: 3%;
    font-weight: bold;
}

a.no-underline {
    text-decoration: none;
}

section {
    display: block;
    margin: 20vw 0;

    &.brands {
        p small {
            text-transform: lowercase;
        }
    }

    &:first-of-type {
        margin-top: 2vw;
    }

    @media (min-width: 601px) {
        margin: 130px 0;

        &:first-of-type {
            margin-top: 60px;
        }
    }
}

nav {
    padding: 8vw 0;

    input {
        display: none;
    }

    .tk-logo {
        font-size: 6vw;
        @media (min-width: 601px) {
            font-size: 46px;
        }
    }

    .tk-logo:hover {
        text-decoration: underline;
    }

    .bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    label[for="menu-toggle"] {
        cursor: pointer;
        display: block;
        width: 5vw;

        @media (min-width: 601px) {
            width: 40px;
        }
        svg {
            width: 100%;
        }

        svg + svg {
            display: none;
        }
    }

    input#menu-toggle:checked ~ .bar label[for="menu-toggle"] svg {
        display: none;
    }

    input#menu-toggle:checked ~ .bar label[for="menu-toggle"] svg + svg {
        display: block !important;
    }

    input#menu-toggle:checked ~ ul {
        margin-top: 6vw;
        height: auto;
        overflow: auto;
        transition: opacity 0.3s;
        opacity: 1;
        @media (min-width: 601px) {
            margin-top: 41px;
        }
        li a {
            padding: 10px 0;
        }
    }

    ul {
        font-size: 7vw;
        list-style-type: none;
        margin: 0;

        padding: 0;
        font-weight: bold;

        height: 0;
        overflow: hidden;
        opacity: 0;
        user-select: none;

        li a {
            display: block;
            padding: 2.2vw 0;
            text-decoration: none;
            &.regular {
                font-weight: normal;
            }
            &:hover {
                text-decoration: underline;
            }
        }
    }

    @media (min-width: 701px) {
        padding: 61px 0;

        ul {
            font-size: 50px;

            li a {
                padding: 0px 0;
            }
        }
    }
}

small,
.small {
    display: block;
    font-size: 80%;
    line-height: 140%;
}

.tk-logo {
    font-weight: bold;

    span {
        font-weight: normal;
    }
}

.emoticon {
    display: inline-block;
    font-size: 20vw;
    > svg {
        width: 20vw;
    }

    &.hit {
        transform: scaleX(-1);
    }

    &.grayscale {
        filter: grayscale(1);
    }

    &.large {
        font-size: 30vw;
        > svg {
            width: 30vw;
        }
    }

    @media (min-width: 601px) {
        font-size: 154px;
        > svg {
            width: 154px;
        }

        &.large {
            font-size: 231px;
            > svg {
                width: 231px;
            }
        }
    }
}

.shake {
    transform-origin: 80% 80%;
    transform: rotate(10deg);
    animation: shake 1s infinite;
}

@keyframes shake {
    50% {
        transform: rotate(-10deg);
    }
}

.wobble {
    transform-origin: 100% 100%;
    animation: wobble 0.5s infinite;
}

@keyframes wobble {
    50% {
        transform: translate(1px, 0px) scale(1.01);
    }
}

.datenschutz {
    font-size: 18px !important;
    a {
        word-break: break-all;
    }

    h2,
    h3,
    p,
    a {
        font-size: 18px !important;
        hyphens: auto;
    }
    ul {
        font-size: 18px;
    }

    h2 {
        margin: 0 !important;
        font-size: 24px !important;
        background-size: 100% 4px !important;

        &:before {
            content: "";
            display: block;
            margin-top: 0px !important;
        }

        &:after {
            content: "";
            display: block;
            margin-bottom: 0px !important;
        }
    }

    script + h2 {
        &:before {
            content: "";
            display: block;
            margin-top: 24px !important;
        }
    }
}
