/*+++++++++++++++++++++++++++++++++++++++++++++++
            Header Section Styles
************************************************/
.econotec-header {
    background-color: white;
    position: fixed;
    top: 0;
    right: 0;
}

.econotec-header--desktop {
    display: flex;
    height: 50px;
    left: 0;
    z-index: 99;
    border-bottom: 1px solid #212121;
}

.econotec-header--mobile {
    height: 100vh;
    z-index: 999;
    width: 400px;
    min-width: 50%;
    max-width: 100%;
    display: block;
    transition: ease-in-out 0.3s;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.econotec-header--mobile.active {
    transform: translateX(0%);
    opacity: 1;
    pointer-events: all;
}

.econotec-header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    background-color: white;
}

.econotec-header__nav--desktop {
    width: 90%;
    max-width: 1200px;
}

.econotec-header__nav--mobile {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
}

.econotec-header__logo {
    width: auto;
}

.econotec-header__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.econotec-header__menu--main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 4px;
}

.econotec-header__menu--social {
    display: flex;
    gap: 0;
}

.econotec-header__menu--mobile {
    width: 100%;
    flex: 1;
}

.econotec-header__menu-controll--mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid #000;
}

.econotec-header__menu-item {
    padding: 8px;
}

.econotec-header__menu-item--mobile {
    padding: 0;
    border-bottom: 1px solid #000;
}

.econotec-header__menu-item--mobile:hover {
    background-color: #FFFEF1;
}

.econotec-header__menu-item--mobile:hover a{
    font-weight: bold;
    color: var(--primary-color-mode1);
}

.econotec-header__menu-item--current {
    font-weight: bold;
    color: var(--primary-color-mode1);
}

.econotec-header__menu-link {
    text-decoration: none;
    color: #212121;
}

.econotec-header__menu-link:hover {
    color: var(--primary-color-mode1);
    border-bottom: 2px solid var(--primary-color-mode1);
    font-weight: bold;
}

.econotec-header__menu-link--mobile {
    color: var(--primary-color-mode1);
    display: block;
    width: 100%;
    font-weight: bold;
    border-bottom: 0;
    padding: 16px;
}

.econotec-header__menu-link--social svg path{
    fill: #000;
}

.econotec-header__menu-link--social svg:hover path{
    fill: var(--primary-color-mode1);
}

/* 
.econotec-header__submenu {
}
.econotec-header__submenu-item {
}
.econotec-header__submenu-link {
}
 */
.econotec-header__menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.econotec-header__close-button {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 32px;
}

.econotec-header__background-cover {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 991;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: ease-in-out 0.3s;
    pointer-events: none;
}

.econotec-header__background-cover.active {
    opacity: 1;
    pointer-events: all;
}

.econotec-header__menu--social-mobile{
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    padding: 16px;
    border-top: 1px solid #000;
}

/* Media queries */
@media screen and (max-width: 919px) {
    .econotec-header--desktop .econotec-header__menu--main,
    .econotec-header--desktop .econotec-header__menu--social {
        display: none;
    }

    .econotec-header__menu-toggle {
        display: flex;
    }
}

@media screen and (min-width: 920px) {
    .econotec-header--mobile {
        display: none;
    }
}