/*Header and nav bar*/
.header {
    width: 100%;
    height: 80px;
    background: linear-gradient(0deg, #dbcd7069 0%, #6c5013c7 100%), url('../public/images/background-gold.jpeg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-link {
    color: var(--text-inverse-color);
    text-decoration: none;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 28px;
    font-weight: 500;
    padding: 0 20px;
}

.logo-container-img {
    width: 65px;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    width: 60px;
    height: 60px;
}

.logo-text {
    font-weight: 500;
    line-height: 25px;
}

.nav-menu {
    display: flex;
    margin-right: 40px;
    list-style: none;
}

.nav-menu-item {
    font-size: 20px;
    font-weight: 500;
    margin: 0 10px;
    height: 80px;
    width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu-link {
    padding: 8px 12px;
}

.nav-menu-link:hover,
.nav-menu-link_active {
    background: var(--text-background-color-brown);
    border-radius: 5px;
    transition: 0.5s;
}

.nav-toggle {
    color: var(--text-inverse-color);
    background: none;
    border: none;
    font-size: 26px;
    font-weight: 500;
    padding: 0 20px;
    line-height: 60px;
    cursor: pointer;
    display: none;
}

@media only screen and (max-width: 768px) {

    .header,
    .nav {
        height: 60px;
    }

    .logo {
        padding: 0 10px;
        height: 60px;
    }

    .logo-container-img {
        width: 50px;
        height: 50px;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        font-size: 22px;
    }

    .nav-menu {
        flex-direction: column;
        margin: 0;
        background-color: var(--backgroud-color-container-deg);
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        align-items: center;
        padding: 20px 0;

        height: calc(100% - 60px);
        overflow-y: auto;

        left: 100%;
        transition: left 0.5s;
    }

    .nav-menu-item {
        line-height: 70px;
    }

    .nav-menu-link:hover,
    .nav-menu-link_active {
        background: none;
        color: var(--third-color);
        font-weight: 500;
        transition: 0.5s;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu_visible {
        left: 0;
        transition: left 0.5s;
    }

    .nav-toggle:focus-visible:not(:focus-visible) {
        outline: none;
    }

}