/* Top bar */
.top-nav {
    background-color: #F5F0E6;
    display: flex;
    justify-content: space-around;
    padding: 8px;
}

.top-nav-item {
    font-family: "Philosopher", sans-serif;
    font-size: 18px;
}

/* Main navbar */
.navbar-container {
    background-color: #C4B6D2;
    padding: 10px 150px 10px 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-link img {
    margin-left: 20px;
    height: 70PX;
    width: 70PX;
}

.nav-items {
    font-family: "Philosopher", sans-serif;
    font-size: 24px;
    display: flex;
    gap: 26px;
}

.nav-link {
    text-decoration: none;
    color: #F5F0E6;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    background-color: #F5F0E6;
    height: 2px;
    border-radius: 0px;
    transition: 0.4s ease;
}

/* Transform to X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0px, 1px);
}

.hamburger.active span:nth-child(3) {
    opacity: 0;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0px, -1px);
}

/* Fullscreen overlay menu */
.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: #C4B6D2;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    gap: 30px;
    font-size: 30px;
    font-family: "Philosopher", sans-serif;
}

.mobile-menu a {
    color: #F5F0E6;
    text-decoration: none;
}

/* Show menu */
.mobile-menu.active {
    transform: translateY(0);
}

/* Responsive Rules */
@media (max-width: 900px) {

    .top-nav {
        position: sticky;
        top: 0;
    }

    .nav-items {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active {
        position: fixed;
        justify-content: center;
        right: 20px;
    }

    .navbar-container {
        padding: 20px 20px;
    }
}
