.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: .3s;
    z-index: 10;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: linear-gradient(0turn, rgba(10, 14, 25, 0) 0%, rgba(10, 14, 25, 0.3) 50%, rgba(10, 14, 25, 1) 100%);
    z-index: -1;
}
.header-container {
    max-width: 1328px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.header-row {
    display: flex;
    align-items: center;
    gap: 23px;
}
.logo {
    width: 131px;
    display: flex;
    align-items: center;
}
.logo img {
    width: 100%;
    height: auto;
}
.header-mob {
    flex-grow: 1;
}
.header-r {
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu {
    display: flex;
    align-items: center;
    gap: 7px;
}
.menu li {
    display: flex;
    align-items: center;
}
.menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 37px;
    padding-left: 11px;
    padding-right: 11px;
    background-color: #1F2434;
    border-radius: 3px;
    color: #FFFFFF;
    font-size: 13px;
    text-transform: uppercase;
}
.menu li a:hover {
    background-color: #FFFFFF;
	color: #1F2434;
}
.socials {
    display: flex;
    align-items: center;
    gap: 8px;
}
.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
	transition: 0s;
}
.socials a:hover {
    filter: invert(82%) sepia(88%) saturate(2566%) hue-rotate(332deg) brightness(107%) contrast(106%);
}
.header-btns {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-grow: 1;
}
.langs {
    position: relative;
}
.langs span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 37px;
    padding-left: 14px;
    padding-right: 12px;
    background-color: #1F2434;
    border-radius: 3px;
    transition: .3s;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
}
.langs span:hover {
    background-color: #1f243491;
}
.langs span::after {
    content: '';
    display: block;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDAuNUw1IDQuNUw5IDAuNSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjMiLz4KPC9zdmc+Cg==);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 0;
    width: 8px;
    height: 5px;
}
.header__btn {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 37px;
    font-size: 13px;
}

.langs-box {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -100%);
    background-color: #2a3041;
    border-radius: 3px;
    padding: 18px 20px;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
.langs:hover .langs-box {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 10px);
}
.langs-box::before {
    content: '';
    position: absolute;
    display: block;
    border: 8px solid transparent;
    border-bottom: 8px solid #2a3041;
    transform: translateX(-50%);
    top: -16px;
    left: 50%;
}
.langs-box a:hover {
    color: #F1122F;
}


@media(max-width: 1405px) {
    .header-container {
        max-width: 1019px;
    }
    .logo {
        width: 96px;
    }
    .header-r {
        gap: 6px;
    }
    .menu {
        gap: 4px;
    }
    .menu li a {
        height: 29px;
        font-size: 11px;
        padding-left: 8px;
        padding-right: 8px;
    }
	.menu li a:hover {
		background: transparent;
		color: #FFFFFF;
	}
    .header-btns {
        gap: 6px;
    }
    .langs span {
        height: 29px;
        font-size: 9px;
        padding-left: 8px;
        padding-right: 6px;
    }
    .langs span::after {
        width: 7px;
        height: 4px;
    }
    .header__btn {
        height: 29px;
        font-size: 9px;
    }
    .header-row {
        gap: 15px;
    }
    .socials {
        gap: 2px;
    }
}

@media(max-width: 1024px) {
    .header {
        padding-top: 35px;
    }
    .header-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .logo {
        width: 140px;
    }
    .header-mob {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100 * var(--vh));
        background-color: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        z-index: 1;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }
    .header-mob.active {
        opacity: 1;
        visibility: visible;
    }
    .header-r {
        transform: translateX(100%);
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
        background-color: #111111;
        padding: 42px 25px 25px;
        transition: .3s;
        width: 300px;
    }
    .header-r>div {
        width: 100%;
    }
    .header-r .logo {
        width: 120px;
    }
    .header-mob.active .header-r {
        transform: translateX(0);
        transition: .3s .3s;
    }
    .menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 21px;
        margin-bottom: 10px;
    }
    .menu li a {
        padding: 0;
        height: auto;
        width: auto;
        font-size: 16px;
        margin-bottom: 15px;
        background-color: transparent;
    }
    
    .socials a {
        width: 25px;
    }
    .socials a img {
        width: 100%;
        height: auto;
    }
    .header-btns {
        flex-grow: unset;
        margin-top: 25px;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 15px;
    }
    .header__btn {
        font-size: 15px;
        width: 100%;
        height: 48px;
    }
    .langs-mob {
        gap: 5px;
        margin-top: auto;
        line-height: 1.45;
        font-size: 13px;
    }
    .langs-mob span {
        color: #F1122F;
    }
    .burger {
        position: fixed;
        right: 15px;
        top: 40px;
        z-index: 2;
        width: 30px;
        height: 20px;
        transition: .3s;
    }
    .burger.active {
        transform: translateY(-25px);
    }
    .burger span,
    .burger span::before,
    .burger span::after {
        width: 100%;
        position: absolute;
        height: 2px;
        background-color: #FFFFFF;
        display: block;
        -webkit-transition: .3s;
        -o-transition: .3s;
        -moz-transition: .3s;
        transition: .3s;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }
    .burger span {
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .burger span::before {
        content: "";
        top: -7px;
        -webkit-transition: top .2s .2s, -webkit-transform .2s cubic-bezier(.23,1,.32,1);
        transition: top .2s .2s, -webkit-transform .2s cubic-bezier(.23,1,.32,1);
        -o-transition: top .2s .2s,-o-transform .2s cubic-bezier(.23,1,.32,1);
        -moz-transition: top .2s .2s,transform .2s cubic-bezier(.23,1,.32,1),-moz-transform .2s cubic-bezier(.23,1,.32,1);
        transition: top .2s .2s, transform .2s cubic-bezier(.23,1,.32,1);
        transition: top .2s .2s, transform .2s cubic-bezier(.23,1,.32,1), -webkit-transform .2s cubic-bezier(.23,1,.32,1), -moz-transform .2s cubic-bezier(.23,1,.32,1), -o-transform .2s cubic-bezier(.23,1,.32,1);
    }
    .burger span::after {
        content: "";
        bottom: -7px;
        -webkit-transition: bottom .2s .2s, -webkit-transform .2s cubic-bezier(.23,1,.32,1);
        transition: bottom .2s .2s, -webkit-transform .2s cubic-bezier(.23,1,.32,1);
        -o-transition: bottom .2s .2s,-o-transform .2s cubic-bezier(.23,1,.32,1);
        -moz-transition: bottom .2s .2s,transform .2s cubic-bezier(.23,1,.32,1),-moz-transform .2s cubic-bezier(.23,1,.32,1);
        transition: bottom .2s .2s, transform .2s cubic-bezier(.23,1,.32,1);
        transition: bottom .2s .2s, transform .2s cubic-bezier(.23,1,.32,1), -webkit-transform .2s cubic-bezier(.23,1,.32,1), -moz-transform .2s cubic-bezier(.23,1,.32,1), -o-transform .2s cubic-bezier(.23,1,.32,1);
    }
    .burger.active span {
        background: rgba(255, 255, 255, 0) !important;
    }
    .burger.active span::before {
        top: 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transition: top .2s, -webkit-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        transition: top .2s, -webkit-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        -o-transition: top .2s,-o-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        -moz-transition: top .2s,transform .2s .2s cubic-bezier(.68,-.55,.265,1.55),-moz-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        transition: top .2s, transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        transition: top .2s, transform .2s .2s cubic-bezier(.68,-.55,.265,1.55), -webkit-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55), -moz-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55), -o-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
    }
    .burger.active span::after {
        bottom: 0;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: bottom .2s, -webkit-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        transition: bottom .2s, -webkit-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        -o-transition: bottom .2s,-o-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        -moz-transition: bottom .2s,transform .2s .2s cubic-bezier(.68,-.55,.265,1.55),-moz-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        transition: bottom .2s, transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
        transition: bottom .2s, transform .2s .2s cubic-bezier(.68,-.55,.265,1.55), -webkit-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55), -moz-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55), -o-transform .2s .2s cubic-bezier(.68,-.55,.265,1.55);
    }


    .header-mob_content {
        font-size: 13px;
        line-height: 1.45;
        margin-bottom: 24px;
    }
    .header-mob_content p {
        font-weight: 700;
    }
}

@media(max-width: 740px) {
    .header {
        padding-top: 15px;
        position: absolute;
    }
    .header-row {
        justify-content: center;
    }
    .burger {
        top: 20px;
        transform: none !important;
    }
    .burger::before {
        content: '';
        position: absolute;
        width: calc(100% + 20px);
        height: calc(100% + 20px);
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(31, 36, 52, 0.5);
    }
    .burger.active::before {
        background-color: transparent;
    }
}