@charset "UTF-8";
/* Стилизация скроллбара */
::-webkit-scrollbar {
  width: 5px;
  /* Ширина скроллбара */
}

/* Стилизация трека (фона) скроллбара */
::-webkit-scrollbar-track {
  background-color: transparent;
}

/* Стилизация ползунка */
::-webkit-scrollbar-thumb {
  background-color: #fff;
  border-radius: 2px;
}

/* Стилизация ползунка при наведении */
::-webkit-scrollbar-thumb:hover {
  background-color: #fff;
}

/* Стилизация скроллбара */
* {
  scrollbar-width: thin;
  /* Ширина скроллбара */
  scrollbar-color: #fff transparent;
  /* Цвет ползунка и трека */
}

/* Стилизация скроллбара */
body {
  scrollbar-face-color: #fff;
  /* Цвет ползунка */
  scrollbar-track-color: transparent;
  /* Цвет трека */
  scrollbar-arrow-color: #fff;
  /* Цвет стрелок */
  font-family: 'Roboto', sans-serif;
}

.wrapper {
  background-color: #000;
  width: 100%;
  height: 100%;
  position: absolute;
}

.wrapper.active .menu {
  display: block;
}

.wrapper.active .main {
  display: none;
}

.wrapper.active .gallery {
  display: none;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.background__img {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.background__img_slide1 {
  background-image: url(../images/image2.webp);
}

.background__img_slide2 {
  background-image: url(../images/col-5.6.webp);
}

.background__img_slide3 {
  background-image: url(../images/col-10.6.webp);
}

.background__img_slide4 {
  background-image: url(../images/col-6.9.webp);
}

.background__img.active {
  display: block;
}

.background__img::before {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.borders__border {
  position: absolute;
  display: block;
  visibility: visible;
  width: calc(50% - 40px);
  height: calc(100% - 40px);
  top: 20px;
  left: 20px;
  bottom: 20px;
  right: 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  opacity: 0.85;
  filter: alpha(opacity=85);
  z-index: 1;
}

.borders__border_left {
  margin-right: 50%;
  border-bottom: 1px solid white;
  border-left: 1px solid white;
  border-right: none;
  border-top: none;
}

.borders__border_right {
  margin-left: 50%;
  border-bottom: none;
  border-left: none;
  border-right: 1px solid white;
  border-top: 1px solid white;
}

.main {
  width: 100%;
  height: 100%;
  padding: 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: absolute;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  z-index: 5;
}

.main.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.main__title {
  font-family: 'Alfa Slab One', serif;
  font-size: 70px;
  color: #fff;
  margin-bottom: 15px;
}

.main__subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 40px;
  color: #fff;
  margin-bottom: 30px;
}

.contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}

.contacts__link {
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.3s -webkit-transform;
  transition: 0.3s -webkit-transform;
  transition: 0.3s transform;
  transition: 0.3s transform, 0.3s -webkit-transform;
}

.contacts__link:hover {
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}

.contacts__link:hover .description__item {
  display: block;
}

.contacts__img {
  max-width: 40px;
  max-height: 40px;
  width: 100%;
  border-radius: 50%;
  background-color: #fff;
  padding: 5px;
}

.contacts__text {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #fff;
}

.description {
  position: absolute;
  bottom: -40px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.description__item {
  display: none;
  color: #fff;
  font-size: 20px;
  padding: 5px 18px;
  border: 1px solid #fff;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.2);
}

.menu-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 20;
}

.menu-btn__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.menu-btn__btn.active .menu-btn__bar:nth-child(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
          transform: translateY(9px) rotate(45deg);
}

.menu-btn__btn.active .menu-btn__bar:nth-child(2) {
  opacity: 0;
}

.menu-btn__btn.active .menu-btn__bar:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
          transform: translateY(-9px) rotate(-45deg);
}

.menu-btn__bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 15;
}

.menu__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.menu__link {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  font-size: 40px;
  color: #fff;
  background-image: -webkit-gradient(linear, right top, left top, from(#cacaca), color-stop(50%, #cacaca), color-stop(50%, #fff));
  background-image: linear-gradient(to left, #cacaca, #cacaca 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.menu__link:hover {
  background-position: -100%;
}

.menu__link:hover::before {
  width: 100%;
}

.gallery {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 10;
}

.gallery.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.gallery.show-gallery .gallery__carousel {
  display: block;
}

.gallery.show-gallery .gallery__close-btn {
  display: none;
}

.gallery__carousel {
  max-width: 80%;
  width: 100%;
  max-height: 80%;
  width: 100%;
  display: none;
}

.gallery__photo-wrapper {
  width: 80%;
  height: 80%;
  display: none;
  overflow-y: auto;
}

.gallery__photo-wrapper.active {
  display: block;
}

.gallery__photo-block {
  width: 100%;
  -webkit-column-count: 3;
          column-count: 3;
  -webkit-column-gap: 10px;
          column-gap: 10px;
}

.gallery__photo {
  width: 100%;
}

.close-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  position: absolute;
  top: 30px;
  right: 30px;
  -webkit-transition: 0.3s -webkit-transform;
  transition: 0.3s -webkit-transform;
  transition: 0.3s transform;
  transition: 0.3s transform, 0.3s -webkit-transform;
}

.close-btn:hover {
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}

.close-btn__bar {
  display: inline-block;
  width: 100%;
  height: 3px;
  background-color: #fff;
}

.close-btn__bar:first-of-type {
  -webkit-transform: translateY(9px) rotate(45deg);
          transform: translateY(9px) rotate(45deg);
}

.close-btn__bar:last-of-type {
  -webkit-transform: translateY(-9px) rotate(-45deg);
          transform: translateY(-9px) rotate(-45deg);
}

.swiper-h__wrapper {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.swiper-h__slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.swiper-h__img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .gallery__photo-block {
    -webkit-column-count: 2;
            column-count: 2;
  }
}

@media (max-width: 420px) {
  .main__title {
    font-size: 50px;
  }
  .main__subtitle {
    font-size: 30px;
  }
  .contacts__img {
    max-width: 30px;
    max-height: 30px;
  }
  .contacts__text {
    font-size: 18px;
  }
  .description__item {
    display: none !important;
  }
}
/*# sourceMappingURL=style.css.map */