.__navigation {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #fff;
    z-index: 3;
    display: none;
    transition: background-color 0.2s;
}

.__navigation.--active {
    display: block;
}

.__navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.__navigation li a {
    display: block;
    padding: 20px 20px;
    text-decoration: none;
    color: #777;
    font-weight: 500;
    transition: color 0.2s, background-color 0.2s;
}

.__navigation li a img {
    height: 60%;
    user-select: none;
    transition: height 0.2s;
}

.__navigation li:first-of-type {
    height: 50px;
}

.__navigation li:first-of-type a {
    display: inline-flex;
    align-items: center;
    padding: 0 0 0 20px;
    height: 100%;
}

.__navigation li:last-of-type {
    display: none;
    padding: 0 20px;
}

.__navigation li a:hover,
.__navigation .__menu-icon:hover {
    color: black;
}

.__navigation .__menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 50px;
    transition: max-height .2s ease-out;
}

.__navigation .__menu-icon {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    user-select: none;

    height: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.__navigation .__menu-icon .__nav-icon {
    content: '';
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.__navigation .__menu-icon .__nav-icon:before,
.__navigation .__menu-icon .__nav-icon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.__navigation .__menu-icon .__nav-icon:before {
    top: 5px;
}

.__navigation .__menu-icon .__nav-icon:after {
    top: -5px;
}

.__navigation .__menu-btn {
    display: none;
}

.__navigation .__menu-btn:checked ~ .__menu {
    max-height: 400px;
}

.__navigation .__menu-btn:checked ~ .__menu-icon .__nav-icon {
    background: transparent;
}

.__navigation .__menu-btn:checked ~ .__menu-icon .__nav-icon:before {
    transform: rotate(-45deg);
}

.__navigation .__menu-btn:checked ~ .__menu-icon .__nav-icon:after {
    transform: rotate(45deg);
}

.__navigation .__menu-btn:checked ~ .__menu-icon:not(.steps) .__nav-icon:before,
.__navigation .__menu-btn:checked ~ .__menu-icon:not(.steps) .__nav-icon:after {
    top: 0;
}

.__scene.--nav-spacing {
    padding-top: 120px;
    margin-top: -90px;
}

@media (min-width: 768px) {
    .__navigation {
        position: sticky;
        top: -2px;
        padding-top: 22px;
        background-color: transparent;
        transition: padding 0.2s, height 0.2s;
    }

    .__navigation .__menu {
        position: relative;
        width: unset;
        max-height: none;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        gap: 20px;
        grid-template-columns: 160px 1fr repeat(3, minmax(70px, 130px)) 1fr 160px;
        grid-template-rows: 50px;
        background-color: transparent;
    }

    .__navigation .__menu-icon {
        display: none;
    }

    .__navigation li:first-of-type {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .__navigation li:last-of-type,
    .__navigation li:nth-last-of-type(2) {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .__navigation li a.__call-to-action {
        box-sizing: border-box;
        font-size: 16px;
        padding: 0 25px;
        width: 100%;
    }

    .__navigation li a {
        height: 100%;
        padding: unset;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        font-size: 18px;
        transition: font-size 0.2s;
    }

    /*.__navigation li {*/
    /*    border-bottom: 5px solid transparent;*/
    /*    box-sizing: border-box;*/
    /*}*/

    /*.__navigation li.--current {*/
    /*    border-bottom-color: #41389A;*/
    /*}*/

    .__navigation li a img {
        max-height: 75%;
        height: 100%;
        object-fit: cover;
    }

    .__navigation[stuck] {
        background-color: #fff;
        padding-top: 7px;
        padding-bottom: 5px;
        height: 40px;
        box-shadow: 0 2px 5px -2px rgba(0, 0, 0, .2);
    }

    .__navigation[stuck] li {
        height: 40px;
    }

    .__navigation[stuck] li a {
        font-size: 16px;
    }

    .__navigation[stuck] li a.__call-to-action {
        font-size: 14px;
        height: 40px;
    }

    .__login {
        color: #e32733 !important;
    }

    .__login:hover {
        color: #e87c83 !important;
    }

}