@font-face {
    font-family: "Ladislav";
    src: url(/webfonts/Ladislav_SemiBold.svg) format('svg'),url(/webfonts/Ladislav_SemiBold.eot) format('embedded-opentype'),url(/webfonts/Ladislav_SemiBold.woff) format('woff');
}

html {
    --branduals-color: #ef4600;
    --primary-background-color: #1f1f1f;
    --secondary-background-color: #282828;
    --primary-text-color: #fff;
    --secondary-text-color: #aaa;
    --divider-color: #605e5c;
    --standard-border-radius: 4px;
    --extended-border-radius: 8px;
    --icon-color: #106ebe;
    --common-transition-duration: 300ms;
    
    font-size: 14px;
    font-family: 'Segoe UI Variable', 'Segoe UI';
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: var(--primary-background-color);
    color: var(--primary-text-color);
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

h1 {
    margin: 20px 0;
    color: var(--branduals-color);
    font-size: 36px;
}

h3 {
    color: var(--secondary-text-color);
    font-size: 24px;
    margin: 36px 0 10px 0;
}

p {
    margin-block: 0;
    margin-bottom: 10px;
}

a {
    color: inherit;
    text-decoration: none;
}
    a.brand-on-hover a .brand-on-hover {
        color: inherit;
        transition: color ease-in 0.33s;
    }

    a:hover {
        color: var(--primary-text-color);
        transition: color ease-in 0.33s;
    }

        a:hover.brand-on-hover, a:hover .brand-on-hover {
            color: var(--branduals-color);
            transition: color ease-in 0.33s;
        }

nav {
    border-bottom: 1px solid var(--divider-color);
    background-color: var(--secondary-background-color);
    color: var(--secondary-text-color);
    height: 36px;
    line-height: 36px;
    padding: 0 10px;
    font-size: 24px;
}

main {
    height: calc(100% - 37px - 37px);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    main .teaser {
        height: 66%;
        width: 100%;
        font-size: 72px;
        position: relative;
    }

@media (max-width: 768px) {
    main .teaser {
        font-size: 32px;
    }
}

        main .teaser .teaser-line-container {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        main .teaser .teaser-line-1, main .teaser .teaser-line-1-brand {
            opacity: 0;
        }

        main .teaser .teaser-line-2, main .teaser .teaser-line-2-brand {
            opacity: 0;
        }

        main .teaser .teaser-line-3, main .teaser .teaser-line-3-brand {
            opacity: 0;
        }

        main .teaser .teaser-line-4, main .teaser .teaser-line-4-brand {
            opacity: 0;
        }


        main .teaser .teaser-line-1 {
            animation: 6s ease-in 0s teaser-line-opacity;
        }

        main .teaser .teaser-line-1-brand {
            animation: 6s ease-in 0s teaser-line-brand-opacity;
        }

        main .teaser .teaser-line-2 {
            animation: 5s ease-in 7s teaser-line-opacity;
        }

        main .teaser .teaser-line-2-brand {
            animation: 5s ease-in 7s teaser-line-brand-opacity;
        }

        main .teaser .teaser-line-3 {
            animation: 5s ease-in 13s teaser-line-opacity;
        }

        main .teaser .teaser-line-3-brand {
            animation: 5s ease-in 13s teaser-line-brand-opacity;
        }

        main .teaser .teaser-line-4 {
            animation: 5s ease-in 19s teaser-line-opacity-final forwards;
        }

        main .teaser .teaser-line-4-brand {
            animation: 5s ease-in 19s teaser-line-brand-opacity-final forwards;
        }

    main .see-more {
        height: 34%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        color: var(--secondary-text-color);
        animation: 1s ease-in 19s see-more-opacity forwards;
    }

main .intro {
    font-size: 22px;
    height: 100%;
    width: 100%;
    line-height: 1.5em;
    overflow-y: auto;
    margin: 14px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    main .intro p {
        max-width: 768px;
        opacity: 0;
        line-height: 1.5em;
        margin: 0px 24px 28px 24px;
    }

    main .intro .headline {
        font-size: 28px;
        margin-bottom: 28px;
        font-weight: 600;
    }

@media (max-width: 768px) {
    main .intro {
        font-size: 18px;
    }

        main .intro .headline {
            font-size: 24px;
        }
}

    main .intro p:nth-of-type(1) {
        animation: 1s ease-in 100ms intro-p-opacity forwards;
    }

    main .intro p:nth-of-type(2) {
        animation: 1s ease-in 2s intro-p-opacity forwards;
        padding-top: 28px;
        border-top: 1px solid var(--divider-color);
    }

    main .intro p:nth-of-type(3) {
        animation: 1s ease-in 4s intro-p-opacity forwards;
    }

    main .intro p:nth-of-type(4) {
        animation: 1s ease-in 6s intro-p-opacity forwards;
    }

    main .intro p:nth-of-type(5) {
        animation: 1s ease-in 8s intro-p-opacity forwards;
    }

    main .intro p:nth-of-type(6) {
        animation: 1s ease-in 10s intro-p-opacity forwards;
    }

    main .intro p:nth-of-type(7) {
        animation: 1s ease-in 12s intro-p-opacity forwards;
    }

    main .intro p:nth-of-type(8) {
        animation: 1s ease-in 14s intro-p-opacity forwards;
    }


footer {
    border-top: 1px solid var(--divider-color);
    background-color: var(--secondary-background-color);
    color: var(--secondary-text-color);
    height: 36px;
    line-height: 36px;
    text-align: center;
}

.brand {
    font-family: Ladislav;
    color: var(--branduals-color);
}

.delayed-150-ms {
    opacity: 0;
    animation: 0.5s ease-in 150ms fade-in-opacity forwards;
}

.delayed-300-ms {
    opacity: 0;
    animation: 0.5s ease-in 300ms fade-in-opacity forwards;
}

@keyframes teaser-line-opacity {
    0% {
        opacity: 0;
    }

    33% {
        opacity: 1;
    }

    66% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
    }
}

@keyframes teaser-line-brand-opacity {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes teaser-line-opacity-final {
    0% {
        opacity: 0;
    }

    33% {
        opacity: 1;
    }

    66% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes teaser-line-brand-opacity-final {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes see-more-opacity {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fade-in-opacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes intro-p-opacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
