/* Navigation bar*/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--nav-bar-color);
    min-height: var(--nav-bar-height);
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-button {
    display: flex;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 8px;
    max-width: 160px;
    min-width: 110px;
    background: transparent;

    /* fallback color for old browsers */
    border-radius: 2px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.1s ease-out;

    justify-content: center;
    align-items: center;

    font-size: 0.9rem;
}

.nav-button:hover {
    color: var(--background-color);
    background: var(--button-color);
    border: 1px;
    cursor: pointer;
}

.nav-links {
    font-weight: bold;
}

.with-border {
    border: 1px solid #fff;
}

.nav-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Logo */

.logo {
    border-radius: 10%;
    width: 50px;
    height: 50px;
    border: 2px;
}

.logo-div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 20px;
}

.nav-logo-button {
    display: flex;
    align-items: center;
    gap: 20px;

    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-logo-button .logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-logo-button:hover {
    color: var(--button-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        border: 1px solid #fff;
        border-radius: 10%;
    }

    .nav-toggle:hover {
        background: var(--button-color);
        color: var(--background-color);
        border: 1px
    }

    .navbar-right {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--background-color);
        position: absolute;
        top: 50px;
        left: 0;
        padding: 10px 0;
        z-index: 998;
    }

    .navbar-right.active {
        display: flex;
    }

    .nav-button {
        width: 100%;
        justify-content: center;
    }

    .navbar-right .nav-button {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        justify-content: center;
        padding: 12px 16px;
        text-align: center;
    }
}