@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
:root {
    --primary-color: #1E4A65;
    --primary-color-accent: #1e3d65;
    --secondary-color: #ea5747;
    --secondary-color-accent: #b8504a;
}
@keyframes fadeinall {

    0% {

        opacity: 1;
    }

    97% {

        opacity: 0;
    }

    98% {

        opacity: 0;

        -webkit-transform: translateY(0);

        transform: translateY(0);
    }

    100% {

        opacity: 0;

        -webkit-transform: translateY(-100%);

        transform: translateY(-100%);

        z-index: -1;
    }
}

#fadein {

    opacity: 1;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    -webkit-transform: translateY(0);

    -ms-transform: translateY(0);

    transform: translateY(0);

    background-color: var(--primary-color-accent);

    z-index: 999;

    -webkit-animation-fill-mode: forwards;

    animation-fill-mode: forwards;

    -webkit-animation: fadeinall 1s normal both;

    animation: fadeinall 1s normal both;

    -webkit-animation-delay: 0.3s;

    animation-delay: 0.3s;
}
html {
    height: 100%;
}

body {
    font-family: 'DIN-Regular', sans-serif;
    margin: 0;
    background-color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

body header {
    width: 100%;
    display: flex;
    flex-direction: row;
}

header > img.header-logo {
    margin: 16px;
    height: 100px;
}

header > .header-menu-item {
    justify-content: center;
    align-items: center;
    display: flex;
    margin: auto 32px;
    font-size: 1.5em;
}

.header-menu-item > a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 900;
    padding-left: 32px;
}

.header-menu-item > a:hover {
    color: var(--secondary-color-accent);
}

.header-menu-item > a.active {
    color: #0e0e0e;
}

.story-box {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}

.story-box > *{ 
    width: 15%;
}

.story-box > .story-explanation {
    margin-top: 16px;
    color: #ffffff;
    background-color: #203864;
    text-align: center;
    padding: 16px;
    border-radius: 24px;
    min-height: 10vh;
    font-size: 1.2rem;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}
  

section.main-hero {
    background-image: url('banner.svg');
    background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;     
}

section.main-hero  * {
    color: #f3f3f3;
}

section.main-hero > div.hero-texts {
    max-width: 50vw;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 6rem;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
}

div.hero-buttons {
    margin-top: 32px;
    text-align: center;
}

section.main-hero > div.hero-buttons > a.button {
    margin-bottom: 32px;
}

a.button {
    display: inline-block;
    text-decoration: none;
    color: #f3f3f3;
    padding: 12px;
    border: 3px solid var(--secondary-color);
    background-color: var(--secondary-color);
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: 800;
}
a.button:hover{
    border: 3px solid var(--secondary-color-accent);
    background-color: var(--secondary-color-accent);
}

div.hero-texts > h1 {
    font-size: 2.5rem;
    font-weight: 800;

}

section > p.introduction-text {
    font-size: 1.3rem;
}

main {
    color: #0e0e0e;

}

main h1, h2 {
    color: var(--secondary-color);
}

main > section:not(.main-hero) {
    max-width: 50vw;
    margin-left: auto;
    margin-right: auto;
}

section.main-section {
    margin-top: 5vh;
    font-size: 0.9rem;
}

section.main-section > h1 {
    font-size: 2.5rem;
}

section.main-section > a:not(.button) {
    color: var(--secondary-color);
}

footer > p {
    padding: 32px;
    color: #e3e3e3;
    font-size: 0.8rem;
}
section > ul > li::marker {
    content: '- ';
    font-size: 2rem;
    color: var(--secondary-color);
}
li > span.question {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

@media only screen and (max-width: 600px) {
    main > section:not(.main-hero) {
        max-width: 90vw;
        margin-left: auto;
        margin-right: auto;
    }

    .story-box > .story-explanation {
        font-size: 1rem;
        width: 20%;
    }

    .story-box > :not(.story-explanation) {
        display: none;
    }
}