header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #000;
    padding: 20px 0;
}

@media screen and (max-width: 1150px) {
    header nav li:not(:first-child):not(:last-child) {
        display: none;
    }
    .mobileNavToggle {
        display: block !important;
    }
    .mobileNavToggle.active img {
        content: url('assets/close_w.svg');
    }
}

header nav ul {
    margin: 0;
    padding: 0;
}

header .headerLogo {
    width: clamp(50px, 20vw, 150px);
    margin-right: auto;
    padding: 0;
}

header .headerLogo img {
    width: 100%;
    height: auto;
}

header nav li {
    display: inline-block;
    position: relative;
    padding: 10px;
    vertical-align: middle;
    z-index: 0;
}

header a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    text-wrap-mode: nowrap;
}

.headerLink a:after {
    content: '';
    background: #ffe207;
    position: absolute;
    top: 55%;
    bottom: 0;
    left: 0;
    width: 0;
    z-index: -1;
    transition: width ease-in-out 0.2s;
    clip-path: polygon(3px 0%, 100% 0%, calc(100% - 3px) 100%, 0% 100%);
}
.headerLink:hover > a:after {
    width: 100%;
}

#triggerDropdown:hover .dropdownZone {
    transform: scaleY(1);
    filter: brightness(1);
}

.dropdownZone {
    transform: scaleY(0);
    filter: brightness(0);
    transform-origin: top;
    position: absolute;
    left: 0;
    top: 100%;
    transition: all ease-out 0.3s;
}

.headerDropdown {
    background: black;
    padding: 30px;
    margin-top: 35px;
    flex-direction: column;
    align-items: flex-start;
}

.mobileNavToggle {
    display: none;
    padding: 0;
}

.mobileNavToggle img {
    height: 30px;
}

.mobileNav {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    background: black;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    transform: translateY(-100%);
    z-index: 998;
    overflow: hidden;
}

.mobileNav.active {
    transform: translateY(0);
}

body:has(.mobileNav.active) {
    overflow: hidden;
}

.mobileNav nav {
    height: 100%;
}

.mobileNav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 1.7em;
    font-weight: 600;
}

.mobileNav nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    justify-content: center;
    height: 100%;
    gap: 50px;
}

.mobileNav .subMenu {
    gap: 20px;
}

.mobileNav .subLink a {
    font-size: 1.4em;
    font-weight: 300 !important;
}

.mobileNav nav li {
    display: block;
}

footer {
    background: #000;
    padding: 25px 0;
    color: white;
}

.spaceFlex {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 80px;
}
