@media screen and (max-width: 1200px) {
  .cover {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (min-width: 768px) {
  .header__dropdown {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .header__logo {
    margin-right: auto;
  }

  .header nav {
    padding: 90px 20px 0px;
    position: absolute;
    -webkit-transform: translateY(-200vh);
    -ms-transform: translateY(-200vh);
    transform: translateY(-200vh);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000205;
    left: 0;
    top: 0;
    z-index: -1;
  }

  .header nav.active {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    position: fixed;
  }

  .header__nav > ul {
    padding-bottom: 68px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    max-height: 100%;
    overflow-y: scroll;
  }

  .header__nav::-webkit-scrollbar-track {
    background-color: #7587c7;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

  .header__nav::-webkit-scrollbar {
    display: block;
    width: 3px;
  }
  .header__nav::-webkit-scrollbar-thumb {
    background-color: #fff;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

  .header-dropdown__button svg {
    display: block;
    margin: 0px;
    fill: #ffffff;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }

  .header-dropdown__button svg rect {
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
  }

  .header-dropdown__button.active,
  .header-dropdown__button:hover {
    border-color: #fff;
  }

  .header-dropdown__button.active ~ .menu {
    top: 100%;
    opacity: 1;
  }

  .header-dropdown__button:hover {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .header-dropdown__button.active svg rect:nth-child(1) {
    x: -2px;
    y: 6px;
    width: 20px;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
  }

  .header-dropdown__button.active svg rect:nth-child(2) {
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: scale(0, 2);
    -ms-transform: scale(0, 2);
    transform: scale(0, 2);
  }

  .header-dropdown__button.active svg rect:nth-child(3) {
    x: -2px;
    y: 6px;
    width: 20px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
  }
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  h2 {
    font-size: 28px;
  }

  .main > section,
  .main > article {
    margin-bottom: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .prime__wrap {
    padding: 32px 0 32px 32px;
  }

  .prime__title {
    font-size: 35px;
  }

  .services-overview__list li:nth-child(n) {
    margin-right: 20px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 -webkit-calc((100% - 20px) / 2);
    -ms-flex: 0 0 calc((100% - 20px) / 2);
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .services-overview__list li:nth-child(2n) {
    margin-right: 0;
  }

  .container.industries {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .container.industries > * {
    margin-bottom: 32px;
  }

  .container.industries > *:last-child {
    margin-bottom: 0;
  }

  .container__wrap.industries__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .container__wrap.industries__image {
    margin-top: 32px;
  }

  .footer {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .footer__nav {
    margin-right: 0;
  }

  .nav.footer__nav > ul {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .footer__copy {
    margin-top: 32px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .cover {
    padding-left: 20px;
    padding-right: 20px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  .nav a {
    padding: 8px 10px;
  }

  .prime__desc {
    font-size: 20px;
  }

  .info .container {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .info .container:nth-child(even) {
    -webkit-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
  }

  .info > * {
    margin-bottom: 32px;
  }

  .info > *:last-child {
    margin-bottom: 0;
  }

  .container__wrap.info__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .container__wrap.info__image {
    margin-top: 32px;
  }

  .contacts__list {
    margin-top: -32px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .contacts__list li:nth-child(n) {
    margin-top: 32px;
    margin-left: 10px;
    margin-right: 10px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 -webkit-calc(100% / 2 - 20px);
    -ms-flex: 0 0 calc(100% / 2 - 20px);
    flex: 0 0 calc(100% / 2 - 20px);
  }

  .services-overview__list li {
    padding: 20px;
  }

  .footer > * {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .footer > *:last-child {
    margin-bottom: 0;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .nav.footer__nav {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .nav.footer__nav > ul {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media screen and (max-width: 550px) {
  .main > section,
  .main > article {
    margin-bottom: 48px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .desc {
    margin-bottom: 32px;
  }

  article h2,
  .article h2 {
    margin-top: 32px;
  }

  .title.title-center {
    margin-bottom: 32px;
  }

  .prime {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .prime__wrap {
    padding: 32px 20px 20px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    z-index: 2;
  }

  .prime__image {
    margin-left: auto;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
  }

  .services__container {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .services-overview > * {
    margin-bottom: 32px;
  }

  .services-overview__list li:nth-child(n) {
    margin-right: 0;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .industries__title {
    margin-bottom: 32px;
  }

  .container.about {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .container.about > * {
    margin-bottom: 32px;
  }

  .container.about > *:last-child {
    margin-bottom: 0;
  }

  .container__wrap.about__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .container__wrap.info__image,
  .container__wrap.industries__image {
    margin-top: 20px;
  }

  .container__wrap.info__image {
    margin-left: auto;
    margin-right: auto;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
  }

  .footer__nav .nav__item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .page-error .prime__desc {
    font-size: 16px;
  }

  .page-error .prime__wrap {
    padding: 48px 0;
  }
}

@media screen and (max-width: 500px) {
  .contacts__list li:nth-child(n) {
    margin-left: 0;
    margin-right: 0;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 415px) {
  body {
    font-size: 14px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }

  .container__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .title.title-center {
    margin-bottom: 20px;
  }

  .prime__wrap {
    padding: 20px 16px;
  }

  .prime__title {
    font-size: 26px;
  }

  .prime__desc {
    font-size: 16px;
  }

  .industries-list__title {
    font-size: 20px;
  }

  .services__container:nth-child(even) {
    -webkit-flex-wrap: wrap-reverse;
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
  }

  .container__wrap.services-container__image {
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 70%;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
  }
}
