.popup {
  display: none;
  overflow: hidden;
  position: fixed;
  box-sizing: border-box;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(100px);
  background-color: #00000034;
  padding: 31px;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.show {
  display: flex;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Стиль для изображения в попапе */
.popup-content {
  box-sizing: border-box;
  overflow: hidden;
  margin: auto;
  display: block;
  /* position: absolute; */
  width: 40%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: zoomIn 1s ease-in-out forwards;
}

@keyframes zoomIn {
  0% {
    /* transform: translateX(100%); Элемент находится за пределами экрана справа */
    opacity: 0;
    /* Прозрачность */
  }

  100% {
    transform: translateX(0);
    /* Элемент появляется в центре экрана */
    opacity: 1;
    /* Полная видимость */
  }

  /* 100% {
    transform: translateX(-25vw); 
    opacity: 1;
  } */
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.no-scroll {
  overflow-y: hidden;
}

::-webkit-scrollbar {
  width: 0;
}

* {
  margin: 0;
  padding: 0;

}

html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-image: url(../media/menu_wallpaper.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #000000;
  scroll-behavior: smooth;
}

head {
  scroll-behavior: smooth;
}

@font-face {
  font-family: Gilroy-Bold;
  src: url(../font/Gilroy-Bold.ttf);
}

@font-face {
  font-family: Gilroy-Medium;
  src: url(../font/Gilroy-Medium.ttf);
}

@font-face {
  font-family: Gilroy-Regular;
  src: url(../font/Gilroy-Regular.ttf);
}

@font-face {
  font-family: Gilroy-UltraLight;
  src: url(../font/Gilroy-UltraLight.ttf);
}

.fixed {
  /* border: 1px solid white; */
  /* position: fixed; */
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  -webkit-backdrop-filter: saturate(180%) blur(35px);
  backdrop-filter: saturate(180%) blur(35px);
  border-bottom: 1px black solid;
  /* z-index: 999; */
}

header {
  /* border: 1px solid white; */
  width: 100%;
  /* height: 100px; */
  display: flex;
  flex-flow: row wrap;
}

#homeLink {
  /* border: 1px solid white; */
  margin-left: 10%;
  margin-top: 31px;
}

.homeLinkIcon {
  display: none;
  transition: .4s;
  /* background-color: #000000; */
}

.homeLinkIcon:hover {
  filter: grayscale(1);
  border-radius: 5px;
  color: black;
  box-shadow: -1px 1px #ffffff;
  transition: .4s;
}

.bron {
  right: 0;
  height: 37px;
  border: 2px solid white;
  transition: .4s;
  background-color: #ffffff00;
  color: white;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 25px;
  font-family: "Gilroy-Bold";
  order: 999;
  margin-top: 31px;
  margin-right: 50px;
}

.bron:hover {
  box-shadow: -8px 8px #808080;
  transition: .4s;
}

a {
  text-decoration: none;
  color: #808080;
  margin-right: 10px;
}

.bruh {
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  transition: 300ms;
}

.bruh:hover {
  color: #ffffff;
}

.active {
  color: #fff;
  transition: 300ms;
  outline: none;
  background: #808080;
  border-radius: 7px;
  margin-left: 10px;
  margin-right: 20px;
}

/* .bruh:focus {
  transition: 300ms;
  outline: none;
  color: #fff;
  background: #808080;
  border-radius: 7px;
} */

/* .bruh:active {
  transition: 300ms;
  outline: none;
  color: #fff;
  background: #808080;
  border-radius: 7px;
} */

.navBlock {
  /* border: 1px solid white; */
  position: sticky;
  position: relative;
  /* height: 117px; */
  width: 55%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 21px;
}

.navigationbar {
  /* border: 1px solid rgb(16, 113, 193); */
  display: flex;
  height: 56px;
  width: 100%;
  font-family: "Gilroy-Medium";
  font-size: 25px;
  vertical-align: middle;
  margin-left: -5px;
}

.second {
  /* border: 1px solid white; */
  overflow: hidden;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 2%, rgba(0, 0, 0, 1) 98%, rgba(0, 212, 255, 0) 100%);
  mask-image: linear-gradient (rgb(255, 0, 0), transparent);
}

.second::-webkit-scrollbar {
  height: 8px;
}

.second::-webkit-scrollbar-track {
  background: none;
}

.second::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #888;
}

.second::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.menucontainer {
  /* border: 1px solid rgb(255, 0, 0); */
  margin-left: auto;
  margin-right: auto;
  width: 65%;
  display: flex;
  overflow: auto;
  margin-top: 150px;
  padding: 0 2%;
  overflow-x: hidden;
}

td {
  width: 50%;
}

.item {
  display: flex;
  width: 100%;

  transition: 250ms;
}

/* .item:hover {
  transition: 250ms;
  background-color: #ffffff0a;
} */

.itemphoto {
  height: 300px;
  object-fit: cover;
  transition-duration: 250ms;
  padding: 1px;
  width: 50%;
  /* background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(128, 0, 128, 0)); */
}

/* .itemphoto:hover {
  transform: scale(1.1);
  outline: none;
} */

.itemtext {
  display: block;
  max-width: 80%;
  height: 100%;
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 10px;
  align-items: flex-start;
}

.manedescript {
  font-size: 30px;
  font-family: "Gilroy-Medium";
  color: white;
}

.descript {
  font-size: 23px;
  font-family: "Gilroy-UltraLight";
  color: #808080;
}

.volume {
  margin-top: 40px;
}

.nophotoTable {
  display: flex;
  justify-content: stretch;
  width: 100%;
  margin-bottom: 0;
  table-layout: fixed;
}

.nophoto {
  margin-top: 0;
}

.nophotoLeft {
  max-width: 50%;
}

.nophotoRight {
  float: right;
  text-align: right;
  margin: 0 0 0 auto;
}

.element {
  width: 100%;
}

/* T A B L E */

table {
  border-collapse: collapse;
  width: 100%;
  color: white;
  border-spacing: 0px 28px;
  border-collapse: separate;
}

.tipName {
  text-align: center;
  font-size: 30px;
  font-family: "Gilroy-Medium";
  color: white;
}

.zagolovok {
  display: inline-block;
  border: rgb(255, 255, 255) 1px solid;
  padding-left: 10px;
  padding-right: 10px;
}

/* F O O T E R  */

.infoContact {
  display: flex;
  width: 100%;
  height: 100vh;
  background-color: #000;
}

.rightInfo {
  width: 100%;
  height: 100%;
  background-image: url(../media/main_wallpaper.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: white;
  display: flex;
}

.info {
  font-family: "Gilroy-Medium";
  font-size: 40px;
  letter-spacing: 20px;
  color: white;
  margin-bottom: 80px;
}

.contacts {
  /* border: 2px solid white; */
  max-width: 568px;
  text-align: left;
  margin: auto;
  align-items: flex-start;
}

.mailPhone {
  /* border: 1px solid white; */
  font-family: "Gilroy-Regular";
  font-size: 30px;
  color: white;
  margin-bottom: 30px;
}

.date {
  margin-bottom: 0px;
}

.word {
  /* border: 1px solid red; */
  text-align: left;
}

#maildop {
  /* border: 1px solid rgb(136, 136, 136); */
  display: flex;
}

#mailtime {
  display: inline-block;
}

/* F O O T E R  */
/*ANIMATION LOADER*/
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  -webkit-backdrop-filter: saturate(180%) blur(35px);
  backdrop-filter: saturate(180%) blur(35px);
  z-index: 1001;
}

.loaded_hiding .preloader {
  transition: 1s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}

/*ANIMATION LOADER*/

@media screen and (max-width: 1500px) {
  .manedescript {
    font-size: 25px;
  }

  .descript {
    font-size: 20px;
  }

  .mailPhone {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .info {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .popup-content {
    width: 60%;
  }

}

@media screen and (max-width: 1350px) {
  #homeLink {
    margin-left: 5%;
    margin-top: auto;
    margin-bottom: auto;
  }

  .menucontainer {
    margin-top: 100px;
    width: 70%;
  }

  .navigationbar {
    font-size: 20px;
    height: 45px;
  }

  .bron {
    font-size: 20px;
  }
}

@media screen and (max-width: 1000px) {








    /* Задний фон, который затемняет */
    .appmodalwin {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.4);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
    }

    /* Модальное окно */
    .modal {
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      overflow: hidden;
      position: fixed;
      bottom: -100%;
      left: 0;
      width: 100%;
      box-sizing: border-box;
      background-color: rgb(0, 0, 0);
      border-radius: 20px 20px 0 0;
      /* box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); */
      transition: bottom 0.4s ease, transform 0.2s ease;
      /* min-height: 100%; */
      height: 100%;
      touch-action: none; /* Отключение стандартной прокрутки */
    }

    /* Кнопка закрытия */
    .close-btn {
      position: absolute;
      top: 10px;
      left: 50%; 
      transform: translateX(-50%);      
      font-size: 24px;
      cursor: pointer;
      color: #888;
    }

    /* Показать модальное окно */
    .appmodalwin.activemodal {
      opacity: 1;
      visibility: visible;
    }

    .modal.activemodal {
      bottom: 0;
    }

    .modal.released {
      transition: bottom 0.4s ease; /* Анимация при отпускании */
    }
    .modalSlider{
      width: 100%;
      height: 300px;
      display: flex;
      overflow: hidden;
      overflow-x: auto;  /* Горизонтальная прокрутка */
      scroll-snap-type: x mandatory;  /* Привязка скролла */
    }
    .modalSlider img{
      height: 300px;
      width:fit-content;
      flex: 0 0 100vw;  /* Каждое изображение занимает 100% ширины экрана */
      /* height: 100vh;    Изображение на всю высоту экрана */
      object-fit: cover; /* Обрезка изображения, чтобы оно заполняло контейнер */
      scroll-snap-align: start;  /* Привязка для плавного скролла */
    }





















  .bruh:hover {
    color: #FFFFFF;
  }

  .bron {
    display: none;
  }

  .homeLink {
    margin-left: 25px;
    display: none;
  }

  .homeLinkIcon {
    width: 50px;
    height: 50px;
    display: block;
  }

  #homeLink {
    margin-left: 2.5%;
  }

  .navBlock {
    margin: auto;
    width: 80%;
  }

  .menucontainer {
    margin-top: 80px;
    box-sizing: border-box;
    width: 100%;
  }

  .item {
    /* border: 1px red solid; */
    border-radius: 10px;
    background: #171717;
    display: flex;
    width: 100%;
    transition: 250ms;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .itemphoto {
    border-radius: 10px;
    width: 100%;
    height: 214px;
    background: none;
  }

  .itemtext {
    margin: 5px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .descript {
    margin-top: 10px;
  }
  .volume{
    /* margin-top: -5px; */
  }
  .sub span .volume,
  .sub span .manedescript{
    margin-top: 0;
    box-sizing: border-box;
    width: 50%;
  }
  .sub span .manedescript{
    text-align: right;
    box-sizing: border-box;

  }
  .sub span{
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: center;
  }
  .manedescript {
    font-size: 30px;
  }

  .descript {
    font-size: 25px;
  }
  .nophotoLeft {
    max-width: 100%;
    padding: 10px;
  }
  .nophotoRight{
    /* float: right; */
    text-align: right;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    margin: 0;
  }
  .nophotoRight p{
    width: 50%;
  }
  .nophotoRight p:first-of-type {
    text-align: left;
  }
}

@media screen and (max-width: 765px) {
  .homeLinkIcon {
    width: 40px;
    height: 40px;
  }

  .menucontainer {
    margin-top: 90px;
  }

  .manedescript {
    font-size: 25px;
  }

  /* .itemtext {
    margin-left: 25px;
  } */

  .descript {
    font-size: 20px;
  }

  .second::-webkit-scrollbar {
    height: 5px;
  }

  .popup-content {
    width: 75%;
  }
}

@media screen and (max-width: 620px) {
  /* .itemtext {
    margin-left: 20px;
  } */

  .popup-content {
    width: 95%;
    height: 80vh;
  }

  .close {
    top: 10px;
    right: 10px;
  }
}

@media screen and (max-width: 430px) {
  /* .itemtext {
    margin-left: 15px;
  } */
}

@media screen and (max-width: 410px) {
  /* .itemtext {
    margin-left: 10px;
  } */
}

@media screen and (max-width: 380px) {
  /* .itemtext {
    margin-left: 7px;
  } */
}

@media screen and (max-width: 510px) {
  .homeLinkIcon {
    width: 30px;
    height: 30px;
  }

  /* 
  .itemphoto {
    width: 50%;
    height: 250px;
  } */

  .manedescript {
    font-size: 20px;
  }

  .descript {
    font-size: 15px;
  }


  .bruh {
    font-size: 18px;
    /* margin-right: 0; */
    padding-left: 5px;
    padding-right: 5px;
  }

  .navigationbar {
    height: 35px;
  }

  .menucontainer {
    margin-top: 60px;
  }

  .second::-webkit-scrollbar {
    height: 3px;
  }

  .mailPhone {
    font-size: 18px;
    /* margin-bottom: 10px; */
  }

  .info {
    font-size: 20px;
    /* margin-bottom: 20px; */
  }

  table {
    border-spacing: 0px 15px;
    /* border-collapse: collapse; */
  }
}

@media screen and (max-width: 360px) {
  .mailPhone {
    font-size: 15px;
    /* margin-bottom: 10px; */
  }

  /* .itemphoto {
    width: 50%;
    height: 200px;
  } */

  .manedescript {
    font-size: 16px;
  }

  .descript {
    font-size: 15px;
  }

  .volume {
    margin-top: 0;
  }

  .info {
    font-size: 20px;
    /* margin-bottom: 20px; */
  }
}



