/*!
Theme Name: MS
Author: MS
Description: 
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ms
Tags: 
*/

/* Налаштування змінних */
:root {
  --wight-color: #ffffff;
  --bg-body-color: #000000;
  --gray-color: #42413f;

  --button-animation-time: all 0.3s ease;

  --menu-animation-time: all 0.8s ease;

  --font-title: "Bebas Neue", sans-serif;
  --font-text: "Arial", sans-serif;
  --font-text-bold: "Arial", sans-serif;
  --font-text-black: "Arial", sans-serif;

  --font-abenttitul: "Bauhaus Std", sans-serif; /* вертикальный текст*/
  --font-aavantetitlercpsupcbold: "aavantetitlercpsupcbold", sans-serif;
}

/* Основні стилі */
body {
  color: var(--wight-color);
  background-color: var(--bg-body-color);

  font-family: var(--font-title);
  font-size: 16px;
  letter-spacing: 0.6px;
}

.wrapper {
  overflow: hidden;
}

p,
li,
span,
strong,
a {
  color: var(--wight-color);
}

[class*="__container"] {
  width: 100%;
  max-width: 926px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Стилі шапки сайту */
header {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

.header__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  padding-top: 30px;
  padding-bottom: 30px;
}

.header__container .site-branding .custom-logo {
  width: 118px;
  height: 92px;
}

.wrapper__menu .menu {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.wrapper__menu .menu a {
  text-decoration: none;
  text-transform: uppercase;

  font-size: 20px;
  font-weight: 400;

  transition: var(--button-animation-time);
}
.wrapper__menu .menu a:hover {
  color: var(--gray-color);
}

.header__container .menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;

  width: 24px;
  height: 24px;
}

.menu-close {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;

  width: 24px;
  height: 24px;
}

.menu-toggle,
.menu-close {
  color: var(--wight-color);
  cursor: pointer;

  transition: var(--button-animation-time);
}

.menu-toggle svg path,
.menu-close svg path {
  fill: var(--wight-color);

  transition: var(--button-animation-time);
}

.menu-toggle:hover,
.menu-close:hover {
  color: var(--gray-color);
}

.menu-toggle:hover svg path,
.menu-close:hover svg path {
  fill: var(--gray-color);
}

/* Стилі першого екрану */
.section__hero,
.block__bg-img-section-1 {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.block__bg-img-section-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block__big-logo-section-1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
}

.block__big-logo-section-1 img {
  width: calc(514px + (1236 - 514) * ((100vw - 320px) / (1920 - 320)));
  position: absolute;
  bottom: 0;
  left: calc(-180px + (768 - 180) * ((100vw - 320px) / (1920 - 320)));
  right: 0;
}

.block__title-hero-section {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.title-hero-section__container .title-hero {
  font-size: calc(20px + (34 - 20) * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1.2px;

  width: calc(268px + (520 - 268) * ((100vw - 320px) / (1920 - 320)));
  margin-bottom: 70px;
}

.wrapper__button-hero {
  margin-bottom: 100px;
  display: inline-block;
}

.wrapper__button-hero .read-more {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;

  scale: 1;

  transition: var(--button-animation-time);
}

.wrapper__button-hero .read-more:hover {
  gap: 35px;
}

.wrapper__button-hero .read-more:hover svg,
.wrapper__button-hero .read-more:hover span {
  scale: 1;

  transition: var(--button-animation-time);
}

.wrapper__button-hero .read-more:hover svg,
.wrapper__button-hero .read-more:hover span {
  scale: 1.4;
}

.wrapper__button-hero .read-more svg {
  width: 24px;
  height: 24px;
}

.section__hero .wrapper__button-hero .read-more svg path,
.section__hero .wrapper__button-hero .read-more svg polygon,
.section__about-us .wrapper__button-hero .read-more svg path,
.section__about-us .wrapper__button-hero .read-more svg polygon {
  fill: var(--wight-color);
}

.block__mouse {
  display: none;
}

/* Стилі секції 2 */
.section__about-us {
  overflow: hidden;
  padding: 0 0 60px 0;
}
.about-us__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.left-block__about-us,
.right-block__about-us {
  width: 47%;
  min-width: 300px;
}

.right-block__about-us {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.bg-block__right-block-about-us {
  width: 40%;
  position: relative;

  height: 670px;
}

.bg-block__right-block-about-us .vertical-text {
  transform: rotate(-90deg);
  font-family: var(--font-abenttitul);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 192px;
  position: absolute;
  left: -72px;
  top: -182px;
  right: 0;
  bottom: 0;
  width: 780px;
  height: 780px;

  color: var(--wight-color);
  opacity: 0.3;

  /*-webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--gray-color);*/
}

.content__right-block-about-us {
  width: 60%;

  z-index: 1;
}

.text__block {
  margin-bottom: 40px;
}

.text__block p {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 160%;
}

.man__containet {
  position: relative;
  padding: 84px 0;
}

.man__containet .right-block__about-us {
  width: 40%;

}

.man__containet .left-block__about-us{
  width: 55%;
}

/*.man__containet .left-block__about-us::before {
    content: '';
    display: block;
    background-image: url(/wp-content/uploads/2023/11/podlozhka_hud.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -77px;
    right: -257px;
    transform: rotateX(32deg);
}*/

.man__containet .left-block__about-us img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* Стилі секції 3 */
.section__why-we {
  background: var(--wight-color);
  color: var(--bg-body-color);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.left-block__why-we {
  width: 40%;
}

.right-block__why-we {
  width: 60%;
  padding-left: 20%;
}

.right-block__why-we .text__block {
  width: 300px;
}

.right-block__why-we .title__block {
  font-size: 36px;
  margin-bottom: 60px;
}

.right-block__why-we .text__block p {
  color: var(--bg-body-color);
}

.right-block__why-we .wrapper__button-hero {
  margin-bottom: 20px;
}
.right-block__why-we .wrapper__button-hero,
.right-block__why-we .wrapper__button-hero span {
  color: var(--bg-body-color);
}

.right-block__why-we .wrapper__button-hero svg path {
  fill: var(--bg-body-color);
}

/* Ситлі четвертої секції */
.section__advantages {
  position: relative;
}

.section__advantages .bg-img__advantages {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.section__advantages .bg-img__advantages img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.section__advantages .inner__advantages {
  width: 100%;
  height: 100%;
  position: relative;
  padding-top: calc(30px + (180 - 30) * ((100vw - 320px) / (1920 - 320)));
  padding-bottom: calc(30px + (80 - 30) * ((100vw - 320px) / (1920 - 320)));
  padding-left: 30px;
  padding-right: 30px;
}

.advantages__container {
  background: rgba(255, 255, 255, 0.3);

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
  align-items: flex-start;

  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 70px;
  padding-right: 70px;

  margin-bottom: 70px;
}

.advantages__container .advantages__block {
  width: 210px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
}

.advantages__container .advantages__block .icon-advantages {
  text-align: center;
}
.advantages__container .advantages__block .icon-advantages img {
  width: auto;
  height: 50px;

  margin-bottom: 30px;
}

.advantages__container .advantages__block .title-advantages {
  font-family: var(--font-text);
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
  line-height: 130%;

  min-height: 90px;

  margin-bottom: 36px;
}

.advantages__container .advantages__block .desc-advantages {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
}

.whot-we-do__block .title__whot-we-do__block {
  font-family: var(--font-abenttitul);
  text-transform: uppercase;
  font-weight: 900;
  font-size: calc(36px + (66 - 36) * ((100vw - 320px) / (1920 - 320)));
  /*-webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--gray-color);*/

  color: var(--wight-color);
  opacity: 0.3;
}

.whot-we-do__block .desc__title__whot-we-do__block {
  text-transform: uppercase;
  font-weight: 400;
  font-size: calc(14px + (26 - 14) * ((100vw - 320px) / (1920 - 320)));

  margin-bottom: 50px;
}

/* Стилі слайдеру на головній сторінці */
.SwiperHome {
  height: 100% !important;
}
.wrapper-block__slider-home-page .slider__wrapper-home {
  /*width: 260px;*/
  background-color: #cccccc;
  position: relative;
}

.slider-small__wrapper {
  position: relative;
}

.slider-small__wrapper .wrapper__button-slider-home {
  position: absolute;
  left: 0;
  top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: row-reverse;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.wrapper__button-slider-home .swiper-button-home {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  scale: 1;
  cursor: pointer;
  transition: var(--button-animation-time);
}

.wrapper__button-slider-home .swiper-button-home svg {
  width: 10px;
}

.slider-small__wrapper .swiper-wrapper {
  padding-top: 48px;
}

.wrapper-block__slider-home-page .slider__wrapper-home .wrapper__slider-title {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-content: center;
  align-items: center;
  flex-wrap: wrap;

  padding: 20px 10px;
}
.wrapper-block__slider-home-page
  .slider__wrapper-home
  .wrapper__slider-title
  a {
  color: var(--bg-body-color);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 8px;

  scale: 1;

  transition: var(--button-animation-time);
}

.slider__wrapper-home .slider-big__wrapper .swiper-slide {
  height: 480px;
}
.slider__wrapper-home .slider-small__wrapper .swiper-slide {
  height: 100px;
}

.wrapper-block__slider-home-page .slider__wrapper-home a svg {
  width: 24px;
  height: 24px;
}

.wrapper-block__slider-home-page .slider__wrapper-home a h2 {
  color: var(--bg-body-color);

  font-family: var(--font-title);
  font-weight: 400;
  font-size: 16px;
}

.wrapper-block__slider-home-page
  .slider__wrapper-home
  .wrapper__slider-title
  a:hover {
  scale: 1.2;
}

.wrapper-block__slider-home-page {
  position: relative;
  padding-left: 30px;
  padding-right: 30px;
}

/*Стилі блоку Що ми робимо секція тексту і картинок*/
.wrapper__block-big-text__we_do {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: flex-end;
    align-items: center;
}
.block-big-text-nazv__we_do {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}
.block-big-text-nazv__we_do span{
	color: var(--wight-color);
    font-family: var(--font-title);
    font-size: 36px;
    letter-spacing: 0.6px;
}
.block-big-text-nazv__we_do img{
	width: 100%;
    max-width: 38px;
}
.block-big-text__we_do {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
	
	width: 100%;
    max-width: 68vw;
}
.block-big-text__we_do .wrap-text {
    background: var(--wight-color);
    width: 100%;
    max-width: 65vw;
    padding: 60px 30px 180px 30px;
    
}
.block-big-text__we_do .wrap-text p {
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 160%;
    color: var(--bg-body-color);
	
	margin-bottom: 10px;
    
    width: 100%;
    max-width: 50vw;
}

.block-foto__we_do {
    display: grid;
    align-content: start;
    justify-content: start;
    align-items: start;
    justify-items: start;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    
    width: 100%;
    max-width: 90vw;
    margin-top: -100px;
    padding-left: 60px;
    padding-right: 60px;
}

/* Стилі блоку Контакти */
.contacts__sections {
  padding-top: 90px;
  padding-bottom: 90px;

  text-align: center;
}

.contacts__sections .title__contacts {
  font-size: 36px;
  margin-bottom: 60px;
}

.content__contacts a {
  text-decoration: none;
  color: var(--wight-color);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 20px;
  display: inline-block;
  scale: 1;

  transition: var(--button-animation-time);
}

.content__contacts a svg {
  margin-right: 8px;
}

.content__contacts a:hover {
  color: var(--gray-color);
  scale: 1.4;
}

/* Стилі підвалу сайта */
.site-footer {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.site-footer .logo__footer img {
  width: 150px;
  height: 110px;
}

.site-info {
  font-family: var(--font-text);
  font-size: 16px;

  margin-top: 30px;
}

.who-is-developer {
  display: none;
}

/* Стилы сторінки Проєкту */
.project__page {
  background: var(--wight-color);
  color: var(--bg-body-color);
  padding-top: 138px;
  min-height: 78vh;
  padding-bottom: 50px;
}

.project__container .project__left-block {
  width: 64%;
  min-width: 300px;
}

.project__container .project__right-block {
  width: 36%;
  min-width: 300px;
}

.project__container .project__right-block .sliderRightProject {
  height: 100px;
}

.project__container .project__right-block {
  padding-left: calc(0px + (36 - 0) * ((100vw - 320px) / (1920 - 320)));
}

.project__container .project__left-block {
  position: relative;
  overflow: hidden;
}

.project__container .project__left-block .entry-project-header {
  text-align: right;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  padding: 10px 20px;
}

.project__container .entry-project-header .title__project-page {
  font-size: 24px;
  font-weight: 400;
  color: var(--bg-body-color);
  font-family: var(--font-abenttitul);
  margin-top: -8px;
  margin-bottom: 12px;
}

.project__page .text-whot-we-do__project-page {
  font-family: var(--font-text-black);
  text-transform: uppercase;
  font-weight: 900;
  font-size: calc(32px + (42 - 32) * ((100vw - 320px) / (1920 - 320)));
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--gray-color);

  margin-bottom: 34px;
}

.project__page .project__right-block .slider-right__wrapper {
  margin-bottom: 50px;
}

.project__page p {
  font-family: var(--font-text);
  color: var(--bg-body-color);
}

.project__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: flex-start;
}

/* Налаштування слайдерів */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.sliderLeftProject {
  height: 80%;
  width: 100%;
}

.sliderRightProject {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.sliderRightProject .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 1;
}

.sliderRightProject .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrapper__button-slider {
  position: relative;
    margin-top: -38px;
    margin-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.wrapper-block__slider-home-page .wrapper__button-slider {
  position: absolute;
  left: 0;
  top: 50%;
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  height: 40px;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.wrapper-block__slider-home-page .wrapper__button-slider .swiper-button {
  background-color: var(--wight-color);
  border: 1px solid var(--bg-body-color);
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  scale: 1;
  transition: var(--button-animation-time);
}

.wrapper-block__slider-home-page .wrapper__button-slider .swiper-button svg {
  width: 16px;
}

.swiper-button {
  background-color: var(--wight-color);
  border: 1px solid var(--bg-body-color);
  width: 24px;
  height: 24px;
  border-radius: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  scale: 1;

  transition: var(--button-animation-time);
}

.swiper-button svg {
  width: 10px;
}
.swiper-button svg path {
  fill: var(--bg-body-color);
}

.swiper-button:hover {
  scale: 1.2;
}

/* Налаштування анімацій */

/* Анімація мишки на головному екрані */
@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.block__mouse {
  /* Анімація */
  animation: moveUpDown 1s infinite;
}

/* Анімація логотипу в кнопці */
@keyframes moveRotate {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(0px) rotate(20deg);
  }
}

.wrapper__button-hero .read-more svg,
.content__contacts a svg,
.wrapper-block__slider-home-page .slider__wrapper-home a svg {
  /* Анімація */
  animation: moveRotate 1s infinite;
}

.error-404 {
  height: 78vh;
}

.error-404 .block-404-img {
  margin-top: calc(0px + (100 - 0) * ((100vw - 320px) / (1920 - 320)));
  font-weight: 900;
  font-size: calc(70px + (200 - 70) * ((100vw - 320px) / (1920 - 320)));
}


.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.project__page img {
  cursor: pointer;
}

.pagination {
  margin-top: 20px;
}

.pagination .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: flex-start;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.pagination a {
  font-family: var(--font-text);
  color: var(--bg-body-color);
  text-decoration: underline;

  transition: var(--button-animation-time);
}
.pagination a:hover {
  color: var(--gray-color);
  text-decoration: none;
}



/* ---------------- Стилі девайсів --------------------- */

@media (max-width: 900px) {
  /* Стилі меню */
  .header__container .menu-toggle,
  .menu-close {
    display: flex;
  }

  .wrapper__menu {
    position: absolute;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 0vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);

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

    transition: var(--menu-animation-time);
  }

  .show__menu {
    top: 0;
    height: 100vh;
    background: var(--bg-body-color);
    backdrop-filter: blur(20px);

    transition: var(--menu-animation-time);

    z-index: 99;
  }

  .inner__menu {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;

    position: relative;
  }

  .inner__menu .menu-close {
    position: absolute;
    right: 22px;
    top: 22px;
  }

  .inner__menu nav ul.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 58px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    overflow: hidden;

    position: relative;
  }

  .inner__menu nav ul.menu li a {
    text-align: center;
    font-size: 30px;
  }

  /* Стилі першого екрану */
  .block__title-hero-section {
    bottom: 35%;
  }

  .title-hero-section__container {
    margin-left: calc(0px + (344 - 0) * ((100vw - 320px) / (1920 - 320)));
  }

  .block__big-logo-section-1 img {
    bottom: 36%;
  }

  .block__mouse {
    position: absolute;
    bottom: 12%;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .block__mouse svg {
    width: 30px;
    height: 50px;
  }

  /* Стилі другого екрану */
  .about-us__container {
    flex-direction: column-reverse;
    gap: 0;
  }
  .right-block__about-us {
    width: 100%;
  }

  .bg-block__right-block-about-us .vertical-text {
    font-size: calc(116px + (180 - 116) * ((100vw - 320px) / (1920 - 320)));
    left: calc(-36px + (100 - 36) * ((100vw - 320px) / (1920 - 320)));
    top: calc(-318px + (640 - 318) * ((100vw - 320px) / (1920 - 320)));
  }

  .content__right-block-about-us .wrapper__button-hero {
    margin-bottom: 30px;
  }

  .left-block__about-us {
    width: 80%;
  }

  /* Стилі секції 3 */
  .section__why-we {
    flex-direction: column-reverse;
  }

  .right-block__why-we {
    width: 100%;
    padding-left: 0;
    padding-top: 60px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
  }

  .left-block__why-we {
    width: 76%;
  }

  .project__container .project__left-block,
  .project__container .project__right-block {
    width: 100%;
    min-width: 280px;
  }

  .project__container .project__right-block {
    margin-top: 24px;
  }

  .text-whot-we-do__project-page {
    position: absolute;
    top: 170px;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .project__page article {
    /*margin-top: 56px;*/
  }

  .man__containet .left-block__about-us {
    width: 100%;
    max-width: 60vw;
    padding: 0 20px;
  }

  /*.man__containet .left-block__about-us::before {
    top: calc(-187px + (0 + 187) * ((100vw - 320px) / (1920 - 320)));
    right: 0;
    transform: rotateX(53deg);
  }*/
  .man__containet .content__right-block-about-us {
    width: 100%;
  }
	
	.wrapper__block-big-text__we_do {
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: flex-start;
    align-items: stretch;
	gap:50px;
	}
	.block-big-text-nazv__we_do {
		padding-left: 60px;
        padding-right: 60px;
	}
	
	.block-big-text__we_do {
    	max-width: 100vw;
	}
	
  .block-big-text__we_do .wrap-text {
    background: var(--wight-color);
    width: 100%;
    max-width: 100vw;
	padding: 60px 60px 180px 60px;
    }
    .block-big-text__we_do .wrap-text p {
    width: 100%;
    max-width: 80vw;
    }
  .block-foto__we_do {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    max-width: 100%;
    padding-left: 60px;
    padding-right: 60px;
    }

}

@media (max-width: 846px) {
  .advantages__container {
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .advantages__container .advantages__block {
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
  }

  .advantages__container .advantages__block .title-advantages {
    min-height: auto;
  }
}

@media (max-width: 550px) {
  .block__big-logo-section-1 img {
    bottom: 25%;
    width: 100%;
    left: -75px;
  }

  .wrapper-block__slider-home-page .wrapper__button-slider .swiper-button {
    width: 30px;
    height: 30px;
  }

  .wrapper-block__slider-home-page .wrapper__button-slider .swiper-button svg {
    width: 10px;
  }
	
  .wrapper-block__slider-home-page {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
	
  .block-foto__we_do {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    }
}

@media (max-height: 450px) {
  .section__hero,
  .block__bg-img-section-1 {
    position: relative;
    width: 100%;
    height: 76%;
  }

  .block__title-hero-section {
    bottom: 30%;
  }

  .title-hero-section__container {
    margin-left: auto;
  }

  .block__big-logo-section-1 {
    width: 100%;
    height: 76%;
  }

  .block__big-logo-section-1 img {
    bottom: 18%;
    width: 64%;
    left: 12%;
  }

  .block__mouse {
    display: none;
  }

  .about-us__container {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 0px;
    flex-direction: row;
  }

  .section__why-we {
    background: var(--wight-color);
    color: var(--bg-body-color);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .left-block__why-we {
    width: 88%;
  }

  .error-404 .block-404-img {
    margin-top: -40px;
  }
}

@media (max-height: 340px) {
  .title-hero-section__container {
    margin-left: 18%;
  }
}
@media (max-width: 320px) {
  .block__title-hero-section {
    bottom: 8%;
  }

  .block__mouse {
    bottom: 14px;
  }

  .block__big-logo-section-1 img {
    bottom: 10%;
    width: 100%;
    left: -26px;
  }

  .whot-we-do__block .title__whot-we-do__block {
    font-size: 28px;
  }
}
