header {
    width: 100%;
    background-color: #191e1f;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    z-index: 1000;
}

#navbar {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%;
    width: 100%;
    margin-right: 200px;
}

#nav_logo {
    display: flex;
    align-items: center;
}

#nav_logo img {
    height: var(--logo-height, 40px);
    width: auto;
    cursor: pointer;
}

#nav_list {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-item a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #10A3C2;
}

.nav-item.active a {
    color: #10A3C2;
    border-bottom: 3px solid #10A3C2;
}

#auth_buttons {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
}

.btn-default {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #056579;
    color: white;
    border-radius: 5px;
    padding: 10px 18px;
    font-weight: 550;
    cursor: pointer;
    transition: background-color .3s ease;
}

.btn-default:hover {
    background-color: #10A3C2;
}

#mobile_btn {
    display: none;
    position: absolute;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #10A3C2;
    z-index: 1001;
    left: 80%;
}

#mobile_menu.active {
    display: none;
    justify-content: center;
}

#mobile_menu {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #191e1f;
    z-index: 1000;
    padding: 20px 0;
    text-align: center;
}

#mobile_nav_list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile_nav_list .nav-item {
    margin-bottom: 15px;
}

#mobile_nav_list .nav-item a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

#mobile_nav_list .nav-item a:hover {
    color: #10A3C2;
}

#auth_buttons_mobile {
    margin-top: 20px;
    margin-left: 50px;
}

@media screen and (max-width: 1250px) {
    header {
        padding: 20px 4%;
    }

    #nav_logo img {
        margin-left: 100px;
    }

    #auth_buttons {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-top: 10px;
    }

    .btn-default {
        margin-top: 10px;
    }

    #nav_list,
    #auth_buttons {
        display: none;
    }

    #mobile_btn {
        display: flex;
        justify-content: center;
    }

    #mobile_menu.active {
        display: flex;
    }
}