header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 120px;
    padding-inline: 1.875em;
    padding-block: 1.25em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: all 0.5s ease-in-out;
    z-index: 1000;

}

header .logo {
    height: 100%;
    transition: all 0.5s ease-in-out;
}

header .logo img {
    height: 100%;
    object-fit: cover;
}

header .btn_menu {
    display: none;
}

.menu ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.menu ul li {
    display: inline;
    position: relative;
    list-style: none;
    margin-inline: 10px;

    cursor: pointer;
}

.menu ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

.menu ul li .active,
.menu ul li a:hover {
    color: var(--color-primary);
}

.menu ul li a::before,
.menu ul li .active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease-in-out;
}

.menu ul li .active::before {
    width: 100%;
}

.menu ul li a:hover::before {
    width: 100%;
}

.scroll__header.scrolled {
    background-color: var(--color-tertiary);
    height: 100px;
    box-shadow: var(--shadow-header);
    top: 0;

}

.scroll__header.scrolled .logo {
    height: 100%;
}

.menu .contactanos {
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 10px;
}

.menu .contactanos:hover {
    background-color: var(--color-tertiary);
}

/* RESPONSIVE */

@media screen and (max-width: 2560px) {
    body {
        font-size: 20px;
    }

}

@media screen and (max-width: 1920px) {
    body {
        font-size: 18px;
    }

}

@media screen and (max-width: 1440px) {

    header {
        height: 100px;
        padding-block: 1em;
    }

    .scroll__header.scrolled {
        height: 90px;
    }
}

@media screen and (max-width: 1024px) {
    header {
        width: 100%;
        height: 70px;
        padding-block: 10px;
        align-items: center;
    }

    header .btn_menu {
        display: flex;
        background-color: transparent;
    }

    header .btn_menu img {
        height: 20px;
    }

    header .menu {
        display: none;
    }

    .scroll__header .menu.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-tertiary);
        z-index: 1000;
    }

    .scroll__header.scrolled .menu.active {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-tertiary);
        z-index: 1000;
    }

    header .menu.active ul {
        flex-direction: column;
        align-items: start;
        padding: 15px;
    }

    header .menu.active ul li {
        margin-bottom: 10px;
    }

    header .menu.active ul li a {
        font-size: 1em;
    }

    .scroll__header.scrolled {
        background-color: var(--color-tertiary);
        height: 60px;
        padding-block: 10px;
    }

}


@media screen and (max-width: 320px) {
    body {
        font-size: 11px;
    }
}
