@import url(./vendor/normalize.css);
@import url(./vendor/font.css);
@import url(./pages/about.css);
@import url(./pages/home.css);
@import url(./pages/privacy-policy.css);
@import url(./pages/services.css);

@keyframes gradientTransition {
    0% {
        font-weight: 500;
        background: #fff;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    25% {
        font-weight: 700;
    }

    100% {
        background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

@keyframes gradientTransitionRev {
    0% {
        font-weight: 700;
        background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    25% {
        font-weight: 500;
    }

    100% {
        background: #fff;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

*,
*::after,
*::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

:root {
    --general-1: #0c0c0c;
    --general-2: #fff;
    --general-3: #1f1f1f;
    --general-4: #6ddcff;
    --general-5: #ed2a2a;
    --general-6: rgba(0, 0, 0, 0.7);
    --text-1: #fff;
    --text-2: #c3c7cf;
    --text-4: #6b7280;
}

h1 {
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 130%;
    margin: 0;
}

h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 130%;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
    text-transform: uppercase;
}

h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
}

section {
    padding: 100px 0;
    box-sizing: border-box;
    margin: 0 auto;
}

p {
    margin: 0;
}

.root {
    overflow: hidden;
    background-color: #0c0c0c;
    color: #fff;
    font-style: normal;
    font-size: 18px;
    font-weight: 400;
    line-height: 130%;
    font-family: "Montserrat", "Arial", "Helvetica";
    max-width: 100%;
    min-width: 350px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

.header {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_border {
    margin-bottom: 20px;
    padding-bottom: 20px;
    /* border-width: 1px; */
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%) 1;
}

.header__logo {
    background: url("./images/HeaderLogo.svg");
    width: 273.664px;
    height: 44.031px;
}

.header__burger {
    display: none;
}

.header__navigation {
    z-index: 0;
    position: relative;
    margin: 0;
}

.header__navigation::after {
    content: url("./images/Ellipse\ 33.svg");
    filter: blur(10px);
    pointer-events: none;
    z-index: 1;
    position: absolute;
    right: -343;
    top: -570;
}

.header__nav-links {
    gap: 20px;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__list-item {
    font-size: 16px;
    font-weight: 500;
}

.header__link {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    width: 95px;
    padding: 0;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent; */
    /* animation: gradientTransitionRev 0.5s ease; */
}

.header__link:hover {
    font-weight: 700;
    /* animation: gradientTransition 0.5s ease; */
    background: #7c95fc;
    background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.header__link:active {
    font-size: 16px;
    background: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    /* animation: gradientTransitionRev 0.5s ease; */
}

.header__burger-menu {
    display: none;
}

.main {
    flex-grow: 1;
}

.request {
    z-index: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 1180px;
    align-items: center;
}

.request__form {
    z-index: 1;
    max-width: 583px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 74px 101px;
    margin: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.request__form_type_about {
    background: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.request::after {
    content: url("./images/RequestGradient.png");
    pointer-events: none;
    filter: blur(10px);
    z-index: 0;
    position: absolute;
    top: -130;
    left: auto;
}

.request__fieldset {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    padding: 0;
    margin: 34px 0 0 0;
    gap: 20px;
}

.request__input {
    font-size: 16px;
    margin: 0;
    padding: 8px 10px 8px 19px;
    width: 100%;
    height: 44px;
    border-radius: 7px;
    background-color: #1f1f1f;
    color: #fff;
    background: linear-gradient(#1f1f1f, #1f1f1f) padding-box, linear-gradient(180deg, #6ddcff 0%, #7f60f9 100%) border-box;
    border: 1px solid transparent;
    outline: none;
}

.request__input::placeholder {
    color: #6b7280;
}
.request__input:focus::placeholder {
    color: transparent;
}

.request__input_invalid {
    background: linear-gradient(#1f1f1f, #1f1f1f) padding-box, linear-gradient(180deg, #ed2a2a 0%, #7f60f9 100%) border-box;
    border: 1px solid transparent;
    outline: none;
    caret-color: #ed2a2a;
}

.request__message {
    padding: 8px 10px 8px 15px;
    height: 109px;
    resize: none;
    width: 380px;
}

.request__button {
    z-index: 1;
    position: relative;
    cursor: pointer;
    margin: 20px 0 0 0;
    padding: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    width: 380px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
    transition: transform 0.1s ease-in-out, backgorund 0.1s ease-in-out;
}

/* .request__button:hover:not([disabled]) {
  background: linear-gradient(90deg, #7f60f9 0%, #6ddcff 100%);
} */

.request__button:active:not([disabled]) {
    transform: scale(0.92);
    background: linear-gradient(90deg, #7f60f9 0%, #6ddcff 100%);
}

.request__button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.request__button:before {
    z-index: -1;
    border-radius: 7px;
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #7f60f9 0%, #6ddcff 100%);
    transition: opacity 0.3s ease-in-out;
}

.request__button:not([disabled]):hover::before {
    opacity: 1;
}

.request__popup {
    box-sizing: border-box;
    padding: 20px;
    position: absolute;
    z-index: 2;
    top: 280;
    left: auto;
    width: 673px;
    height: 274px;
    background: #000;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.request__popup_invisible {
    display: none;
}

.request__popup_type_about {
    top: 250;
}

.request__close-button {
    align-self: flex-end;
    width: 42px;
    height: 42px;
    background-color: transparent;
    border: none;
    background-position: center;
    background-image: url(./images/CloseButton.png);
    transition: transform 0.15s ease-in-out;
}

.request__close-button:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.request__popup-text {
    text-align: center;
    margin: 50 auto 0 auto;
    max-width: 633px;
}

.request__popup-text-accent {
    background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.footer {
    display: flex;
    padding: 0 0 40px 0;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.footer__container {
    display: flex;
    max-width: fit-content;
}

.footer__info-container {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    background: url("./images/FooterLogo.svg");
    width: 380px;
    height: 61.14px;
}

.footer__location {
    margin: 22px 0 0 0;
    font-size: 16px;
}

.footer__policy {
    max-width: fit-content;
    margin: 36px 0 0 0;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.footer__policy:hover {
    background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__rights {
    font-size: 12px;
    margin: 15px 0 0 0;
}

.footer__navigation {
    margin-left: 103px;
    display: flex;
}

.footer__navigation_mobile {
    display: none;
}

.footer__nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    gap: 10px;
}

.footer__lits-item {
    font-size: 16px;
    font-weight: 500;
}

.footer__link {
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    width: 105px;
    padding: 10px 0;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* animation: gradientTransitionRev 0.5s ease; */
}

.footer__link:hover {
    font-weight: 700;
    background: #7c95fc;
    background: linear-gradient(90deg, #6ddcff 0%, #7f60f9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    /* animation: gradientTransition 0.5s ease; */
}

.footer__link:active {
    font-size: 16px;
    background: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    /* animation: gradientTransitionRev 0.5s ease; */
}

@media screen and (max-width: 1324px) {
    .lead {
        margin: 0 20px;
    }
}

@media screen and (max-width: 1080px) {
    .request_type_about {
        padding: 50px 0 140px;
    }

    .request__title_type_about {
        font-size: 40px;
    }

    .request__fieldset_type_about {
        margin-top: 20px;
    }
}

@media screen and (max-width: 1220px) {
    .header {
        position: relative;
        width: calc(100% - 40px);
    }

    .footer {
        margin: 0 0 0 20px;
    }
}

@media screen and (max-width: 942px) {
    .header__burger {
        z-index: 1;
        position: relative;
        margin-right: 20px;
        cursor: pointer;
        display: block;
        border: none;
        background-color: transparent;
        background-image: url("./images/Burger.svg");
        width: 57px;
        height: 38px;
        background-position: center;
        background-repeat: no-repeat;
        transition: transform 0.1s ease-in-out;
    }

    .header__burger:active {
        transform: scaleX(0.8);
    }

    .header::before {
        z-index: 0;
        content: url("./images/BurgerGradient.svg");
        position: absolute;
        filter: blur(10px);
        top: -500;
        right: -320;
        pointer-events: none;
    }

    .header__navigation {
        display: none;
    }

    .header__burger-menu {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 3;
        background-color: #0c0c0c;
        position: fixed;
        top: 0;
        right: 0;
        width: 248px;
        height: 716px;
        height: 100vh;
        transform: translateX(0);
        transition: all 0.4s ease-in-out;
    }

    .header__burger-menu_invisible {
        transform: translateX(250px);
    }

    .header__close {
        z-index: 3;
        margin: 40px 25px 0 0;
        align-self: flex-end;
        cursor: pointer;
        display: block;
        border: none;
        background-color: transparent;
        background-image: url("./images/BurgerClose.svg");
        width: 44px;
        height: 44px;
        background-position: center;
        background-repeat: no-repeat;
        transition: transform 0.1s ease-in-out;
    }

    .header__close:active {
        transform: scale(0.8);
    }

    .header__burger-navigation {
        margin: 27px 0 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header__nav-links {
        gap: 40px;
        display: flex;
        flex-direction: column;
        align-items: baseline;
    }

    .request::after {
        top: -180;
        content: url("./images/RequestGradientTablet.svg");
    }

    .request__form {
        width: 461px;
        padding: 74px 40px;
    }

    .request__popup {
        height: 214px;
        width: 573px;
    }
    .request__popup_type_about {
        top: 200;
    }

    .request__popup-text {
        margin-top: 20px;
    }
}

@media screen and (max-width: 743px) {
    .header__logo {
        background: url("./images/HeaderLogoMobbile.svg");
        width: 195px;
        height: 31.375px;
    }

    .footer__logo {
        background: url("./images/FooterLogoMobile.svg");
        width: 273.664px;
        height: 44.031px;
    }

    .footer__navigation {
        display: none;
    }

    .footer__navigation_mobile {
        display: block;
        margin: 37px auto;
    }

    .footer__nav-links {
        margin-top: 0;
    }

    .footer__location {
        font-size: 14px;
        margin-top: 15px;
    }

    .footer__policy {
        margin-top: 0;
        display: inline-block;
        font-size: 14px;
    }
}

@media screen and (max-width: 595px) {
    .header {
        padding: 30px 0;
    }

    .header_border {
        margin-bottom: 10px;
        padding-bottom: 20px;
    }

    .header::before {
        top: -450;
        right: -450;
    }

    .header__burger {
        margin-right: 5px;
    }

    .request {
        padding: 50px 0 100px 0;
    }

    .request__form {
        max-width: calc(100% - 40px);
        padding: 50px 35px;
    }

    .request__title {
        font-size: 40px;
    }

    .request__fieldset {
        margin-top: 25px;
    }

    .request__input {
        width: 100%;
    }

    .request__button {
        width: 100%;
    }

    .request__popup {
        max-width: 350px;
        height: 230px;
    }

    .request__popup-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 490px) {
    .request_type_about {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media screen and (max-width: 390px) {
    .footer {
        max-width: calc(100% - 40px);
    }
}
