:root {
    --banner-height: 35vh;
    --footer-height: calc(var(--banner-height) * 185 / 330);
}

@media (max-width: 767px) {
    :root {
        --banner-height: 24vh;
    }
    .svg-banner {
        height: var(--banner-height);
    }
}

.svg-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: var(--banner-height);
    overflow: hidden;
    line-height: 0;
}

.svg-banner svg {
    height: 100%;
    width: auto;
    display: block;
    position: absolute;
    right: 0;
}

.svg-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

@font-face {
    font-family: "Comfortaa";
    src:
        url("/fonts/Comfortaa.woff2") format("woff2"),
        url("/fonts/Comfortaa.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Red Hat Mono";
    src:
        url("/fonts/RedHatMono.woff2") format("woff2"),
        url("/fonts/RedHatMono.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

.svg-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: var(--footer-height);
    overflow: hidden;
    line-height: 0;
}

.svg-footer svg {
    height: 100%;
    width: auto;
    display: block;
    position: absolute;
    right: 0;
}

.page-top {
    padding-top: clamp(0rem, 2vw, 2rem);
}

.navbar-toggler-icon {
    background-image: url("/img/hamburger-light.svg");
}

body.dark .navbar-toggler-icon {
    background-image: url("/img/hamburger-dark.svg");
}
