:root {
    --header-height: 100px;
}

/* =========================
   Header
========================= */

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: center;

    color: white;

    background: rgba(0, 0, 0, 0.1);
    
    backdrop-filter: blur(10px);
}

/* =========================
   Navigation Container
========================= */

.header-navigation {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    margin: 0 var(--side-padding);
}

/* =========================
   Logo
========================= */

.header-navigation__logo {
    height: 100%;
    padding: 15px 0;
    transition: transform 0.3s ease;
}

.header-navigation__logo:hover {
    transform: scale(1.1);
}

.header-navigation__logo img {
    height: 100%;
}

/* =========================
   Navigation Menu
========================= */

.header-navigation__menu {
    flex: 1;
}

.header-navigation__menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* =========================
   Navigation Items
========================= */

.header-navigation__menu li {
    position: relative;
    font-weight: bold;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.header-navigation .dropdown {
    opacity: 1;
} 

.header-navigation .dropdown .dropdown-toggle,
.header-navigation .dropdown .dropdown-menu li {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.header-navigation__menu li:hover,
.header-navigation__menu .dropdown:hover .dropdown-toggle,
.header-navigation .dropdown .dropdown-menu li:hover {
    opacity: 0.6;
}

.header-navigation__menu .dropdown:hover {
    opacity: 1;
}

.header-navigation__menu li.active-page {
    opacity: 1;
}

.header-navigation__menu  .dropdown .dropdown-toggle.active-page,
.header-navigation__menu  .dropdown .dropdown-menu li.active-page {
    opacity: 1;
}

/* =========================
   Dropdown
========================= */

.dropdown-toggle {
    cursor: pointer;
    color: var(--primary-text-color);
    font-size: 3rem;
}

/* hidden by default */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    flex-direction: column;

    /* background: rgba(0,0,0,0.85); */
    padding: 15px 20px;
    border-radius: 0 0 40px 40px;
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;

    list-style: none;
    align-items: center;

    overflow: hidden;
}

.dropdown-menu .bg {

    position: absolute;
    inset: 0;

    margin-top: 17px;

    height: 100%;
    width: 100%;
    
    background: rgba(0, 0, 0, 0.1);
    
    backdrop-filter: blur(10px);

}

/* show on hover */

.dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
}

/* dropdown items */

.dropdown-menu li {
    opacity: 1;
    margin: 6px 0;
}

.dropdown-menu a {
    font-size: 1.6rem;
    white-space: nowrap;
}

/* =========================
   Links
========================= */

.header-navigation__menu a {
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 3rem;
}