/* header.css */

header .header-top a {
    display: block;
    padding: 10px 0;
}

header .header-main {
    padding: 15px 0px;
}

header .logo a {
    display: block;
    line-height: 0;
}

header .logo img {
    height: 45px;
}

header .navbar {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-left: 40px;
}

header .navbar ul li a {
    color: var(--clr-dark);
    font-size: var(--fs-small);
}

header .buttons > .btn {
    padding: 10px 15px;
    font-size: 14px;
}

header .login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

header .login > span {
    line-height: 1;
}

header .login svg {
    width: 0.8em;
}

/* Header layout */

.header-main__inner {
    display: flex;
    justify-content: space-between; /* Default: Logo left, Navbar & Buttons right */
    align-items: center;
}

.header-main__inner .nav-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#header.nav-left .header-main__inner .nav-container {
    justify-content: space-between;
}

/* Mobile Nav */

.hamburger {
    cursor: pointer;
    display: none;
    z-index: 9999;
}

.hamburger .hamburger__line {
    width: 30px;
    height: 3px;
    background-color: var(--clr-1-txt);
    margin: 5px 0;
}

.hamburger .hamburger__line:last-child {
    margin-bottom: 0;
}

.hamburger .hamburger__line:first-child {
    margin-top: 0;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-container .navbar {
        display: none;
    }

    .nav-container.open .navbar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        background: var(--clr-1-main);
        margin: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-container.open .navbar .menu {
        flex-direction: column;
        gap: 5px;
    }
}