.app-header {
    display: contents;
}

.app-header * {
    user-select: none;
}

.app-header .header-container {
    height: 58px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    margin-top: 2px;
    top: 0;
    z-index: 155;
    position: absolute;
    background-color: transparent;
}

.app-header .header-logo {
    height: 10px;
    width: 186px;
}

.app-header .icons-container {
    width: 54.5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 17px;
}

.app-header .header-search {
    width: 17.57px;
    height: 17.57px;
}

.app-header .header-menu {
    width: 22px;
    height: 14.75px;
}

/* Scroll up header */

body.search-open .header-logo {
    content: url("/assets/img/header-logo.svg") !important;
}

.header-container.scroll-up .header-logo {
    content: url("/assets/img/header-logo.svg");
}

.header-container.scroll-up .header-search {
    content: url("/assets/img/search-icon-black.svg");
}

.header-container.scroll-up .header-menu {
    content: url("/assets/img/header-menu-icon.svg");
}

/* Introduction header */

.header-container.scroll-up.introduction-header .header-logo {
    content: url("/assets/img/nat-white.svg");
}

.header-container.scroll-up.introduction-header .header-search {
    content: url("/assets/img/search-white.svg");
}

.header-container.scroll-up.introduction-header .header-menu {
    content: url("/assets/img/white-menu.svg");
}

.header-container.scroll-up {
    position: fixed;
    height: 40px;
    margin-top: 0px;
    background-color: rgb(255, 255, 255, 0.95);
    animation: scrollUp 0.2s, scrollUpBackgroundColor 0.5s;
}

body.search-open .header-container.scroll-up,
body.menu-open .header-container.scroll-up {
    background-color: transparent;
}

body.menu-open .header-container.scroll-up .header-logo {
    content: url("/assets/img/nat-white.svg");
}

@media (min-width: 768px) {
    .app-header .header-container {
        padding: 0 24px;
        height: 65px;
    }

    .app-header .header-logo {
        height: 14px;
        width: 267px;
    }

    .app-header .icons-container {
        width: 65px;
        height: 20px;
        align-items: flex-start;
    }

    .header-container.scroll-up {
        height: 49px;
        padding: 0 24px;
    }
}

@media (min-width: 1194px) {
    .app-header .header-container {
        padding: 0 60px;
        height: 144px;
    }

    .app-header .header-logo {
        height: 20px;
        width: 366px;
    }

    .app-header .icons-container {
        width: 90px;
        height: unset;
        align-items: unset;
    }

    .header-container.scroll-up {
        padding: 0 60px;
        height: 92px;
    }

    .app-header .header-menu {
        height: 23px;
        width: 35px;
    }

    .app-header .header-search {
        height: 25px;
        width: 25px;
    }
}

@media (min-width: 1500px) {
    .app-header .header-container {
        padding: 0 78px 0 80px;
        height: 150px;
        margin-top: unset;
    }

    .header-container.scroll-up {
        height: 98px;
    }

    .app-header .icons-container {
        width: 100px;
    }

    .app-header .header-search {
        height: 27px;
        width: 27px;
    }
    .app-header .header-menu {
        width: 38px;
        height: 25px;
        margin-right: -2px;
    }
}

@media (min-width: 1920px) {
    .app-header {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .app-header .header-container {
        padding: 0 calc((100% - 1920px) / 2 + 80px);
    }

    .app-header .header-logo {
        width: 378px;
    }
}

@keyframes scrollUp {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes scrollUpBackgroundColor {
    from {
        background-color: transparent;
    }
    to {
        background-color: rgba(255, 255, 255, 0.95);
        transform: translateY(0);
    }
}
