﻿:root {
    --header-height: 100px;
}

body {
    font-family: system-ui, sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    font-weight: normal;
}

h1 {
    font-size: 44px;
}

    h1 span {
        color: #bb1d2c;
    }

a {
    color: #bb1d2c;
}

img {
    max-width: 100%;
    height: auto;
}

div.content {
    padding: 0 40px;
}

@media only screen and (max-width: 960px) {
    div.content {
        padding: 0 16px;
    }
}

div.buttons {
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    gap: 20px;
}

@media only screen and (max-width: 460px) {
    div.buttons {
        flex-direction: column;
        align-items: center;
    }
}

div.credential {
    display: flex;
    align-items: center;
    gap: 40px;
}

    div.credential div.image {
        flex: 0 0 100px;
    }

body {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

header {
    min-height: var(--header-height);
}

footer {
    border-top: solid 1px #dadada;
}

main {
    flex-grow: 1;
}

section {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

    section div.container {
        max-width: 1440px;
        width: 100%;
    }

header section {
    position: fixed;
    background: rgba(255, 255, 255, .8);
    transition: transform 0.3s ease-in-out;
    backdrop-filter: saturate(1.80) blur(20px);
    transform: translateZ(0); /* Force hardware acceleration */
    will-change: transform; /* Optimize for animations */
    height: var(--header-height);
    padding: 0;
    top: 0px;
    left: 0px;
    width: 100%;
}

    header section.slide-up {
        transform: translateY(-100%);
    }

    header section.slide-down {
        transform: translateY(0);
    }

    header section div.container {
        display: flex;
        align-items: center;
    }

    header section a {
        text-decoration: none;
    }

section.section-hero {
    background: #f4f4f4; /* url(Images/mockup_background.png);*/
    background-size: 100%;
    min-height: calc((100dvh - var(--header-height)) * 0.72);
    align-items: center;
}

    section.section-hero div.container {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        gap: 100px;
    }

        section.section-hero div.container > * {
            flex: 1;
        }


@media only screen and (max-width: 960px) {
    section.section-hero {
        min-height: 0;
    }

        section.section-hero div.container {
            flex-direction: column;
            gap: 0;
        }
}

section.section-columns {
}

    section.section-columns div.container {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

        section.section-columns div.container div.content {
            flex-grow: 1;
            flex-basis: 0;
        }

@media only screen and (max-width: 960px) {
    section.section-columns div.container {
        flex-direction: column;
    }
}
