/* BASE */
@import 'base/colors.css';
@import 'base/variables.css';
@import 'base/animation.css';
@import 'base/fonts.css';
@import 'base/accessibility.css';
@import 'base/normalize.css';


/* COMPONENTS */
@import 'components/error.css';
@import 'components/footer.css';
@import 'components/header.css';
@import 'components/section.css';
@import 'components/icon.css';
@import 'components/button.css';
@import 'components/iframe.css';
@import 'components/jobcard.css';
@import 'components/content-holder.css';
@import 'components/stimulus.css';
@import 'components/progress.css';
@import 'components/overlay.css';
@import 'components/select.css';
@import 'components/list.css';
@import 'components/link.css';

/* PAGES */
@import 'pages/browserdetection.css';


* {
    box-sizing: border-box;
    font-family: 'EYInterstate', sans-serif;
    touch-action: manipulation;
}

html {
    background-color: var(--ci-primary);
    font-size: 16px;
    /* keep focused elements from hiding behind the fixed header (WCAG 2.2 SC 2.4.11) */
    scroll-padding-top: var(--header-height);
    scrollbar-width: none
        /* only Firefox */
}

body {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: var(--footer-height);
    margin: 0;
}

.preparing {
    opacity: 0;
}

h1 {
    color: var(--ci-yellow);
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
    font-weight: bold;
}

h2 {
    margin: 0;
}

a {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* a::after {
    content: "";
    width: 1.25rem;
    height: 0.6rem;
} */

.hidden {
    display: none !important
}

[inert] {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* general main structure */
main {
    width: var(--view-max-width);
    min-height: calc(100vh - (var(--header-height) + var(--footer-height)));
    margin-top: var(--header-height);

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--ci-primary);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: opacity;
        animation: fadeOut 0.6s ease forwards;
        z-index: 999;
    }
}


.start-image {
    z-index: -50;
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 435px;
    /* max-width: var(--content-width); */
    transform: translate3d(-50%, 0, 0);
    background-image: linear-gradient(#73737A00, #2E2E38), url('../assets/main/Foto-Startseite_GettyImages-905584236-ret.jpg');
    background-position: 50% 40%;
    background-size: cover;
    background-repeat: no-repeat;
}


section {
    filter: blur(20px) opacity(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: filterToNormal 0.6s ease forwards;
}

section .user-interface {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    background-color: var(--c-black);
    transform: translate3d(-50%, 0, 0);
    z-index: 10;
}


/* general text styles */
.text--subtitle {
    color: var(--ci-yellow);
}

.text--emphasis {
    color: var(--c-white);
    font-size: 1.5rem;
    line-height: 1.875rem !important;
    margin-bottom: 2rem;
}

.text--sectionheader {
    color: var(--ci-yellow);
    font-size: 1.5rem;
    margin-bottom: 10px;
}


.matcher header .content .header__item .select.select--language,
.overview header .content .header__item .select.select--language {
    display: none;
}