@font-face {
	font-style: normal;
  	font-weight: 400 900;
    font-family: 'Bert Sans Regular';
    src: local('Bert Sans Regular'),
    url("../fonts/bert-sans/BertSans-Regular.woff2") format("woff2");
}

@font-face {
	font-style: normal;
  	font-weight: 400 900;
    font-family: 'Bert Sans Light';
    src: local('Bert Sans Light'),
    url("../fonts/bert-sans/BertSans-Light.woff2") format("woff2");
}

@font-face {
	font-style: normal;
  	font-weight: 400 900;
    font-family: 'TeX Gyre Adventor';
    src: local('TeX Gyre Adventor'),
    url("../fonts/TeXGyreAdventor/TeXGyreAdventor-Regular.woff2") format("woff2");
}

:root {
	--light-blue: #0d00b2;
	--white: #fff;
	--blue: #0d0664;
	--violet: #2c054e;
	--purple: #8c0b96;
	--white-: #fffbfb;
	--sirenevyy: #5600a0;
    --font-family: "Bert Sans Regular", sans-serif;
    --font-family-1: "Bert Sans Light", sans-serif;
    --second-family: "Inter", sans-serif;
    --third-family: "TeX Gyre Adventor", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-image: url('../media/main-bg.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 137px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block__header, .block__footer, .main__content {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.header {
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.25);
}

.main__header {
    background: none;
    backdrop-filter: none;
    box-shadow: none;
}

.block__header {
    height: 100%;
}

.block__header, .block__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block__header__logo__title {
    width: fit-content;
    height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.block__header__logo {
    width: 100%;
    max-width: 80px;
    height: auto;
}

.block__header__logo img {
    width: 100%;
    height: auto;
}

.block__header__title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: var(--white);
    text-decoration: none;
}

.dark-title {
    color: var(--sirenevyy);
}

.nave__main__menu__close {
    display: none;
}

nav {
    width: 100%;
    max-width: 927px;
    height: auto;
}

nav ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul li a {
    border-radius: 10px;
    padding: 0 20px 0 20px;
    width: auto;
    height: 54px;
    backdrop-filter: blur(5px);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(222, 222, 222, 0.04);
    backdrop-filter: blur(4px);
}

.nav ul li a {
    color: var(--sirenevyy);
    border: 1px solid #7d0386;
    background: rgba(255, 255, 255, 0.4);
}

.nav__main ul li a {
    border: 1px solid #7d0386;
    background: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.nav ul li li:nth-last-child(-n + 1) a {
    background: #d006df;
    color: #fff;
}

nav ul li:nth-last-child(-n + 1) a {
    background: #d006df;
    color: var(--white);
}

.footer {
    width: 100%;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer .block__footer > ul {
    display: flex;
    gap: 20px;
}

.footer .block__footer > ul > li > a {
    display: flex;
    width: 50px;
    height: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main__footer .block__footer__main > ul > li:nth-child(1) > a {
    background-image: url('../img/tg.webp');
}

.main__footer .block__footer__main > ul > li:nth-child(2) > a {
    background-image: url('../img/e-mail.webp');
}

.main__footer .block__footer__main > ul > li:nth-child(3) > a {
    background-image: url('../img/phone.webp');
}

.light__footer .block__footer > ul > li:nth-child(1) > a {
    background-image: url('../img/tg-dark.webp');
}

.light__footer .block__footer > ul > li:nth-child(2) > a {
    background-image: url('../img/e-mail-dark.webp');
}

.light__footer .block__footer > ul > li:nth-child(3) > a {
    background-image: url('../img/phone-dark.webp');
}

.footer .block__footer .copywrite, .footer .block__footer .link__doc {
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: var(--sirenevyy);
}

.footer .block__footer .copywrite {
    font-family: var(--second-family);
}

.footer .block__footer .link__doc {
    font-family: var(--font-family);
}

.main__footer .block__footer__main .copywrite, .main__footer .block__footer__main .link__doc {
    color: rgba(255, 255, 255, 0.8);
}

/*-----MAIN-----*/
.main__content {
    width: 100%;
    /* max-width: 1400px; */
    max-width: 1640px;
    height: calc( 100% - 137px - 110px );
    margin-top: 137px;
    text-align: center;
    background-image: url('../img/dots.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main__content h1 {
    /* font-size: 17.5vh; */
    font-size: 8vw;
    font-family: var(--third-family);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--white);
    line-height: normal;
}

.main__content h2 {
    /* font-size: 5vh; */
    font-size: 2.5vw;
    font-family: var(--font-family);
    font-weight: 300;
    line-height: 110%;
    letter-spacing: 0.04em;
    text-align: center;
    color: var(--white);
} 
/*-----MAIN-----*/
/*-----WE CAN-----*/
.duble__bg__section {
    width: 100%;
    height: auto;
    background-image: url('../img/dots-dark.webp');
    background-position: 50% 139px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: -2;
    overflow: hidden;
}

.bg__figure__item {
    position: absolute;
    z-index: -1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
}

.bg__figure__1 {
    width: 30.21%;
    background-image: url('../img/figur-1.svg');
    top: 76px;
    left: 80px;
}

.bg__figure__2 {
    width: 21.67%;
    background-image: url('../img/romb-2.svg');
    top: 415px;
    right: 17px;
}

.bg__figure__3 {
    width: 32.98%;
    background-image: url('../img/romb-3.svg');
    bottom: -15%;
    left: calc(50% - 17%);
}

.content {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.we-can__content {
    padding: 237px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-we__content {
    padding: 80px 0 100px;
    border-bottom: 1px solid var(--light-blue);
    border-top: 1px solid var(--light-blue);
}

.we-can__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.we-can__item__side__left,
.we-can__item__side__right {
    padding: 10px;
}

.we-can__item__side__left {
    width: 100%;
    max-width: 455px;
}

.we-can__item__side__left h2 {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.04em;
    color: var(--light-blue);
}

.we-can__item__side__right {
    width: 100%;
    max-width: 927px;
    font-family: var(--second-family);
    font-weight: 200;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: var(--blue);
}

.section__title {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 44px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.why-we__items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.why-we__item {
    width: 100%;
    max-width: 690px;
    height: 215px;
    border: 1px solid var(--light-blue);
    border-radius: 20px;
    padding: 30px 40px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 20px;
}

.why-we__item img {
    width: 20px;
    height: 20px;
}

.why-we__item__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.why-we__item__info h3 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: var(--light-blue);
}

.why-we__item__info p {
    font-family: var(--second-family);
    font-weight: 200;
    font-size: 22px;
    color: var(--blue);
    line-height: 140%;
    letter-spacing: -0.02em;
    color: var(--light-blue);
}

.why-we__content .message {
    margin-top: 20px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    border-radius: 20px;
    padding: 40px 16px 50px 16px;
    background: rgba(86, 0, 160, 0.2);
} 

.why-we__content .message h2 {
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 26px;
    line-height: 140%;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--sirenevyy);
}

.why-we__content .message h3 {
    font-family: var(--third-family);
    font-weight: 400;
    font-size: 34px;
    line-height: 100%;
    letter-spacing: 0.02em;
    text-align: center;
    color: #d006df;
}
/*----CONTACT FORM-----*/
/*----CONTACT FORM-----*/
/*-----WE CAN-----*/
/*-----ZAGLUSHKA-----*/
.zaglushka {
    margin-top: 137px;
    width: 100%;
    padding: 60px 0;
    background-image: url('../img/dots-dark.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

.block__zaglushka {
    width: 100%;
    max-width: 1400px;
    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* gap: 56px; */
    gap: 37px;

    position: relative;
    z-index: -1;
}

.block__zaglushka__l1,
.block__zaglushka__l3 {
    width: 100%;
    height: auto;
}

.block__zaglushka__l1 {
    text-align: left;
}

.block__zaglushka__l3 {
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.block__zaglushka__l1 h3,
.block__zaglushka__l3 h1 {
    width: fit-content;
    padding: 10px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 32px;
    line-height: 110%;
    letter-spacing: 0.02em;
    color: #0d00b2;
}

.block__zaglushka__l2 {
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: auto;
    background-image: url('../img/ball.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/*-----ZAGLUSHKA-----*/
/*-----MENU---MOBILE-----*/
.nave__main__menu, .nave__main__menu__mobile__contacts {
    display: none;
}

/*-----LAPTOP-----*/
@media(max-width: 1450px) and (min-width: 900px) {
    .header, .footer {
        padding: 0 5%;
    }

    nav {
        width: 580px;
    }



    nav ul li a {
        padding: 0 15px 0 15px;
        font-size: 16px;
        height: 47px;
    }

    .block__header__logo img {
        width: 58px;
    }

    .block__header__title {
        font-size: 24px;
    }

    .footer .block__footer > ul > li > a {
        width: 35px;
        height: 35px;
    }

    .footer .block__footer .copywrite, .footer .block__footer .link__doc {
        font-size: 16px;
    }
}

@media(max-width: 899px) and (min-width: 520px) {
    .header, .footer {
        padding: 0 5%;
    }

    .nav {
        display: none;
    }

    .active__mobile__menu {
        display: flex;
    }

    .nave__main__menu {
        width: 32px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: none;
        background-color: rgba(0, 0, 0, 0);
    }

    .nave__main__menu__item__line {
        width: 100%;
        height: 2px;
        border-radius: 12%;
    }

    .lm {
        background-color: rgba(86, 0, 160, 0.6);
    }

    .dm {
        background-color: var(--white);
    }

    .dbmc {
        background-image: url('../img/dark-close-menu.svg');
    }

    .lbmc {
        background-image: url('../img/light-close-menu.svg');
    }

    .nave__main__menu__close {
        display: flex;
        width: 36px;
        height: 36px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border: none;
        background-color: rgba(0, 0, 0, 0);
        /* margin-bottom: 30px; */
    }


    .nav {
        position: absolute;
        /* top: 69px; */
        top: 139px;
        left: 20px;
        z-index: 3;
        width: calc(100% - 40px);
        padding: 40px 50px 80px;
        border: 1px solid rgba(86, 0, 160, 0.3);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.8);
        box-sizing: border-box;
        flex-direction: column;
        gap: 30px 70px;
        align-items: flex-end;
    }

    .nav ul {
        max-width: 375px;
        width: 100%;
        flex-direction: column;
        gap: 24px;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul li a {
        width: 100%;
    }

    .nave__main__menu__mobile__contacts {
        max-width: 375px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 26px;
    }

    .nave__main__menu__mobile__contacts a div {
        width: 40px;
        height: 40px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .nave__main__menu__mobile__contacts a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: var(--third-family);
        font-weight: 400;
        font-size: 26px;
        line-height: 140%;
        text-align: center;
        color: var(--sirenevyy);
        text-decoration: none;
    }

    .nave__main__menu__mobile__contacts a:nth-child(1) div {
        background-image: url('../img/tg-dark.webp');
    }

    .nave__main__menu__mobile__contacts a:nth-child(2) div {
        background-image: url('../img/e-mail-dark.webp');
    }

    .nave__main__menu__mobile__contacts a:nth-child(3) div {
        background-image: url('../img/phone-dark.webp');
    }
}

@media(max-width: 519px) and (min-width: 320px) {
    .header, .footer {
        padding: 0 5%;
        height: 60px;
    }

    .block__header__logo {
        width: 40px;
    }

    .block__header__title {
        font-weight: 400;
        font-size: 16px;
        line-height: 110%;
        letter-spacing: 0.02em;
    }

    .nav {
        display: none;
    }

    .active__mobile__menu {
        display: flex;
    }

    .nave__main__menu {
        width: 32px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border: none;
        background-color: rgba(0, 0, 0, 0);
    }

    .nave__main__menu__item__line {
        width: 100%;
        height: 2px;
        border-radius: 12%;
    }

    .lm {
        background-color: rgba(86, 0, 160, 0.6);
    }

    .dm {
        background-color: var(--white);
    }

    .dbmc {
        background-image: url('../img/dark-close-menu.svg');
    }

    .lbmc {
        background-image: url('../img/light-close-menu.svg');
    }

    .nave__main__menu__close {
        display: flex;
        width: 16px;
        height: 16px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        border: none;
        background-color: rgba(0, 0, 0, 0);
        /* margin-bottom: 30px; */
    }


    .nav {
        position: absolute;
        top: 65px;
        /* top: 139px; */
        left: 5px;
        z-index: 3;
        width: calc(100% - 10px);
        padding: 40px 20px 80px;
        border: 1px solid rgba(86, 0, 160, 0.3);
        border-radius: 16px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.8);
        box-sizing: border-box;
        flex-direction: column;
        gap: 30px 70px;
        align-items: flex-end;
    }

    .nav ul {
        max-width: 239px;
        width: 100%;
        flex-direction: column;
        gap: 24px;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul li a {
        width: 100%;
        font-size: 16px;
        height: 42px;
    }

    .nave__main__menu__mobile__contacts {
        /* max-width: 375px; */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 26px;
    }

    .nave__main__menu__mobile__contacts a div {
        width: 30px;
        height: 30px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .nave__main__menu__mobile__contacts a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: var(--third-family);
        font-weight: 400;
        font-size: 16px;
        line-height: 140%;
        text-align: center;
        color: var(--sirenevyy);
        text-decoration: none;
    }

    .nave__main__menu__mobile__contacts a:nth-child(1) div {
        background-image: url('../img/tg-dark.webp');
    }

    .nave__main__menu__mobile__contacts a:nth-child(2) div {
        background-image: url('../img/e-mail-dark.webp');
    }

    .nave__main__menu__mobile__contacts a:nth-child(3) div {
        background-image: url('../img/phone-dark.webp');
    }
}

@media(max-width: 739px) and (min-width: 480px) {
    .block__footer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
    }

    .block__footer ul {
        grid-row: span 2 / span 2;
    }

    .link__doc {
        grid-column-start: 2;
        text-align: right;
    }

    .copywrite {
        text-align: right;
    }
}

@media(max-width: 519px) and (min-width: 320px) {
    .link__doc, .copywrite {
        font-size: 14px;
    }
}

@media(max-width: 479px) and (min-width: 320px) {
    .footer {
        height: auto;
        padding: 16px 10px !important; 
    }

    .block__footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media(max-width: 1420px) and (min-width: 680px) {
    .we-can__content {
        padding: 210px 0 30px;
    }

    .we-can__item__side__left h2 {
        font-size: 18px;
    }

    .we-can__item__side__right {
        font-size: 20px;
    }

    .why-we__content {
        padding: 20px 20px 30px;
        display: flex;
        flex-direction: column;
        align-items: left;
    }

    .why-we__items {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .why-we__item {
        width: 100%;
        max-width: 100%;
        gap: 10px;
    }

    .section__title, .why-we__content .message h3 {
        font-size: 24px;
    }

    .why-we__item__info h3, .why-we__item__info p, .why-we__content .message h2 {
        font-size: 20px;
    }

    .why-we__content .message {
        padding: 20px 50px;
    }
}

@media(max-width: 679px) and (min-width: 320px) {
    .we-can__item__side__left h2, .we-can__item__side__right {
        font-size: 12px;
    }

    .section__title, .why-we__content .message h3 {
        font-size: 18px;
    }

    .why-we__item__info h3, .why-we__item__info p, .why-we__content .message h2 {
        font-size: 14px;
    }

    .why-we__content {
        padding: 20px 10px 30px;
    }

    .we-can__item__side__left {
        max-width: 105px;
    }

    .we-can__item {
        gap: 17px;
    }

    .we-can__content {
        padding: 79px 0 20px;
    }

    .footer .block__footer .copywrite, .footer .block__footer .link__doc {
        font-size: 14px;
    }

    .block__zaglushka__l1 h3, .block__zaglushka__l3 h1 {
        font-size: 24px;
    }

    .block__zaglushka__l2 {
        width: 90%;
        margin: auto;
    }

    .zaglushka {
        margin-top: 55px;
    }
}

@media(max-width: 680px) and (min-width: 320px) {
    .bg__figure__1, .bg__figure__2, .bg__figure__3 {
        width: 100%;
        max-width: 200px;
    }

    .bg__figure__1 {
        left: 1%;
    }

    .bg__figure__2 {
        right: 1%;
    }

    .bg__figure__3 {
        bottom: 1%;
    }
}

/* @media(max-width: 899px) and (min-width: 560px) {

} */