body {
  margin: 0;
  padding: 0;
  display: flex;
  background-attachment:scroll;  
  flex-direction: column;
  background:  #adf8d5;
}
/* добавлено из figma*/
.page {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 1152px;  
    padding-top: 0px;
    margin: 0 auto; /* Центрирует контент по горизонтали */
    min-height: 100px; /* Минимальная высота элемента будет равна 100% высоты окна */ 
    background:  #8DCBFA;
  }
  .page-s {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;  
    padding-top: 0px;
    margin: 0 auto; /* Центрирует контент по горизонтали */  
    background: linear-gradient(to bottom, #8DCBFA, #adf8d5);
    min-height: 782px; /* добавь что-то адекватное */
  }

  .page-s-h {
    display: none;
    position: relative;
    flex-direction: column;
    width: 100%;  
    padding-top: 0px;
    margin: 0 auto; /* Центрирует контент по горизонтали */  
    margin-top: 0px;
    background: linear-gradient(to bottom, #8DCBFA, #adf8d5);
    min-height: 782px; /* добавь что-то адекватное */
  }
  .page-f {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;  
    padding-top: 0px;
    margin: 0 auto; /* Центрирует контент по горизонтали */
    min-height: 140px; /* Минимальная высота элемента будет равна 100% высоты окна */
    background-color: #adf8d5;
    background-image:url(images/trava.png);
  }
  .page-b {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 1152px;  
    padding-top: 0px;
    margin: 0 auto; /* Центрирует контент по горизонтали */
    min-height: 340px; /* Минимальная высота элемента будет равна 100% высоты окна */    
  }
  .logo_k {
    width:267px;
    height:85px;
    position:absolute;
    left:0px;
    top:-10px;
    background-image:url(images/logo.png);
    background-repeat:no-repeat;
    background-size:cover;
    z-index: 100;
  }
  .sun {
    width:120px;
    height:120px;
    position:absolute;
    left:300px;
    top:-20px;
    background-image:url(images/sun.png);
    background-repeat:no-repeat;
    background-size:cover;
    z-index: 100;
  }
  .conteiner_column{
    display: flex;
    flex-direction: column;
  }
  .conteiner_row{
    display: flex;
    flex-direction: row;
    z-index: 2;
  }
  .tmenu{
    position: absolute;
    left:400px;
    display: flex;
    flex-direction: row;
  }
  #top {
    bottom: 0;
    display: flex;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    height: 80px;
    background-color: #8DCBFA;
}
.menuitem{
  margin-top:16px;
  margin-left:40px;
  color:white;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.menuitem a{
  margin-top:16px;
  margin-left:40px;
  color:rgb(234, 227, 14); 
  text-decoration: none; 
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.trava {
  width:100%;
  height:auto;
  position: absolute;
  display: flex;
  top: 0px;
  background-image:url(images/trava.png);
  background-repeat:no-repeat;
  background-size:cover;
  background-color: #adf8d5;
}
.trava_galery {
  width:1152px;
  height:140px;
  position: absolute;
  top: 1050px;
  cursor: pointer;
  overflow: hidden;
  background-image:url(images/trava.png);
  background-repeat:no-repeat;
  background-size:cover;
  background-color: #8DCBFA;
}

.panaram_okna{
  width:1152px;
  height:782px;
  position: absolute;
  display: flex;
  top: 100px;
  background-image:url(images/panaram_okna.png);
  background-repeat:no-repeat;
  background-size:cover;  
}
.bron{
  width:1152px;
  height:782px;
  position: absolute;
  display: flex;
  top: 0px;
  background-image:url(images/bron.png);
  background-repeat:no-repeat;
  background-size:cover;  
  border-radius: 0px;
}
.phone{
  width:73px;
  height:73px;
  position: absolute;
  display: flex;
  top: 10px;
  left: 50%; /* Смещаем в середину контейнера */
  transform: translateX(-50%); /* Сдвигаем на половину ширины элемента */
  background-image:url(images/Phone.png);
  background-repeat:no-repeat;
  background-size:cover;   
  z-index: 1000; 
  color: white;
}
.phone_number{
  color: rgb(170, 224, 165);
  position: absolute;
  display: flex;
  top: 70px;
  left: 50%; /* Смещаем в середину контейнера */
  transform: translateX(-50%); /* Сдвигаем на половину ширины элемента */
  font-size: 38px;

  font-family: 'KyivTypeSans', sans-serif;
}
.shadow-box {
  width: 452px;
  height: 324px;
  padding: 20px;
  position: relative;
  display: flex;
  background-color: #EFEFE7; /* Цвет фона для контраста */
  border-radius: 0px; /* Скруглённые углы (опционально) */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень */
  text-align: center; /* Выравнивание текста */
  margin: 50px auto; /* Центровка элемента */
  top: 250px;
}
.trigger {
  display: inline-block;
  padding: 5px 5px;
  width:38px;
  height: 38px;
  /*background-image: url(images/Calendar1.png); */
  color: white;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}


#date-input {
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 200px;
  cursor: pointer;
}
.custom-input {
  height: 34px; /* Устанавливаем высоту поля */
  width: 201px; /* Устанавливаем ширину поля */
  padding: 5px; /* Добавляем отступы внутри поля */
  font-size: 16px; /* Размер шрифта */
  border: 2px solid #106058; /* Рамка вокруг поля */
  border-radius: 0px; /* Скругленные углы */
  text-align: center;
}
.brotext{
  margin-left:30px;
  color:#106058;
  text-decoration: none; 
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 20px;
}
.brotext_n{
  margin-left:30px;
  color:#106058;
  text-decoration: none; 
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 16px;
}
.brotext_n a{
  margin-left:30px;
  color:#106058;
  text-decoration: none; 
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 16px;
}
.kontakt{
  width:1152px;
  height:782px;
  display: flex;
  position: absolute;
  top: 0px;
  background-image:url(images/kontakt.png);
  background-repeat:no-repeat;
  background-size:cover;  
  border-radius: 0px;
}
.kontakt-panel{
  width:803px;
  height:515px;
  left:50%;
  position: absolute;
  transform: translateX(-50%); /* Сдвигаем на половину ширины элемента */
  background-color: #EFEFE7;
  border-radius: 0px; /* Скруглённые углы (опционально) */
  text-align: center; /* Выравнивание текста */
  margin: 50px auto; /* Центровка элемента */
  top:130px;
  padding-top: 0px;
}

.trava_k{
  width:374px;
  height:233px;
  left:429px;
  position: absolute;
  display: flex;
  bottom: 0px;
  background-image:url(images/trava_k.png);
  background-repeat:no-repeat;
  background-size:cover; 
  border-radius: 0 0 0px 0; /* Скруглённые углы (опционально) */  
}
.text_k{ 
    margin-left:30px;
    color:#106058; 
    text-decoration: none; 
    font-family: 'KyivTypeSans', sans-serif;
    font-size: 24px;
    -webkit-text-size-adjust: none;
 }
 .text_k a{
  text-decoration: none; 
  color:#106058; 
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 24px;
 }
.bereza2{
  width:312px;
  height:404px;
  background-image:url(images/bereza2.png);
  background-repeat:no-repeat;
  background-size:cover;   
  left:0px;
  position: absolute;
  display: flex;
  top:0px; 
}
.bereza1{
  width:91px;
  height:315px;
  background-image:url(images/bereza1.png);
  background-repeat:no-repeat;
  background-size:cover;   
  right:0px;
  position: absolute;
  display: flex;
  top:0px; 
}

.galery{
  width:289px;
  height:77px;
  background-image:url(images/galery.png);
  background-repeat:no-repeat;
  background-size:cover;   
  left:50%;
  transform: translateX(-50%); /* Сдвигаем на половину ширины элемента */
  position: absolute;
  display: flex;
  top:0px; 
}
#line_bron {
  width: 43px;
  height: 6px;
  top: 56px;
  left: 160px;
  position: absolute;
  object-fit: cover;
  visibility: hidden;  /*Изначально невидим */
  margin-top: 16px;
}
#line_galery {
  width: 43px;
  height: 6px;
  top: 56px;
  left: 400px;
  position: absolute;
  object-fit: cover;
  visibility: hidden; /* Изначально невидим */
  margin-top: 16px;  
}
#line_kontakt {
  width: 43px;
  height: 6px;
  top: 56px;
  left: 600px;
  position: absolute;
  object-fit: cover;
  visibility: hidden;  /*Изначально невидим */
  margin-top: 16px;  
}
.btn_bron{
  position: absolute;
  width:242px;
  height:69px;
  left:50%;
  transform: translateX(-50%);
  top:600px;
}
.text_bron{ 
  margin-left:0px;
  color:#03731b; 
  text-decoration: none; 
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 24px;
}
.text_bron a{
  text-decoration: none; 
  color:#03731b; 
}
.slider {
  display: flex;
  position: relative;
  width: 1152px;
  height: 782px;
  margin: 0 auto;
  margin-top: 0px;
  overflow: hidden;
  border: 2px solid #106058;
  border-radius: 0px;
  padding-top: 0;
}

.slides {
  display: flex;
  width:1152px;
/*    transition: transform 0.5s ease-in-out;*/
}

.slide {
  width: 1152px;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0px;
}

/* Кнопки навигации */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background-color: transparent; /* Прозрачный фон */
  border: none;                /* Убираем границу */
  outline: none;               /* Убираем обводку при фокусе */
}

.nav.left {
  left: 50px;
}

.nav.right {
  right: 50px;
}
.strelki{
  font-family: 'KyivTypeSans', sans-serif;
  font-size: 64px;
  color: rgb(150, 209, 105);
}
.gallery_contaner{
  position: relative;
  margin-top: 50px;
}
.gallery-item {
  margin-top: 0px;
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.gallery-item-s {
  margin-top: 0px;
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-item-s img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.modal {
  display: none; /* Изначально скрыто */
  position: fixed; /* Фиксируем относительно окна браузера */
  top: 50%; /* Центрирование по вертикали */
  left: 50%; /* Центрирование по горизонтали */
  transform: translate(-50%, -50%); /* Смещение на половину ширины и высоты */
  width: 90%; /* Ширина модального окна (по желанию) */
  max-width: 600px; /* Максимальная ширина */
  height: auto; /* Автоматическая высота */
  padding: 20px; /* Отступы внутри окна */
  background-color: rgba(255, 255, 255, 0.9); /* Цвет фона */
  border-radius: 10px; /* Скруглённые углы */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Тень */
  z-index: 1000; /* Высокий уровень для перекрытия других элементов */
}

.modal.active {
  display: flex; /* Показываем модальное окно */
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.modal video {
  max-width: 100%;
  max-height: 100%;
}

.modal img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}
.close-btn {
  position: absolute;
  top: 10px; /* Расположение кнопки закрытия */
  right: 10px;
  font-size: 24px;
  color: #000;
  cursor: pointer;
}
.modal.hidden {
  display: none;
}


@media (max-width: 1152px) {
  .page-s-h {
    display: flex;
  }
  .gallery-item-s {
    display: none;
}
  .kontakt{width:100%;}
  .page-b {
    width:100%;
  }
  .bron{
    width:100%;}
  .page {width:100%;}
     .tmenu{
    position: absolute;
    left:270px;
    display: flex;
    flex-direction: row;
  }
  .sun {
    left:240px; 
  }
  #line_bron {
   left:160px;
  }
  #line_galery {
    left:57%;
  }
  #line_kontakt {
    left:86%;
  }
  .slides {
    display: flex;
    width:100%;
  /*    transition: transform 0.5s ease-in-out;*/
  }
  .slider {
    width:100%;
  }
.nav.right {
  right: 50px;
}
.slide {
  width: 100%;
}
}
