* {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    width: 100%;
    height: 80px;
    background-color: #fff;
    /* box-shadow: 0px 0px 8px #3227440a,0px 0px 1px #3227443d,0px 8px 8px -8px #3227443d; */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fff;
    /* height: 100%; */
    z-index: 1000;
    /* testing */
    position: fixed;
    width: 100%;
    box-shadow: 0px 0px 8px #3227440a,0px 0px 1px #3227443d,0px 8px 8px -8px #3227443d;
}

/* LOGO */
.navbar-brand {
    display: flex;
    gap: 5px;
    align-items: center;
}

.navbar-brand a {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-brand a img {
    max-height: 80px;
    /* transform: translateY(5px); */
}

.navbar-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    /* background-color: #fff; */
}

/* General Mobile Menu Styles */
#mobile-menu {
    display: block;
    width: 100%;
    background-color: #fff;
    border: none;
    position: fixed;
    transition: 0.3s ease;
    right: 0;
    /* bottom: calc(100vh - 80px); */
    /* bottom: 100vh; */
    top: -100%;
    z-index: 200;
}

#mobile-menu.active {
    /* transform: translateY(100%); */
    /* transform: translateY(calc(100% + 80px)); */
    top: 80px;
}

#mobile-menu li {
    text-align: center;
}

/* Transparent overlay */
#overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

/* Main navbar menu links */
.navbar-item {
    padding: 10px 15px;
}

.navbar-item a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.navbar-item a:hover {
    color: #555;
}

/* Dropdown menu animation */
.dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

/* Show the menu by sliding it in */
#overlay.active, .dropdown-menu.active {
    display: block;
}

.dropdown-menu li {
    font-size: 14px;
}

.dropdown-menu li a {
    display: inline-block;
    color: #333;
    text-decoration: none;
    padding: 8px 20px;
    width: 100%;
}

#dropdown-toggle {
    display: flex;
    justify-content: center;
}

.dropdown-menu li:hover {
    background-color: #f2f2f2;
}

.navbar-toggle {
    display: none;
    cursor: pointer;
}


@media (max-width: 990px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    /*.navbar-menu.active {
        display: flex;
    }*/

    .navbar-item {
        margin: 10px 0;
    }

    .navbar-toggle {
        display: block;
    }
}






.navbar-item {
    margin-left: 5px;
    padding: 10px 15px;
}

#login-link {
    margin-left: 10px;
    border: 1px solid #000; 
    border-radius: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
}

#login-link a {
    display: inline-block;
    padding: 10px 15px;
    width: 100%;
}

#login-link:hover {
    border-color: #76779f;
}

#login-link:hover a {
    color: #76779f;
}

#user-btn {
    padding: 0;
}

.user-btn {
    background-color: transparent;
    border: 1px solid #000; 
    border-radius: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
}

.user-btn p {
    margin: 0;
    font-size: 18px;
}

.user-btn::after, #dropdown-toggle::after {
    content: "";
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-width: 0.3125rem 0.3125rem 0px;
    border-color: currentColor transparent transparent;
    margin-left: 0.5rem;
    margin-top: 0.65rem;
    transition: transform 0.125s;
    transform: translateY(-40%);
}

.user-btn.rotated::after, #dropdown-toggle.rotated::after {
    transform: translateY(-40%) rotate(180deg);
}

.navbar-item > a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.navbar-item > a:hover {
    color: #ddd;
}

.toggle-icon {
    font-size: 24px;
    color: #333;
}

.profile-options {
    flex-direction: column;
    list-style: none;
    padding: 4px;
    width: 200px;
    position: absolute;
    top: 60px;
    right: 0;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: white;
    z-index: 5;
}

.profile-option {
    list-style: none;
    font-size: 1rem;
    font-weight: 600;
    /* line-height: 1; */
    /* padding: 10px; */
    cursor: pointer;
    border-radius: 3px;

}

.profile-option a {
    display: inline-block;
    padding: 10px;
    width: 100%;
}

.profile-option:hover {
    background-color: rgba(212, 212, 228, 0.2);
}

