@font-face {
  font-family: Merriweather-Regular;
  font-style: normal;
  src: url(../fonts/Merriweather-Regular.ttf);
}

@font-face {
  font-family: Merriweather-Italic;
  font-style: italic;
  src: url(../fonts/Merriweather-Italic.ttf);
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: Merriweather-Regular;
  color: #385043;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3%;
}
body {
  overflow-x: hidden;
}
button {
  display: none;
}

header {
  position: relative;
  height: 800px;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background-size: cover;
}

.top-left {
  top: 0;
  left: 0;
  background-image: url("../image/photo/a572cbfb2e516252abe5e86e1d6e39d0f47d636e_1_690x436.png");
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateX(-150px) translateY(-200px) rotate(180deg);
}

.top-right {
  top: 0;
  right: 0;
  background-image: url("../image/photo/a572cbfb2e516252abe5e86e1d6e39d0f47d636e_2_690x436.png");
  background-repeat: no-repeat;
  transform: translateX(200px) translateY(-100px);
  z-index: -1;
}

.bottom-left {
  bottom: 0;
  left: 0;
  background-image: url("../image/photo/a572cbfb2e516252abe5e86e1d6e39d0f47d636e_3_690x436.png");
  background-repeat: no-repeat;
  transform: translateX(-50px) translateY(100px) rotate(180deg);
  z-index: -1;
}

.bottom-right {
  bottom: 0;
  right: 0;
  background-image: url("../image/photo/a572cbfb2e516252abe5e86e1d6e39d0f47d636e_4_690x436.png");
  background-repeat: no-repeat;
  z-index: -1;
  transform: translateX(50px) translateY(120px);
}

video {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -6;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.header-top {
  width: 100%;
  height: 30px;
  background-color: #385043;
}

.header-in {
  padding: 2% 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header--side-bar {
  top: 100px;
  width: 300px;
  height: 600px;
  background-color: #385043;
  z-index: 3;
  color: #fff;
  transform: translateY(-70px) translateX(3000px);
  position: absolute;
  transition: all 0.3s ease;
}
body.active .header--side-bar {
  transform: translateY(-70px) translateX(30px);
}
body.active .burger span:nth-child(1) {
  display: block;
  transform: rotate(45deg);
}
body.active .burger span:nth-child(3) {
  display: block;
  transform: rotate(-45deg) translateY(-10px) translateX(10px);
}

body.active .burger span:nth-child(2) {
  display: none;
}

.side-bar--list {
  z-index: 3;
  padding: 10% 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
nav {
  width: 85%;
}

.site-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

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

.nav-list--link {
  color: #fff;
  font-size: clamp(10px, 1.5vw, 16px);
}

.nav-list--btn {
  padding: 10px 30px;
  border: 2px solid #fff;
}
.hero {
  padding: 5%;
  background-image: url("../image/bg-vidio/close-up-white-marble-textured-wall.png");
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-in {
  position: relative;
}
.hero--title {
  color: #242424;
}
.hero--arrow {
  width: 200px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: #385043;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.header-main {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.header-main .header--info-title,
.header-main .header--title {
  color: #fff;
  font-weight: 400;
}

.header--title {
  font-size: 40px;
}

.header--info-title {
  margin-top: 3%;
  font-family: Merriweather-Italic;
  font-style: italic;
}
.hero__card--title {
  margin: 5% 2%;
  font-size: 30px;
  color: #385043;
  text-align: center;
}

.burger {
  width: 25px;
  height: 17px;
  display: flex;
  position: relative;
  z-index: 4;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  display: none;
}

.burger span {
  width: 100%;
  height: 3px;
  transition: all 0.3s ease;

  background-color: #fff;
}

.hero--info {
  margin: 20px 0;
  font-size: 15px;
  color: #385043;
}

.hero__cards {
  margin: 7% 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.cards--card {
  padding: 0 1%;
  margin: 2px;
  width: 260px;
  height: 450px;
  border: 5px dashed #385043;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.card--title {
  margin: 15px 0;
}
.galary {
  width: 100%;
  height: 800px;
  background-image: url("../image/bg-vidio/shutterstock_2175943243.jpg");
  background-size: cover;
}
.galary--parent {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}
.galary--photo {
  width: 400px;
  height: 400px;
  width: 50%;
  padding: 5% 5%;
  background-color: black;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  color: #fff;
  background-color: rgba(56, 80, 67, 0.7); /* Прозрачный цвет #385043 */
  position: relative;
  overflow: hidden;
  z-index: 2;
  cursor: pointer;
}
.galary--photo:nth-child(1) {
  background-image: url("../image/photo/IMG_20231024_071801.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.galary--photo:nth-child(2) {
  background-image: url("../image/photo/image-07-12-23-05-48-5.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.galary--photo:nth-child(3) {
  margin: 0 auto;
  background-image: url("../image/photo/IMG_9689-LR.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
.galary--photo:hover {
  transform: scale(1.1);
}
.galary--photo__min-box {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  background-color: #38504394; /* Прозрачный цвет #385043 */
  filter: blur(1px);
  z-index: -2;
  top: 0;
  left: 0;
}
.galary--title {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0;
  font-weight: 300;
}
.galary--info {
  margin: 2% 0;
  font-size: 15px;
  font-weight: 300;
}

.slider-section {
  padding: 5% 0;
}
.active--card {
  display: block !important;
}
.slider--paginetion {
  width: 100%;
  padding: 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paginetion--btn {
  padding: 15px 40px;
  text-transform: uppercase;
  border: 3px dashed #385043;
  cursor: pointer;
  color: #385043;
  font-weight: 500;
}
.active--btn {
  color: #fff !important;
  background-color: #385043;
}
.swiper--card-in {
  width: 100%;
  margin: 0 auto;
  padding: 2% 3%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #e1e1e1;
  border-radius: 30px;
}
.slider--section--title {
  margin: 4% 0;
  font-size: 30px;
  color: #385043;
  font-weight: 400;
}
.swiper-in {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card--text-box {
  width: 600px;
}
.card--sub-title {
  font-size: 16px;
  color: #385043;
}
.swiper-card {
  margin: 5% 0;
  display: none;
}
.swiper-card--info {
  color: #385043;
  width: 80%;
  text-align: left;
}
.swiper-card--category {
  width: 100%;
  margin: 8% 0;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}
.card--category--box {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.category-box--info {
  margin-left: 5%;
  color: #385043;
}
.cost--title {
  font-size: 20px;
  color: #385043;
  font-weight: normal;
  margin: 3% 0;
}
.swiper-card__cost {
  margin: 3% 0;
  width: 100%;
}
.swiper-container {
  width: 50%;
  overflow: hidden;
}
.cost--list {
  display: flex;
  flex-direction: column;
}
.cost--item {
  margin: 1% 0;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bambuk--item {
  justify-content: flex-start;
}
.bambuk--item--info {
  margin-left: 15%;
}
.cost--item--info {
  color: #385043;
}

.cost--item--info span,
.mini-info {
  font-size: 12px;
}
.mini-info {
  margin-top: 15%;
}
.card--img-box {
  width: 600px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.swiper-button-next {
  color: #385043;
  font-size: 1rem;
}
.swiper-wrapper {
  display: flex;
  transition-property: transform;
}

.swiper-slide {
  flex-shrink: 0;
}
.card--img-box img {
  max-width: 100%; /* Используйте максимальную ширину в пределах родительского контейнера */
  max-height: 100%;
  display: block;
  border-radius: 30px;
  object-fit: cover;
}
.last-section {
  position: relative;
  background-image: url("../image/bg-vidio/rounded-olivine-diabase.png");
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: left bottom;
}
.last--title {
  width: 100%;
  text-align: right;
}
.last--img-box {
  padding: 5% 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.left-side--item {
  margin: 5%;
  width: 550px;
  height: 50px;
  background-image: url("../image/photo/Прямоугольник\ 17.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 2% 10%;
  font-size: 25px;
  color: #fff;
  user-select: none;
}
.left-side--item:nth-child(2) {
  background-image: url("../image/photo/sorjalij7.png");
}
.left-side--item:nth-child(3) {
  background-image: url("../image/photo/Прямоугольник\ 17\ копия\ 4.png");
}
.left-side--item:nth-child(4) {
  background-image: url("../image/photo/Прямоугольник\ 17\ копия\ 3.png");
}
.left-side--item:nth-child(3) {
  background-image: url("../image/photo/Прямоугольник\ 17\ копия\ 2.png");
}
.img--box--left-side {
  width: 50%;
}
.img--box--right-side {
  padding: 3% 2%;
  width: 50%;
  height: 300px;
  border-radius: 30px;
  background-repeat: no-repeat;
  background-size: cover;
  display: none;
  background-image: url("../image/photo/stock-photo-birch-green-leaves-close-up-texture-photo-background-21759434243.png");
}

.img--box--right-side:nth-child(3) {
  background-image: url("../image/photo/stock-photo-birch-green-leaves-close-up-texture-photo-background-2175943243.png");
}

.img--box--right-side:nth-child(4) {
  background-image: url("../image/photo/stock-photo-birch-green-leaves-close-up-texture-photo-background-21759423243.png");
}

.img--box--right-side:nth-child(5) {
  background-image: url("../image/photo/stock-photo-birch-green-leaves-close-up-texture-photo-background-21759433243.png");
}

.img--box--right-side:nth-child(6) {
  background-image: url("../image/photo/massazhnyj-stol-oformlenie-foto.png");
}
.active--right-side {
  display: block;
}
.text--title {
  font-size: 20px;

  color: #fff;
}
.text--sub-info {
  margin: 3% 0;
  color: #fff;
  font-weight: 200;
}
.text--link {
  color: #fff;
  font-weight: 300;
}
.last--cost-info {
  margin: 3% 0;
  width: 100%;
  text-align: center;
  font-family: Merriweather-Italic;
}
footer {
  position: relative;
  overflow: hidden;
}
.footer-container {
  position: relative;
}
/* .footer--blur-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
} */
#footer--bg-el {
  z-index: 2;
  top: 10px;
}
#footer--bg-el:nth-child(1) {
  top: 40px;
}
.footer-bottom-box {
  width: 100%;
  height: 100px;
  background-color: #385043;
  display: flex;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
  position: relative;
}
.footer-bottom-box img {
  width: 500px;
  transform: translateY(210px);
}
.footer-map {
  width: 100%;
  height: 540px;
}
.bottom-box--link {
  text-decoration: underline;
  color: #fff;
  font-weight: 300;
}
.bottom-box--info {
  color: #fff;
  font-weight: 300;
}
.footer-info-box {
  position: absolute;
  width: 500px;
  height: 500px;
  padding: 5% 0;
  display: flex;
  right: 100px;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  color: #000;
  text-align: center;
  box-shadow: 0 0 0 12000px #00000062;
}
.footer-contact {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact img {
  margin: 0 5%;
}

.footer-info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../image/photo/Прямоугольник\ 22.png");
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 120px 120px #00000062;
  z-index: 1;
}
.footer--title,
.footer--link,
.footer--location,
.footer--info,
img {
  position: relative;
  z-index: 2; /* Устанавливаем z-index, чтобы текст оставался над размытым фоном */
}
.footer-info-box p,
a,
h2 {
  margin-bottom: 3%;
  color: #fff;
}
.footer-info-box p {
  margin-bottom: 5%;
}
.galary--photo * {
  color: #fff;
}
.modal {
  padding: 2%;
  width: 850px;
  height: 750px;
  background-color: #fff;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("../image/bg-vidio/pngegg.png"),
    url("../image/photo/stock-photo-beautiful-wood-texture-background-121208473.png");
  background-size: 300px 300px, 900px 840px;
  background-position: left, center;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 0 0 100% rgba(255, 255, 255, 0.596);
  border: 10px dashed #385043;
  display: flex;
  align-items: flex-start;
  display: none;
}
#myModal {
  width: 850px;
  height: 850px;
  background-position: right bottom, center; /* первая фото по центру, вторая в правом нижнем углу */
  background-size: 300px 300px, 900px 870px; /* первая фото - 900x840, вторая - 300x300 */
}
#myModal2 {
  background-position: right bottom, center; /* первая фото по центру, вторая в правом нижнем углу */
  background-size: 200px 200px, 900px 840px; /* первая фото - 900x840, вторая - 300x300 */
}
#myModal3 {
  background-image: url("../image/bg-vidio/Слой\ 15.png"),
    url("../image/photo/stock-photo-beautiful-wood-texture-background-121208473.png");
  background-position: 120px 450px, center; /* первая фото по центру, вторая в правом нижнем углу */
  background-size: 260px 230px, 900px 840px; /* первая фото - 900x840, вторая - 300x300 */
}
.modal * {
  color: #385043;
}
.modal img {
  margin: 2% 3%;
  width: 160px;
  height: 110px;
  object-fit: cover;
}
.modal-left {
  width: 50%;
}
.modal-right {
  width: 50%;
}
.modal--img-box {
  display: flex;
  flex-wrap: wrap;
}
.modal--img-box a {
  margin: 2% 3%;
}
.first-modal--title {
  margin-top: 25%;
  margin-bottom: 5%;
}
.modal--img-list {
  display: flex;
}
.list--item {
  width: 50%;
}
.list--item span {
  font-size: 15px;
}
.first-item--sub-title {
  margin-top: 10%;
  margin-bottom: 3%;
}
.item--info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal--righ-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.righ-list--item {
  margin: 3% 0;
}
.righ-list--item-flex {
  margin: 3% 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.info-list--info {
  margin: 3% 0;
}
.close {
  color: red;
  cursor: pointer;
  font-size: 3.5em;
}

.close:hover {
  text-decoration: underline;
}
.enlarged {
  margin-top: 3%;
  transform: scale(1.2); /* Увеличиваем размер изображения до 1.5x */
}
.modal-enlarged {
  transform: scale(2); /* Увеличиваем размер изображения до 1.5x */
  margin: 0 auto;
  z-index: 5;
}

/* 
asdssyvghbjnkmljhbugvycrtcyvhbnjkml;'
\asdsyvubkj,fd
'SSDSFSD
SASDFSSDFGF
assd
savcadsc
dsasvcadsd\ASDSFSD
ADDS
SFD
SDS
DADFD
SGDASSDA
SDDA
SFDDAS
DSFD
SFD
DSFDA
SDVDDSFBV
SDSFDSFVDSD
SFDDF
SDFSDASD
FSAD
FDSSADS
DSDAS
FSFDSFS
V
 */

@media only screen and (max-width: 900px) {
  .header-main {
    margin-top: 7%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .header--title {
    font-size: 28px;
  }

  .header--info-title {
    font-size: 16px;
  }
  .hero-in {
    padding: 5% 0;
  }
  .hero--arrow {
    top: 0%;
    width: 120px;
    font-size: 50px;
    height: auto;
    transform: translate(-50%, -100%);
  }
  .hero__card--title {
    font-size: 25px;
  }
}

/* 
asdssyvghbjnkmljhbugvycrtcyvhbnjkml;'
\asdsyvubkj,fd
'SSDSFSD
SASDFSSDFGF
assd
savcadsc
dsasvcadsd\ASDSFSD
ADDS
SFD
SDS
DADFD
SGDASSDA
SDDA
SFDDAS
DSFD
SFD
DSFDA
SDVDDSFBV
SDSFDSFVDSD
SFDDF
SDFSDASD
FSAD
FDSSADS
DSDAS
FSFDSFS
V
 */

@media only screen and (max-width: 600px) {
  body,
  html {
    overflow-x: hidden;
  }

  .slider-section {
    overflow-x: visible; /* или другие стили */
  }

  header {
    height: 400px;
  }
  .nav-list {
    display: none;
  }

  nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .burger {
    display: flex;
  }

  .card--text-box {
    width: 100%;
  }
  .header--title {
    font-size: 25px;
  }

  .header--info-title {
    font-size: 15px;
  }

  .hero__cards {
    justify-content: center;
    align-items: center;
  }

  .header-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: cover;
  }
  .hero--arrow {
    padding: 3%;
    width: 90px;
  }
  .cards--card {
    margin: 10px 0;
  }
  .hero__card--title {
    font-size: 20px;
  }

  .hero--arrow img {
    width: 100%;
  }
  .galary--photo:hover {
    transform: scale(1.03);
  }
  .galary--info,
  .galary--title {
    font-weight: 200;
  }
  .swiper-button-next {
    color: #385043;
    font-size: 1rem;
  }

  .swiper-container {
    width: 100%;
    overflow: hidden;
  }
  .card--img-box {
    margin-bottom: 3%;
    position: relative;
    overflow: hidden; /* Чтобы обрезать изображение, если оно становится большим */
    transition: transform 0.3s ease-in-out; /* Добавляем плавную анимацию для свойства transform */
    width: 100%;
    height: 100%;
  }
  .card--img-box img {
    width: 550px;
    height: 300px;
  }
  .swiper--card-in {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
  }
  .slider--paginetion {
    width: 100%;
    padding: 2%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }
  .paginetion--btn {
    margin: 0 1%;
    padding: 8px 16px;
    text-transform: uppercase;
    border: 2px dashed #385043;
    cursor: pointer;
    color: #385043;
    font-size: 10px;
    font-weight: 500;
  }
  .last--title {
    text-align: center;
  }
  .img--box--left-side {
    width: 100%;
    margin: 0;
  }
  .last-section {
    position: relative;
    background-image: none;
  }
  .img--box--right-side {
    padding: 5% 3%;
    width: 100%;
    height: 300px;
    border-radius: 30px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
  }
  .text--title {
    font-size: 15px;
    font-weight: 300;
  }
  .footer-bottom-box {
    padding: 0 3%;
  }
  .footer-bottom-box img {
    width: 200px;
    transform: translateY(90px);
  }
  .bottom-box--info,
  .bottom-box--link {
    font-size: 8px;
  }
  .footer--title,
  .footer--link,
  .footer--location,
  .footer--info {
    font-size: 10px;
    font-weight: 300;
  }
  .footer-container {
    width: 100%;
    padding: 0;
  }
  .footer-info-box {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
    transform: translate(-50% -50%);
    margin: 0 auto;
    height: 100%;
    padding: 5% 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    z-index: 5;
    color: #000;
    text-align: center;
    box-shadow: 0 0 0 0px #00000062;
  }

  .footer-info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../image/photo/Прямоугольник\ 22.png");
    cursor: pointer;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 120px 120px #00000062;
    z-index: 1;
  }
  .footer-info-box img {
    width: 120px;
  }
  .side-bar--list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
  }
  .side-bar--list * {
    margin: 5% 0;
  }

  .left-side--item {
    margin: 0 auto;
    width: 450px;
    height: 50px;
    background-image: url("../image/photo/Прямоугольник\ 17.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    padding: 2% 10%;
    font-size: 25px;
    color: #fff;
    user-select: none;
  }

  .modal,
  .mans-modal,
  #myModal {
    padding: 5%;
    width: 100%;
    height: 900px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-self: center;
    flex-direction: column;
    display: none;
    overflow: hidden;
    background-image: url("../image/bg-vidio/pngegg.png"),
      url("../image/photo/stock-photo-beautiful-wood-texture-background-121208473.png");
    background-size: 900px 950px;
  }
  .modal:nth-child(2) {
    height: 950px;
  }
  .modal * {
    font-size: 13px;
    color: #385043;
    font-weight: 300;
  }

  #myModal {
    background-position: 100% 37%, center; /* первая фото по центру, вторая в правом нижнем углу */
    background-size: 120px 120px, 900px 950px; /* первая фото - 900x840, вторая - 300x300 */
  }
  #myModal2 {
    background-position: 100% 25%, center; /* первая фото по центру, вторая в правом нижнем углу */
    background-size: 120px 120px, 900px 950px; /* первая фото - 900x840, вторая - 300x300 */
  }
  #myModal2 .modal--roms-box {
    bottom: 40px;
  }
  #myModal3 {
    background-image: url("../image/bg-vidio/Слой\ 15.png"),
      url("../image/photo/stock-photo-beautiful-wood-texture-background-121208473.png");
    background-position: 120px 670px, center; /* первая фото по центру, вторая в правом нижнем углу */
    background-size: 230px 200px, 900px 950px; /* первая фото - 900x840, вторая - 300x300 */
  }
  .modal img {
    margin: 2% 3%;
    width: 120px;
    height: 70px;
    object-fit: cover;
  }
  .modal-left {
    width: 100%;
  }
  .modal-right {
    width: 100%;
  }
  .modal--img-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: center;
  }
  .first-modal--title {
    margin-top: 5%;
    margin-bottom: 5%;
    text-align: center;
  }
  .modal--img-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .modal--roms-box {
    width: 100%;
    position: absolute;
    bottom: 10px;
  }
  .footer-contact img {
    width: 10%;
  }

  .item--info {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* 
asdssyvghbjnkmljhbugvycrtcyvhbnjkml;'
\asdsyvubkj,fd
'SSDSFSD
SASDFSSDFGF
assd
savcadsc
dsasvcadsd\ASDSFSD
ADDS
SFD
SDS
DADFD
SGDASSDA
SDDA
SFDDAS
DSFD
SFD
DSFDA
SDVDDSFBV
SDSFDSFVDSD
SFDDF
SDFSDASD
FSAD
FDSSADS
DSDAS
FSFDSFS
V
 */

/* 
asdssyvghbjnkmljhbugvycrtcyvhbnjkml;'
\asdsyvubkj,fd
'SSDSFSD
SASDFSSDFGF
assd
savcadsc
dsasvcadsd\ASDSFSD
ADDS
SFD
SDS
DADFD
SGDASSDA
SDDA
SFDDAS
DSFD
SFD
DSFDA
SDVDDSFBV
SDSFDSFVDSD
SFDDF
SDFSDASD
FSAD
FDSSADS
DSDAS
FSFDSFS
V
 */
@media only screen and (max-width: 500px) {
  .header--title {
    font-size: 18px;
  }

  .header--info-title {
    font-size: 12px;
  }

  .hero-in {
    padding: 6% 0;
  }

  .hero-in--box {
    padding: 0 10%;
    width: 100%;
    display: flex;
    text-align: start;
    flex-direction: column;
  }

  .hero--title {
    font-size: 35px;
    color: #242424;
  }

  .hero--info-box {
    margin-top: 2%;
    position: relative;
  }

  .hero--info {
    margin: 20px 0;
    font-size: 15px;
    color: #385043;
  }
  .hero--arrow {
    width: 60px;
    font-size: 30px;
  }

  .galary {
    height: auto;
  }
  .galary--photo {
    margin: 10px 0;
    width: 100%;
    height: 300px;
    background-color: black;
    border: 2px solid #fff;
    transition: all 0.3s ease;
  }
}
.swiper-container{
  max-width: 50%;
  min-height: 100%;
}
.swiper-wrapper {
  min-height: 100%;
}
.swiper-slide {
  min-height: 100%;
  overflow: hidden;
}
.card--img-box {
  max-width: 100%;
  overflow: hidden;
  height: 633px;
  transform: translateX(40px);
}
.card--img-box img {
  width: 100%;
  height: 633px;
}
.swiper--card-in {
  align-items: center;
  padding: 0;
  margin: 0;
}
.swiper-button-next {
  color: #fff;
}
.swiper-container {
  height: 633px;
}
#myModal {
  height: 850px;
}
.list-item a {
  display: block;
}
.modal__heading-close svg,
.modal__heading-close2 svg,
.modal__heading-close3 svg {
  width: 20px; height: 20px;
  position: absolute;
  top: 5px; left: 5px;
}
.modal--img-box a {
  display: inline-block;
}
.card--text-box {
  padding: 20px;
}
@media (max-width: 600px) {
  #myModal {
    height: 940px;
  }
  .swiper-container{
    max-width: 100%;
    min-height: 100%;
  }
  .card--img-box {
    max-width: 100%;
    overflow: hidden;
    height: 633px;
    transform: none;
  }
}
@media (max-width: 500px) {
  #myModal {
    height: 940px;
  }
}