:root {
    --mobile-viewport-height: 100vh;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: "Rubik", sans-serif;
    color: rgb(50, 50, 50);
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

a {
    color: rgb(50, 50, 50);
}

.fc {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    user-select: none;
}

header {
    padding: 16px;
    width: 100%;
    font-weight: 500;
    gap: 30px;
    user-select: none;
    top: 0;
    background-color: rgba(99, 99, 99, .6);
    transition: background-color 500ms;
    z-index: 99;
}

header.solid {
    background-color: rgba(99, 99, 99, .9);
}

header .brand h1 {
    transition: color 500ms;
}

header > div > h1 {
    font-size: 30px;
}

header > .brand {
    left: 20px;
    position: absolute;
    flex-direction: column;
    color: #ddd;
}

header > .brand > div:last-child {
    font-size: 18px;
    white-space: nowrap;
}

header > .brand > h1 {
    font-size: 38px;
}

.nav {
    height: 64px;
    border-radius: 50px;
    background: #eee;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    z-index: 98;
}

.nav > ul {
    display: flex;
    list-style-type: none;
    font-weight: 500;
    padding: 20px;
    white-space: nowrap;
}

.nav > ul:last-of-type li a {
    cursor: pointer;
    padding: 20px 10px;
    text-decoration: none;
}

.nav > ul:first-child li a {
    cursor: pointer;
    padding: 20px 25px;
    text-decoration: none;
    transition: 200ms;
}

.nav > ul:first-child li > a:hover,
.nav > ul:first-child li > a:has(+ .dropdown:hover) {
    color: #DCC461 !important;
}

.nav > ul svg {
    width: 20px;
    height: 20px;
}

.nav > ul svg path {
    transition: 200ms;
}

.nav > ul li:hover path {
    fill: #0077B3;
}

header .toggle {
    border: 0;
    background: none;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 20px;
    display: none;
}

header .toggle > div {
    width: 30px;
    height: 30px;
    background-color: white;
    -webkit-mask: url('/img/hamburgerMenu.svg') no-repeat center;
    mask: url('/img/hamburgerMenu.svg') no-repeat center;
    transition: background-color 500ms;
    position: relative;
    z-index: 99;
}

header.open .toggle > div {
    background-color: #323232;
}

.dropdown {
    position: absolute;
    top: 22px;
    min-width: 150px;
    min-height: 50px;
}

.dropdown-content {
    opacity: 0;
    position: absolute;
    background-color: #eee;
    width: 200px;
    left: -30px;
    top: 64px;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 300ms;
    pointer-events: none;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
  
.dropdown-content a:hover {
    background-color: #ccc;
}

.dropdown:hover {
    min-height: 80px;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    pointer-events: all;
}
/*
footer {
    clear: both;
    position: relative;
}*/

.footer-sitemap {
    display: flex;
    justify-content: center;
    height: 200px;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

.footer-sitemap .col-s {
    display: flex;
}

.footer-section {
    width: 250px;
}

.footer-section.no-title {
    margin-top: 32px;
}

.footer-section h3 {
    font-size: 18px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li,
.footer-section ul li a {
    color: #ddd;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #bbb;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: #ccc;
}

@media only screen and (max-width: 1000px) {
    header .brand {
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 999;
    }

    header.open .brand h1 {
        color: #323232 !important;
    }

    header .toggle {
        display: block;
    }

    header .nav {
        height: fit-content;
        max-height: 0px;
        width: 100%;
        border-radius: 0;
        position:absolute;
        top: 0;
        transition: max-height 500ms;
    }

    header.open .nav {
        max-height: 300px;
    }

    .nav > ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 75px;
    }

    .nav > ul:first-child li a {
        padding: 6px;
    }

    .footer-sitemap {
        gap: 30px;
        height: 240px;
    }

    .footer-section {
        width: 160px;
    }

    .footer-section h3 {
        font-size: 20px;
    }

    .col-s {
        gap: 20px;
    }

    .dropdown {
        display: none;
    }
}

@media only screen and (max-width: 750px) {
    .footer-sitemap {
        height: unset;
        justify-content: space-around;
    }

    .footer-sitemap .col-s {
        flex-direction: column;
    }

    .footer-section {
        height: 200px;
    }

    .footer-section ul li a {
        font-size: 18px;
    }
}

@media only screen and (max-width: 450px) {
    .footer-sitemap {
        flex-direction: column;
        gap: 30px;
        line-height: 1.5;
    }

    .footer-section {
        height: fit-content;
        width: 200px;
    }

    .col-s {
        gap: 30px;
        align-items: center;
        text-align: center;
    }
}