header {
    width: 100%;
    height: 114px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-left: 60px;
    padding-right: 34px;
    color: rgba(155, 180, 204, 1);
}
#web-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    padding-bottom: 36px;
}
.header-content {
    display: flex;
    padding-bottom: 10px;
}
.header-content nav {
    display: flex;
    align-items: center;
}
header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
header ul.menu {
    display: flex;
    gap: 40px;
}
header ul.menu .menu-item {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 24px;
}
header ul.menu .menu-item .icon svg {
    transform: rotate(-90deg);
}
.menu a,
.menu a:visited,
.menu a:active,
.menu a:hover {
    text-decoration: none;
    color: rgba(155, 180, 204, 1);
    font-size: 20px;
}
.menu-dropdown {
    min-width: 100%;
    width: fit-content;
    position: absolute;
    border-radius: 3px;
    background: rgba(227, 236, 250, 1);
    z-index: 100;
    transition: all 0.3s ease;
    top: 100%;
}
.menu-dropdown .sub-menu-item {
    height: 60px;
    font-size: 16px;
    border-bottom: 2px solid rgba(215, 224, 245, 1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.menu-dropdown .sub-menu-item.active a,
.menu-item.active a,
.menu-item:hover a {
    color: rgba(107, 140, 174, 1);
}
.menu-item.active {
    position: relative;
}
.menu-item.active::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: rgba(107, 140, 174, 1);
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
}
.menu-dropdown .sub-menu-item:last-child {
    border-bottom: none;
}
.sub-menu-item:hover {
    background: rgba(190, 210, 230, 1);
}
.menu-dropdown .sub-menu-item a {
    color: rgba(134, 147, 173, 1);
    text-decoration: none;
    text-wrap: nowrap;
    padding-left: 20px;
    padding-right: 30px;
}

header ul.menu .menu-dropdown {
    transition: all 0.3s ease;
    display: none;
}
header ul.menu .menu-item:hover .menu-dropdown,
header ul.menu .menu-item .menu-dropdown.active {
    display: block;
}
header ul.menu .menu-item:hover {
    color: rgba(107, 140, 174, 1);
}
header ul.menu .menu-item:hover .icon svg {
    transform: rotate(0deg);
}
.sub-menu-item:hover a {
    color: white !important;
}
.languages-changer {
    margin-left: 100px;
    display: flex;
    gap: 12px;
    font-size: 20px;
    z-index: 1000;
}
.languages-changer .active {
    background: rgba(190, 210, 230, 1);
    color: white;
}
.languages-changer div {
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.languages-changer label {
    cursor: pointer;
}
.languages-changer div input[type=radio] {
    display: none;
}
#web-header {
    display: none;
}
#mobile-header {
    display: none;
}
@media (max-width: 912px) {
    header {
        padding: 12px 16px 12px 32px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        z-index: 100;
    }
    #mobile-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #mobile-header > .languages-changer {
        top: 12px;
    }
    header .header-content {
        padding-bottom: 0;
    }
    header .logo {
        padding-bottom: 0;
        width: fit-content;
    }
    .languages-changer {
        font-size: 12px;
        gap: 6px;
        position: fixed;
        right: 54px;
        top: 16px;
    }
    .languages-changer div {
        width: 22px;
        height: 22px;
        border-radius: 2px;
    }
    .menu-trigger {
        width: 22px;
        height: 22px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-left: 6px;
        border-radius: 2px;
        color: rgba(155, 180, 204, 1);
        position: relative;
        z-index: 1000;
    }
    .menu-trigger span {
        display: block;
        width: 18px;
        height: 2px;
        margin-bottom: 3px;
        position: relative;

        background: rgba(155, 180, 204, 1);
        border-radius: 3px;

        z-index: 1;

        transform-origin: 4px 0;

        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease;
    }
    .menu-trigger span:first-child {
        transform-origin: 0 0;
    }
    .menu-trigger span:nth-child(2) {
        transform-origin: 0 100%;
    }
    .menu-trigger span:last-child {
        margin-bottom: 0;
    }
    .menu-trigger.active span {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -7px);
    }
    .menu-trigger.active span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    .menu-trigger.active span:nth-last-child(2) {
        transform: rotate(-45deg) translate(-2px, 8px);
    }
    .menu-trigger.active {
        /*background: rgba(190, 210, 230, 1);*/
        /*color: white;*/
    }
    nav {
        position: fixed;
        width: 100vw;
        height: 100%;
        top: 0;
        right: 0;
        overflow: auto;
        z-index: 9999;
        background: rgba(227, 236, 250, 1);
        transform: translateX(100%);
        transition: all 0.3s ease;
        padding: 70px 0;
        box-sizing: border-box;
    }
    nav .menu-trigger {
        position: absolute;
        top: 16px;
        right: 16px;
    }
    .header-content nav {
        /*display: none;*/
    }
    .header-content nav.active {
        display: block;
        transform: translateX(0);
        transition: all 0.3s ease;
    }
    .menu a, .menu a:visited, .menu a:active, .menu a:hover {
        font-size: 16px;
        padding-left: 14px;
    }
    header ul.menu .menu-item {
        padding-bottom: 0;
        background: rgba(227, 236, 250, 1);
        text-wrap: nowrap;
        min-height: 38px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    header ul.menu .menu-item:last-child a {
        border-bottom: none;
    }
    header ul.menu .menu-item a {
        line-height: 38px;
        width: 100%;
        border-bottom: 2px solid rgba(213, 223, 240, 1);
    }
    header ul.menu .menu-item.active {
        background: rgba(193, 209, 227, 1);
    }
    header ul.menu .menu-item.active a {
        color: white;
    }
    header ul.menu .menu-item.active .sub-menu-item a {
        color: rgba(134, 147, 173, 1);
    }
    header ul.menu .menu-item.active .sub-menu-item.active {
        background: rgba(190, 210, 230, 1);
    }
    header ul.menu .menu-item.active .sub-menu-item.active a {
        color: white;
    }
    header ul.menu {
        width: 100%;
        height: fit-content;
        display: none;
        flex-direction: column;
        gap: 0;
    }
    .menu-dropdown {
        position: initial;
    }
    .menu-dropdown .sub-menu-item {
        height: 38px;
    }
    .menu-dropdown .sub-menu-item a {
        font-size: 13px;
    }
    .header ul.menu .menu-item:not(.active) .menu-dropdown {
        display: none;
    }
    .menu-item.active::after {
        display: none;
    }
    header ul.menu .menu-item span.icon {
        padding-top: 2px;
    }
    header ul.menu .menu-item span.icon svg {
        transform: rotate(-90deg) !important;
    }
    header ul.menu .menu-item:has(.expand) span.icon svg {
        transform: rotate(0deg) !important;
    }
}
