html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #E5E5E5;
}

/* Указываем box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Убираем внутренние отступы */
ul[class],
ol[class] {
  padding: 0;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul[class],
ol[class] {
  list-style: none;
}

a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

/* Элементы a, у которых нет класса, сбрасываем до дефолтных стилей */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Упрощаем работу с изображениями */
img {
  max-width: 100%;
  display: block;
}

/* Указываем понятную периодичность в потоке данных у article*/
article > * + * {
  margin-top: 1em;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
  font: inherit;
}

p {
    font-weight: 400;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes show{
    0%{ opacity:0; }
    100% { opacity:1; }
   }

h2 {
    font-size: 50px;
}

.container {
    width: 1170px;
    margin: 0 auto;
}

.header {
    background: #fff;
}

.header__wrapper {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.logo {
    background: url('../img/logo.svg');
    width: 70px;
    height: 70px;
    display: block;
    margin-right: 100px;
}

.header__link {
    margin-right: 60px;
    color: #6068E8;
}

.header__link:last-child {
    margin-right: 0;
}

.btn {
    color: #fff;
    background: #6068E8;
    padding: 20px 0;
    width: 270px;
    text-align: center;
    border-radius: 6px;
    display: block;
    line-height: 20px;
    transition: 0.2s ease all;
}

.btn:hover {
    opacity: 0.8;
}

.header__btn {
    margin-left: 375px;
    padding: 15px 0;
    width: 200px;
}

.first {
    background-color: rgba(8, 10, 43, 0.7);
    background: url('../img/bg.jpg') no-repeat;
    background-size: cover;
    backdrop-filter: blur(8px);
    color: #fff;
}

.first__wrapper {
    padding: 195px 0;
}

.first__title {
    font-size: 80px;
    line-height: 98px;
}

.first__text {
    font-size: 24px;
    margin-top: 35px;
    margin-top: 35px;
    margin-bottom: 50px;
    font-weight: 500;
}

.about__wrapper {
    padding: 200px 0;
}

.about__title {
    color: #6068E8;
    margin-bottom: 60px;
}

.about__texts {
    display: flex;
    margin-bottom: 60px;
}

.about__text {
    font-weight: 600;
    font-size: 18px;
    width: 470px;
}

.about__text:last-child {
    font-weight: 400;
    margin-left: 30px;
    width: 670px;
}

.about__cards {
    display: flex;
}

.about__card {
    background: #fff;
    padding: 30px;
    box-shadow: 0px 6px 16px rgba(21, 24, 83, 0.1);
    border-radius: 6px;
    width: 270px;
    margin-right: 30px;
}

.about__card:last-child {
    margin-right: 0;
}

.about__card h4 {
    font-size: 18px;
    margin-top: 30px;
    width: 221px;
}

.about__card span {
    background: #6068E8;
    border-radius: 2px;
    width: 80px;
    height: 4px;
    display: block;
    margin: 16px 0;
}

.about__card p{
    width: 210px;
}

.our {
    background: url('../img/bg-our.jpg') no-repeat;
    background-size: cover;
    color: #fff;
}

.our__wrapper {
    padding: 100px 0;
}

.our__texts {
    display: flex;
    margin-top: 60px;
    margin-bottom: 80px;
}

.our__text {
    width: 670px;
    font-size: 18px;
}

.our__text:last-child {
    margin-left: 31px;
    width: 470px;
    font-weight: 600;
}

.our__imgs {
    margin-bottom: 80px;
}

.our__imgs-first {
    display: flex;
}

.our__imgs-first img{
    margin-right: 129px;
}

.our__imgs-first img:last-child{
    margin-right: 0;
}

.our__imgs-first img:nth-child(1) {
    margin-right: 105px;
}

.our__imgs-second {
    display: flex;
    margin-top: 60px;
}

.our__imgs-second img {
    margin-right: 101px;
}

.our__imgs-second img:last-child{
    margin-right: 0;
}

.our__text-btn {
    display: flex;
    align-items: center;
}

.our__subtext {
    width: 700px;
    margin-right: 70px;
}

.projects__wrapper {
    padding: 200px 0;
}

.projects__head {
    display: flex;
    align-items: center;
    margin-bottom: 200px;
}

.projects__title {
    color: #6068E8;
}

.projects__head-text {
    line-height: 150%;
    margin-left: 154px;
    margin-right: 138px;
}

.projects__main {
    display: flex;
}

.projects__main-title {
    font-size: 32px;
    color: #6068E8;
    margin-bottom: 30px;
}

.projects__main-text {
    width: 570px;
}

.projects__main-text span {
    font-weight: 600;
}

.projects__main img {
    margin-left: 30px;
    border-radius: 6px;
}

.projects__main-img-two {
    margin-left: -15px !important;
    margin-right: 30px;
}

.projects__main__two {
    align-items: center;
}

.footer {
    background: radial-gradient(31.51% 57.24% at 100% 99.1%, rgba(24, 31, 121, 0.5) 0%, rgba(14, 17, 60, 0.5) 100%), radial-gradient(35.52% 64.52% at 14.17% -9.22%, #191F84 0%, #0E113C 100%);
    color: #fff;
}

.footer__wrapper {
    padding: 100px 0 80px;
}

.footer__wrapper-second {
    display: flex;
    align-items: center;
}

.footer__form-wrapper {
    background: #F1F1F1;
    border-radius: 30px;
    padding: 60px;
    width: 460px;
    margin-right: 140px;
}

.footer__form-title {
    font-size: 32px;
    color: #6068E8;
    margin-bottom: 30px;
}

.footer__form input {
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    width: 340px;
    padding: 20px 0;
    padding-left: 20px;
    outline: none;
    margin-bottom: 16px;
}

.footer__form-big-input {
    padding-bottom: 60px !important;
}

.footer__form-btn {
    width: 340px;
    margin-bottom: 30px;
}

.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    margin-top: 10px;
    color: #000;
  }
  .custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 2px solid #6068E8;
    border-radius: 6px;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
  }
  
  .custom-checkbox:checked+label::before {
    border-color: #6068E8;
    background-color: #6068E8;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
  }
  /* стили для активного состояния чекбокса (при нажатии на него) */
  .custom-checkbox:not(:disabled):active+label::before {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
  }
  /* стили для чекбокса, находящегося в фокусе */
  .custom-checkbox:focus+label::before {
    box-shadow: 0 0 0 0.2rem rgba(96, 104, 232, 0.25);
  }
  /* стили для чекбокса, находящегося в фокусе и не находящегося в состоянии checked */
  .custom-checkbox:focus:not(:checked)+label::before {
    border-color: #80bdff;
  }
  /* стили для чекбокса, находящегося в состоянии disabled */
  .custom-checkbox:disabled+label::before {
    background-color: #e9ecef;
  }

.link__in-label {
    color: #6068E8;
    text-decoration-line: underline;
    margin-left: 5px;
}

.footer__title {
    margin-bottom: 60px;
}

.footer__one-line {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.footer__one-line:last-child {
    margin-bottom: 0;
}

.footer__one-line span {
    font-size: 18px;
    opacity: 0.6;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    font-weight: 400;
    text-transform: uppercase;
    width: 100px;
    margin-right: 100px;
}

.footer__one-line a {
    color: #fff;
    font-size: 18px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.footer__social-icon {
    background: url('../img/instagram.svg');
    width: 26px;
    height: 26px;
    margin-right: 24px;
}

.footer__social-icon:nth-of-type(2) {
    background: url('../img/facebook.svg');
}

.footer__social-icon:nth-of-type(3) {
    background: url('../img/telegram.svg');
}

.footer__social-icon:nth-of-type(4) {
    background: url('../img/linkedin.svg');
    margin-right: 0;
}

.footer__bottom-nav {
    margin-top: 155px;
    display: flex;
    align-items: center;
    margin-bottom: 66px;
}

.footer-logo {
    background: url('../img/logo-footer.svg');
}

.footer__bottom-link {
    margin-right: 60px;
    color: #FFFFFF;
    opacity: 0.6;
    font-weight: 600;
}

.footer__bottom-link.last {
    margin-right: 0;
}

.footer__bottom-right-link.firstlink {
    margin-left: 281px;
    margin-right: 60px;
}

.footer__bottom-right-link {
    opacity: 0.6;
    color: #FFFFFF;
    text-decoration-line: underline;
    font-weight: 500;
    font-size: 16px;
}

.copyright {
    font-size: 14px;
    opacity: 0.4;
}

.burger {
    display: none;
}
.menu {
    display: none;
}

.our__imgs-first img:last-child {
    display: none;
}

.privacy {
    color: #fff;
}

.privacy-bg {
    background: url('../img/bg-privacy.jpg') no-repeat;
    background-size: cover;
    padding: 100px 0;
}

.privacy h1 {
    font-size: 80px;
}

.policy-text {
    font-size: 16px;
    color: #000;
    margin-top: 80px;
    margin-bottom: 150px;
}

.footer__wrapper-two {
    padding: 80px 0;
}
.footer__bottom-nav-two {
    margin: 0;
}
.copyright-two {
    margin-top: 66px;
}

@media (max-width: 1250px) {
    .container {
        padding: 0 25px;
        width: auto;
    }
    .header__btn {
        margin-left: auto;
    }
    .about__text {
        width: auto;
    }
    .about__text:last-child {
        width: auto;
    }
    .projects__head-text {
        margin: 0 auto;
    }
    .projects__main-text {
        width: auto;
    }
    .footer__bottom-right-link.firstlink {
        margin-left: auto;
    }
    .our__imgs-first {
        flex-wrap: wrap;
    }
    .our__imgs-second {
        flex-wrap: wrap;
    }
    .our__text {
        width: auto;
    }
    .our__text:last-child {
        width: auto;
    }
    .about__cards {
        flex-wrap: wrap;
    }
    .our__subtext {
        width: 100%;
    }
    .about__card {
        margin-bottom: 30px;
    }
    .projects__main__two {
        margin-top: 50px;
    }
    .projects__main img {
        height: 412px;
    }
    .our__imgs-first img {
        margin-bottom: 50px;
    }
    .our__imgs-second img {
        margin-bottom: 50px;
    }
}

@media (max-width: 1050px) {
    .projects__main {
        display: block;
    }
    .projects__main img {
        margin-left: -20px;
    }
    .projects__main__two {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

@media (max-width: 1024px) {
    .footer__form-wrapper {
        width: 100%;
        margin-right: 0;
    }
    .footer__form input {
        width: 100%;
    }
    .footer__form-btn {
        width: 100%;
    }
    .footer__one-line span {
        margin-right: auto;
    }
    .custom-checkbox {
        position: unset;
    }
    .footer__form-btn {
        margin-bottom: 0;
    }
    .logo {
        margin-right: 35px;
    }
    .footer__wrapper-second {
        display: flex;
        flex-wrap: wrap-reverse;
    }
    .footer__right-wrapper {
        margin-bottom: 60px;
    }
    .footer__right-wrapper {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .footer__bottom-nav {
        display: block; 
    }
    .footer__bottom-right-link.firstlink {
        margin-left: 60px;
    }
    .projects__head {
        display: block;
    }
    .projects__head-text {
        margin: 30px 0;
    }
    .first__title {
        font-size: 50px;
    }
}

@media (max-width: 767px) {
    .header__wrapper-links {
        display: none;
    }
    .btn.header__btn {
        display: none;
    }

    .logo {
        width: 40px;
    height: 40px;
    background-size: contain;
    }

    .menu {
        display: block;
    }
    
    .burger{
        display: block;
        position: absolute;
        right: 10px;
        top: 32px;
        width: 28px;
        height: 50px;
        cursor: pointer;
        z-index: 99;
      }
      .burger span, .burger span:before, .burger span:after{
        width: 100%;
        position: absolute;
        height: 4px;
        background: #6068E8;
        display: block;
        transition: .3s;
        border-radius: 5px;
      }
      .burger span:before{
        content: "";
        top: -8px;
        transition: top 300ms 300ms, transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
      }
      .burger span{
        top: 3px;
      }
      .burger span:after{
        content: "";
        bottom: -7px;
        transition: bottom 300ms 300ms, transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
      }
      .burger span.active:before{
        content: "";
        top: 0px;
        transform: rotate(45deg);
        transition: top 300ms, transform 300ms 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }
      .burger span.active:after{
        content: "";
        bottom: 0;
        transform: rotate(-45deg);
        transition: bottom 300ms, transform 300ms 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }
      .burger span.active{
        background: rgba(255, 255, 255, 0); 
      }
      .menu{
        width: 100%;
        height: auto;
        background: #fff;
        color: #ccc;
        padding: 10px;
        position: fixed;
        left: -1320px;
        z-index: 98;
        top: 0;
        transition: left 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }
      .menu.animate{
        left: 0;
      }
      .burger-logo {
          background: url('../img/logo.svg');
          background-size: contain;
          width: 70px;
          height: 70px;
          display: block;
      }
      .burger-link {
          color: #6068E8;
          font-size: 16px;
          margin-bottom: 30px;
          display: block;
          text-align: center;
      }
      .header__btn-burger {
          margin: 0 auto;
          margin-top: 10px;
      }
      .menu {
          padding-bottom: 30px;
      }
      .projects__main img {
          height: 100%;
      }
      .footer__form-wrapper {
          padding: 30px 20px;
      }
      .footer__bottom-right-link.firstlink {
          margin-left: 0;
      }
      .footer-logo {
          width: 68px;
          height: 68px;
          margin-bottom: 50px;
      }
      .our__imgs-first img:nth-child(1) {
          width: 80px;
      }
      .our__imgs-first img:nth-child(2) {
        width: 160px;
    }
    .our__imgs-first img:nth-child(3) {
        width: 93px;
    }
    .our__imgs-first img:nth-child(4) {
        width: 107px;
    }
    .our__imgs-first img:nth-child(5) {
        width: 80px;
    }
    .our__imgs-first img:nth-child(6) {
        width: 118px;
        display: block;
    }
    .our__imgs-second img:nth-child(1) {
        width: 118px;
        display: none;
    }
    .our__imgs-second img:nth-child(2) {
        width: 151px;
    }
    .our__imgs-second img:nth-child(3) {
        width: 126px;
    }
    .our__imgs-first img {
        margin-right: 35px !important;
    }
    .our__imgs-second img:last-child {
        width: 151px;
    }
    .our__imgs-second img {
        margin-right: 35px !important;
    }
    .our__imgs-second {
        margin-top: 0;
    }
    .privacy h1 {
        font-size: 36px;
    }
    .privacy-bg {
        padding: 60px 0;
    }
    .policy-text {
        margin-top: 40px;
    }
}

@media (max-width: 550px) {
    .footer__bottom-link {
        display: block;
        margin-bottom: 30px;
    }
    .footer__bottom-right-link.firstlink {
        display: block;
        margin-top: 50px;
        margin-bottom: 30px;
    }
    .footer-logo {
        width: 100px;
        height: 100px;
    }
    .first__title {
        font-size: 36px;
        line-height: 44px;
    }
    .first__text {
        font-size: 18px;
        margin-bottom: 40px;
    }
    .first__btn {
        width: 100%;
    }
    .first__wrapper {
        padding: 100px 0;
    }
    .about__title {
        font-size: 32px;
    }
    .about__texts {
        display: block;
    }
    .about__text:last-child {
        margin-left: 0;
        margin-top: 20px;
    }
    .about__card {
        width: 100%;
        margin-right: 0;
    }
    .about__card-inwrapper {
        display: flex;
        align-items: center;
    }
    .about__card h4 {
        margin-top: 0;
        margin-left: 30px;
        width: 155px;
    }
    .about__card p {
        width: 100%;
    }
    .about__title {
        margin-bottom: 30px;
    }
    .about__wrapper {
        padding: 100px 0;
    }
    .our__title {
        font-size: 32px;
    }
    .our__texts {
        display: block;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .our__text:last-child {
        margin-left: 0;
        margin-top: 20px;
    }
    .our__imgs {
        margin-bottom: 40px;
    }
    .our__text-btn {
        display: block;
    }
    .our__subtext {
        margin-bottom: 30px;
    }
    .btn__text-btn-btn {
        width: 100%;
    }
    .our {
        background-position: center;
    }
    .our__wrapper {
        padding: 60px 0;
    }
    .projects__wrapper {
        padding: 100px 0;
    }
    .projects__head {
        margin-bottom: 100px;
    }
    .projects__head-btn {
        width: 100%;
    }
    .projects__main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .projects__main-text {
        font-size: 14px;
    }
    .footer{
        background: radial-gradient(102.93% 36.52% at 100% 99.1%, rgba(24, 60, 121, 0.5) 0%, rgba(14, 17, 60, 0.5) 100%), radial-gradient(181.87% 64.52% at 14.17% -9.22%, #191F84 0%, #0E113C 100%);
    }
    .footer__title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .footer__one-line span {
        font-size: 17px;
    }
    .footer__one-line a {
        font-size: 16px;
    }
    .footer__bottom-nav {
        margin-top: 100px;
    }
    .footer__wrapper-two {
        padding: 60px 0;
    }
    .footer__bottom-nav-two {
        margin: 0;
    }
}