:root {
    --canvas-width: calc(100vw / 1.1);
    --logo-width: 250px;
    --padding: 20px;
    --font-size: 16px;
    --line-height: 28px;

    --primary-color: #004c94;
}

@media only screen and (min-width: 768px) {
    :root {
        --canvas-width: calc(100vw / 1.5);
        --logo-width: 317px;
        --padding: 20px;
        --font-size: 18px;
        --line-height: 28px;
    }

}
@media only screen and (min-width: 1600px) {
    :root {
        --canvas-width: calc(100vw / 3);
        --logo-width: 417px;
    }

}

/* pt-sans-regular - 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: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-v17-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* pt-sans-700 - 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: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-v17-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}

body {
    height: 100vh;
    background: #dae2e9 url(/img/bg-image.webp) no-repeat;
    background-size: cover;
    background-position: 40% 50.0%;
    font-family: 'PT Sans', sans-serif;
    color:var(--primary-color);
    font-size: var(--font-size);
    line-height: var(--line-height);
}
a {
    color:var(--primary-color);
}

p {
    margin-bottom: var(--line-height);
}
img.branding {
    width: var(--logo-width);
    height: auto;
}
main {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

main section {
    gap: var(--padding);
    height: 100vh;
    width: var(--canvas-width);
    background-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(0.5rem);
        -webkit-backdrop-filter: blur(0.5rem);
    padding: var(--padding);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

#impressum {
    position: fixed;
    background-color: var(--primary-color);
    color: #fff;
    width: var(--canvas-width);
    top: 0px;
    bottom: 0px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transform: translateX(calc(var(--canvas-width) * -1));
    transition: ease-in-out all 0.3s;
    padding-top: 85px;
}
#impressum * {
    color: #fff;
}
#impressum .content {
    padding: var(--padding);
    max-height: 100%;
        overflow-y: auto;
}
html.impressum #impressum {
    transform: translateX(0);
}

#impressum button {
    position: fixed;
    top: var(--padding);
    right: var(--padding);
    border: none;
    background: none;
    cursor: pointer;
}
#impressum buttton svg {
    display: block;
    width: 48px;
    height: 48px;
}
#impressum button svg path {
    fill: #fff;
}

h1 {
    font-size: 1.7rem;
    line-height: 2.7rem;
    margin-bottom: var(--line-height);
}

footer nav ul {
    list-style: none;
    padding: 0;
}
footer nav ul li a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
}

@media only screen and (min-width: 1024px) {
    #impressum {
        align-items: center;
    }
}