.header {
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.99);
    display: flex;
    width: 100%;
    font-weight: 400;
}

.header-content {
    justify-content: space-between;
    display: flex;
    width: 100vw;
    max-width: 1500px;
    gap: 20px;
    padding: 12px 1rem;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    margin-right: 8px;
    aspect-ratio: 1.02;
    object-fit: auto;
    object-position: center;
    width: 53px;
    border-radius: 50%;
}

.logo-text {
    text-shadow: 0px 0.793px 4.759px rgba(0, 0, 0, 0.24);
    font-family: Baskervville, sans-serif;
    flex-grow: 1;
    flex-basis: auto;
    margin: auto 0;
    font-size: 19px;
}

.nav-container {
    align-items: center;
    display: flex;
    padding-left: 20px;
    gap: 20px;
    font-size: 16px;
    justify-content: space-between;
    margin: auto 0;
    text-decoration: none;
}

.nav-item, .nav-link {
    color: rgba(0, 0, 0, 0.5);
    font-family: Inter, sans-serif;
    align-self: stretch;
    margin: auto 0;
    text-decoration: none;
}

.active {
    text-decoration: none;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.5);
    align-self: stretch;
    margin: auto 0;
    font-family: Inter, sans-serif;
}

.login-button {
    font-family: Inter, sans-serif;
    justify-content: center;
    border-radius: 8px;
    background-color: #050505;
    color: #fff;
    cursor: pointer;
    padding: 16px 20px;
}

.profile-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #050505;
    padding: 11px 15px;
    cursor: pointer;
}

.profile-image {
    width: 29px;
    aspect-ratio: 1;
    object-fit: auto;
    object-position: center;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-nav.open {
    display: flex;
}

.desktop-nav {
    display: flex;
    gap: 1rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    box-shadow: none;
    align-items: center;
}

.mobile-nav.open {
    display: flex;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-element {
    display: none;
}

@media screen and (max-width: 768px) {
    .header-content {
        z-index: 10;
    }

    .mobile-element {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.open {
        display: flex;
        flex-direction: column;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        top: 4rem;
        width: 100%;
        align-items: center;
        justify-content: start;
        padding: 10px 0;
    }

    .header-content {
        justify-content: space-between;
        align-items: center;
        position: fixed;
        background: #fff;
        top: 0;
        box-sizing: border-box;
    }

    .island-container {
        margin-top: 5rem;
    }

    .nav-link, .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
        display: flex;
        width: 100%;
        align-self: center;
        overflow: hidden;
        color: #000;
        justify-content: space-between;
        font: 400 16px Inter, sans-serif;
        padding: 2rem 1rem;
        margin: 0 auto;
        justify-content: center;
    }

    main {
        margin-top: 40px;
    }

    .active {
        border-bottom: 1px solid rgba(0, 0, 0, 0.5);
        display: flex;
        width: 100%;
        align-items: center;
        overflow: hidden;
        color: #000;
        justify-content: space-between;
        font: 400 16px Inter, sans-serif;
        padding: 2rem 1rem;
        margin: 0;
        text-decoration: none;
        font-weight: bold;
        justify-content: center;
    }
}