.header {
    padding: 13.5px 45px;
    height: 68px;
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #1E3453;
    position: relative;
    z-index: 1000;
    max-width: min(1400px, calc(100vw - 40px));
}

@media (max-width: 992px) {
    .header {
        max-width: min(1400px, calc(100vw - 60px));
        left: 0;
        right: 0;
        margin: auto;
    }
}

.header.active {
    backdrop-filter: unset;
}

.header.scrolled {
    top: 40px;
    max-width: 1340px;
    width: 85%;
}

.header.scrolled .mobile-menu {
    height: calc(100vh - 80px);
}

@media (max-width: 450px) {
    .header {
        padding: 13.5px 20px;
    }
}

.header-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    text-align: left;
}

.header-wrapper li {
    display: flex;
    align-items: center;
}

.header-wrapper li a {
    cursor: pointer;
    font-size: 20px;
    line-height: 27px;
    position: relative;
    top: .05em;
    font-weight: 300;
    text-align: left;
    background-color: transparent;
    color: var(--text-color-main);
}

.header-wrapper li a:hover {
    color: var(--accent-color-blue);
}

.header-wrapper ul {
    color: var(--text-color-main);
    display: flex;
    gap: 28px;
}

@media (max-width: 1330px) {
    .header-wrapper ul {
        display: none;
        position: absolute;
        flex-direction: column;
        gap: 8px;
        padding: 20px 18px;
        align-items: flex-end;
        background-color: var(--menu-color);
        border-radius: 20px;
        right: 0;
        top: 72px;
    }
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.right {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: end;
    width: 200px;
}

.left {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 200px;
}

.menu {
    display: flex;
    align-items: center;
}

@media (max-width: 1330px) {
    .menu {
        display: none;
    }
}

.burger-wrapper {
    display: none;
    align-items: center;
    position: relative;
    width: 30px;
    height: 20px;
    flex-shrink: 0;
    background-color: transparent;
    z-index: 1000;
    cursor: pointer;
}

@media (max-width: 1330px) {
    .burger-wrapper {
        display: flex;
    }
}

.burger-wrapper::before {
    width: 100%;
    content: '';
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s ease 0s;
    transform: scale(1);
}

.burger-wrapper::after {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    bottom: 0;
    content: '';
    left: 0;
    transition: all .3s ease 0s;
}

.burger-wrapper span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transform: scale(1);
}

.burger-wrapper.active {
    z-index: 1000;
    position: fixed;
}

.burger-wrapper.active span {
    transform: scale(0%);
}

.burger-wrapper.active::before {
    transform: rotate(-45deg) translate(0, -50%);
    top: 50%;
}

.burger-wrapper.active::after {
    transform: rotate(45deg) translate(0, 50%);
    bottom: 50%;
}

.mobile-menu {
    background-color: #121F30CC;
    backdrop-filter: blur(20px);
    position: fixed;
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    width: calc(100% + 40px);
    transform: scaleY(0%) translateX(-50%);
    top: 0;
    left: 50%;
    height: 100vh;
    transform-origin: top;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    padding-top: 94px;
    padding-bottom: 26px;
    z-index: 999;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu.visible {
    pointer-events: all;
    transform: scaleY(100%) translateX(-50%);
}

.mobile-menu.visible ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: static;
    gap: 15px;
    background: none;
}

.mobile-menu.visible ul li a,
.mobile-menu.visible ul li button {
    font-size: 28px;
    line-height: 40px;
}

.mobile-menu .bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.mobile-menu .links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.mobile-menu .links a {
    color: var(--text-color-main);
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
}

.mobile-menu .links a:hover {
    color: var(--accent-color-blue);
}

.mobile-menu .social {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-bottom: 20px;
}

.mobile-menu .social a {
    cursor: pointer;
}

.mobile-menu .social a svg path {
    fill: var(--svg-color);
}

.button_outlined {
    padding: 12px 30px 10px;
    font-size: 16px;
    color: #fff;
    background: #3072e1;
    border-radius: 8px;
    cursor: pointer;
    z-index: 99;
    position: relative;
    height: 38px;
    transition: .3s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button_outlined:hover {
  box-shadow: 7px 5px 25px -14px #ffffff;
}

.button_outlined:active {
  transform: scale(0.97);
  box-shadow: 7px 5px 25px -14px #ffffff;
}

.button_outlined.header-btn {
    font-size: 16px;
}

.shadow {
    display: none;
}

.top {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 90vh;
    min-height: 700px;
    background: rgba(29, 45, 66, 30%);
}

@media (max-width: 992px) {
    .top {
        min-height: 452px;
        height: fit-content;
    }
}

.moving-gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background-size: cover;
    height: 400px;
    width: 660px;
    z-index: 0;
}

.moving-gradient:nth-of-type(1) {
    background-image: url('/images/hero-sky-1.png');
}

.moving-gradient:nth-of-type(2) {
    background-image: url('/images/hero-sky-2.png');
}

@media (max-width: 992px) {
    .header {
        position: fixed;
        top: 30px;
        z-index: 999999;
        background: rgba(48, 68, 95, 0.6);
        border-radius: 10px;
    }
}

@media (max-width: 992px) {
    .header-btn {
        display: none;
    }
}
