@font-face {
    font-family: "Inter";
    src: url("/font/Inter-VariableFont_opsz,wght.ttf");
    font-style: normal;
    font-weight: 100 900;
}
@font-face {
    font-family: "Inter";
    src: url("/font/Inter-Italic-VariableFont_opsz,wght.ttf");
    font-style: italic;
    font-weight: 100 900;
}
@font-face {
    font-family: "Inter-Tight";
    src: url("/font/InterTight-VariableFont_wght.ttf");
    font-style: normal;
    font-weight: 100 900;
}
@font-face {
    font-family: "Inter-Tight";
    src: url("/font/InterTight-Italic-VariableFont_wght.ttf");
    font-style: italic;
    font-weight: 100 900;
}

:root {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 10px;
    scroll-behavior: smooth;
    background-color: #FFFFFF;

    --company-color: rgb(237 28 36);
    
}
*, *:before, *:after {
    box-sizing: border-box;
}

i {
    font-style: italic;
}

sup {
    font-size: 0.83em;
    position: relative;
    bottom: 0.3em;
}
sub {
    font-size: 0.83em;
    position: relative;
    top: 0.3em;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 1.6rem;
    line-height: calc(1.6rem * 1.5);
}

input, textarea, button, select {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.invisible {
    opacity: 0%;
}
.content-body {
    flex-grow: 1;
}

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    /* padding: 10px; */
}

.header-main .wrapper {
    padding: 0px;
    height: 60px;
    display: flex;
    align-items: center;
    
    
}

img, svg, video, canvas, iframe {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

img {
    min-width: 0;
}

p, a, li, span {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

.text-no-wrap {
    text-wrap: nowrap;
}

a {
    text-decoration: none;
    color: black;
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.5);
}
p {
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.5);
}
b {
    font-weight: 600;
}

.header-buffer {
    min-width: 100%;
    min-height: 60px;
}

.header-main {
    position: fixed;
    background-color: #FFFFFF;
    top: 0;
    width: 100%;
    height: 60px;
    box-shadow: 0px 0px 2px rgb(0 0 0 / 0.5);
    z-index: 1000;
    transition: transform 300ms ease-in-out;
    
}
.header-logo {
    height: 60px;
}
.header-nav-list {
    display:flex;
    flex-wrap: nowrap;
}

.header-button {
    height: 60px;
    position: relative;
}

.header-button > a, .header-button > span {
    text-wrap: nowrap;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 60px;
    display: block;
    padding: 0px 16px;
    transition: ease-in-out 100ms;
}
.header-button:hover, :is(.header-button, .header-button > a):focus {
    background-color: #EEEEEE;
    border-bottom: 1px solid var(--company-color);
}


.dropdown-container {
    filter: drop-shadow(0px 0px 2px rgb(0 0 0 / 0.7));
}
.dropdown-content {
    position: absolute;
    border: 2px solid rgb(64 64 64);
    list-style: none;
    visibility: hidden;
    opacity: 0%;
    transition: ease-in-out 100ms;
    min-width: 100%;
    width: max-content;
    max-width: 250px;
    z-index: -100;
    
}
.dropdown-side {
    left: 100%;
    top: -2px;
    /* width: max-content;
    max-width: 250px; */
}
.dropdown-side > .dropdown-item > a {
    font-size: 1.4rem;
}
:is(:is(.header-button, .dropdown-item):hover, .header-button:focus) > .dropdown-content {
    visibility: visible;
    opacity: 100%;
}
.dropdown-item > a:focus + .dropdown-content, .dropdown-content:has(a:focus) {
    visibility: visible;
    opacity: 100%;
}
.dropdown-item {
    position: relative;
    display: block;
    width: 100%;
}
.dropdown-item > a {
    background-color: #1A1A1A;
    font-size: 1.4rem;
    font-weight: 500;
    display: block;
    color:white;
    padding: 6px 16px;
    line-height:calc(1.4rem * 1.2);
    text-transform: none;
    transition: ease-in-out 100ms;
}

.dropdown-item > span {
    background-color: #1A1A1A;
    font-size: 1.8rem;
    font-weight: 500;
    display: block;
    color:lightgrey;
    padding-top: 16px;
    padding-bottom: 6px;
    padding-left: 20px;
    padding-right: 20px;
    line-height:calc(1.8rem * 1.2);
    text-transform: uppercase;
    transition: ease-in-out 100ms;
}
.dropdown-item:first-child > span {
    padding-top: 6px;
}

.dropdown-item > :is(a:hover, a:focus){
    color: #AAAAAA;
}


.footer-main {
    padding-top: 20px;
    padding-bottom: 40px;
    width: 100%;
    background-color: #303030;
}

.footer-main .wrapper {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 40px;
    column-gap: 40px;

}

.footer-main .social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
}

.footer-main .social img {
    width: 20px;
}

.footer-main :is(li, a, h2) {
    color: white;
}

.footer-main a {
    transition: ease-in-out 100ms;
    display: block;
}

.footer-main a:hover {
    opacity: 0.8;
}

.footer-main h2 {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2.0rem;
    padding: 0;
    margin-top: 0px;
}

.footer-main .title-underline::after {
    display: block;
    background-color: var(--company-color);
    border-radius: 1px;
    position: absolute;
    content: "";
    width: 100%;
    height:2px;
}

.footer-main :is(li, a) {
    font-size: 1.2rem;
    line-height: calc(1.2rem * 1.5);
}
.footer-indent {
    margin-left: 10px;
    
}
.footer-indent a {
    font-size: 1.0rem;
    line-height: calc(1.0rem * 1.5);
    
}
.footer-navigation-list a::before {
    content: "• ";
}

.footer-navigation-list {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    /* align-items: top; */
    /* display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 20px;
    column-gap: 20px; */
}

.footer-main-box {
    flex-grow: 1;
}



.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}


h1, h2 {
    width:fit-content;
    font-size: 4.0rem;
    font-weight: 700;
    line-height: calc(4.0rem * 1.2);
    color: black;
    margin-top: 0px;
    margin-bottom: 30px;
    position: relative;
}

.title-underline-large {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    text-align: center;
    font-size: 4.4rem;
    line-height: calc(4.4rem * 1.2);
}
.title-underline-large::after {
    display: block;
    background-color: var(--company-color);
    border-radius: 2px;
    position: absolute;
    content: "";
    width: 300px;
    height: 5px;
    bottom: -12px;
    left: calc(50% - 300px / 2);
}

.title-underline::after {
    display: block;
    background-color: var(--company-color);
    border-radius: 2px;
    position: absolute;
    content: "";
    width: 150px;
    height: 4px;
    bottom: -6px;
}

.title-underline-small {
    font-size: 3.0rem;
    line-height: calc(3.0rem * 1.2);
}
.title-underline-small::after {
    display: block;
    background-color: var(--company-color);
    border-radius: 2px;
    position: absolute;
    content: "";
    width: 150px;
    height: 4px;
    bottom: -6px;
}

.top-level-container {
    z-index: 50;
    padding: 20px 0px;
    width: 100%;
}
.top-level-container:last-child {
    margin-bottom: 40px;
}

.burger {
    display: none;
}

.burger-backdrop {
    width: 100vw;
    height: 100vh;
    background-color: rgb(0 0 0 / 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0%;
    pointer-events: none;
    transition: 200ms ease-in-out;
    display: flex;
    justify-content: center;
    padding-top: 5vh;
}

#burgerMenu {
    width: 90%;
    max-width: 400px;
    height: 70vh;
    max-height: 400px;
    overflow: auto;
    background-color: grey;
    z-index: 1;
    transition: 200ms ease-in-out;
    opacity: 0%;
    pointer-events: none;
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 2px rgb(0, 0, 0, 0.5);
    visibility: hidden;
    position: relative;
}


.close-burger-button {
    display: block;
    margin-right: 0;
    margin-left: auto;
    margin-bottom: 10px;
    width: 32px;
    height: 32px;
    transition: 100ms ease-in-out;
    background-color: #FFFFFF;
    padding: 0;
    border: none;
    border-radius: 50%;
}
.close-burger-button > img {
    width:100%;
    height: 100%;
    display: block;
}

.burger-content-block {
    position: absolute;
    width: calc(100% - 40px);
}
.burger-title {
    height: 4rem;
    width: 100%;
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}
.burger-title > span {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 4rem;
    text-align: center;
    margin-left: 20px;

}
.burger-title > button {
    background-color: rgb(0 0 0 / 0.05);
    border: none;
    height: 100%;
    width: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.burger-title > button > img {
    height: 60%;
}

.burger-list li, .burger-button-fullsize {
    width: 100%;
}
.burger-list li:not(:has( > ul), :has( > .burger-button-fullsize)), .burger-list > li > .burger-button-fullsize {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 4rem;
    background-color: transparent;
    border: none;
    padding: 0;
}
.burger-button-fullsize {
    cursor: pointer;
}


.burger-list :is(li, .burger-button-fullsize) > :is(span, a) {
    display: flex;
    align-items: center;
    min-height: 4rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: calc(1.6rem * 1.5);
    padding: 4px 0px;
    flex-grow: 1;
}

.burger-list > li > .menu-heading {
    color: #606060;
    font-size: 1.8rem;
    line-height: calc(1.8rem * 1.5);
    text-transform: uppercase;

}
.burger-list > li:has( > .menu-heading) {
    margin-top: 12px;
}
.burger-list > li:has( > .menu.heading):first-child {
    margin-top: 0;
}

.burger-list .arrow-button > img {
    height:50%;
}
.burger-list .arrow-button {
    background-color: rgb(0 0 0 / 0.05);
    border: none;
    height: 4rem;
    width: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.js .fade-in-main {
    transition: opacity 500ms ease-in-out, transform 500ms ease-out;
}
.js .fade-in-start {
    opacity: 0;
    transform: translateY(20px);
}

.darker-background {
    background-color: rgb(240 240 240);
    transition: background-color 400ms ease-in-out;
}
.darker-background:hover, .darker-background:has(*:focus) {
    background-color: rgb(250 235 235);
}

.block-link {
    display: block;
    width: 100%;
}

.bold-larger {
    font-size: 2.2rem;
    line-height: calc(2.2rem * 1.3);
    font-weight: 600;
}


@media only screen and (max-width: 950px) {
    .burger {
        display: block;
        font-size: 2.6rem;
        font-weight: 500;
        background-color: transparent;
        border: none;
        margin-right: 10px;
        width: 40px;
    }
    .header-nav {
        display: none;
    }

    h1, h2 {
        text-align: center;
        font-size: 3rem;
        line-height: 3.5rem;
        justify-self: center;
        width: 100%;
    }

    .title-underline-large {
        font-size: 3.6rem;
        line-height: calc(3.6rem * 1.2);
    }
    .title-underline-large::after {
        width: min(200px, 50%);
        bottom: -16px;
        left: calc(50% - min(200px, 50%) / 2);
    }

    .title-underline-small {
        font-size: 2.4rem;
        line-height: calc(2.4rem * 1.2);
    }

    .title-underline-small::after {
        width: min(100px, 50%);
        left: calc(50% - min(100px, 50%) / 2);
        bottom: -12px;
    }

    .title-underline::after {
        width: min(100px, 50%);
        left: calc(50% - min(100px, 50%) / 2);
        bottom: -12px;
    }
    .footer-main .title-underline::after {
        left: 0;
        bottom: -4px;
    }
    p {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.5);
    }
    a {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.5);
    }

    .footer-main > .wrapper {
        flex-direction: column;
    }

    .footer-main .social {
        justify-content: center;
    }

    .footer-main :is(li, a) {
        text-align: center;
        font-size: 1rem;
    }
    .footer-navigation-list {
        justify-content: center;
    }

    .footer-navigation-list :is(li, a) {
        text-align: left;
    }

    .footer-main-box {
        justify-content: center;
    }

    .bold-larger {
        font-size: 2.0rem;
        line-height: calc(2.0rem * 1.3);
        text-align: center;
        width: 100%;
    }

    .bold-larger > a {
        font-size: 1.8rem;
        line-height: calc(1.8rem * 1.3);
    }
}