body.overflow-hidden {
  overflow: hidden;
}

header {
  z-index: 999;
  position: sticky;
  top: 0;
}

.head-video video {
  width: 100%;
  display: block;
}
.gallery {
  background: #41492e;
}

.linkpage {
  display: flex;
  margin-bottom: 3rem;
  padding-top: 0.5rem;
}
.linkpage a {
  font-weight: 500;
  font-size: 1rem;
  line-height: 140%;
  letter-spacing: 0.01em;
  color: #f8e3bd;
  opacity: 0.4;
}

.linkpage a.active {
  color: #f8e3bd;
  padding-left: 0.3rem;
  opacity: 1;
}

.filter-area {
  padding-bottom: 5rem;
}

.filter-area h3 {
  font-style: italic;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: #f8e3bd;
  text-align: center;
  margin-bottom: 2rem;
}

.filter-area .wrapper {
  position: relative;
  min-height: 50vh;
}

.filter-area .fitler-gl {
  position: absolute;
  width: 25%;
  left: 0;
  top: 0;
  z-index: 1;
  padding: 30px 25px 30px 15px;
  box-sizing: border-box;
  
}

.filter-area .tab-contents {
  margin: 0 -0.5rem;
}

.filter-area .tab-content {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: none;
}

.filter-area .tab-content.active {
  display: grid;
}

.filter-area .wrapper ul li {
  padding-bottom: 0.3rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #41492e !important;
  transition: all 0.4s;
}
.filter-area .wrapper ul li:last-child {
  margin-bottom: 0;
}

.filter-area .wrapper li.active span {
  border-bottom: 1px solid #41492e;
}

.filter-area .tab-content::before {
  content: '';
  display: block;
  grid-row-start: 1;
  grid-row-end: 3;
  background: #f8e3bd;
  padding: 2rem 0 0 1.5rem;
  margin: 0.5rem;
  position: relative;
}

.filter-area .wrapper .item-filtered {
  position: relative;
  cursor: pointer;
  margin: 0.5rem;
}
.filter-area .wrapper .item-filtered .overlay {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.4s;
  opacity: 0;
}
.filter-area .wrapper .item-filtered img {
  width: 100%;
  height: 100%;
}
.filter-area .wrapper .item-filtered .overlay .caption {
  position: absolute;
  bottom: 0.7rem;
  left: 1rem;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #f8e3bd;
}
.item-filtered .overlay:hover {
  opacity: 1 !important;
}
.filter-area-mobile {
  display: none;
}

.popup {
  visibility: hidden;
  position: fixed;
  width: 100%;
  z-index: -1;
  opacity: 0;
  top: 0;
  left: 0;
}

.popup .container {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  height: 100vh;
  width: 90%;
}

.popup.show {
  opacity: 1;
  visibility: visible;
  z-index: 999;
}

.overlay-screen {
  background: #000;
  opacity: 0.5;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 98;
}

.popup .view-images {
  width: 100%;
  margin: 0 auto;
  height: 80vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.view-images .close-slide {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  z-index: 99;
  text-align: center;
  color: #f8e3bd;
  font-size: 26px;
  display: flex;
  align-items: center;
  padding: 0;
  justify-content: center;
  background: #41492E;
}

.swiper-button-prev,
.swiper-button-next {
  background: #ababb6 !important;
  opacity: 0.5;
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 50%;
  transition: all 0.4s;
}
.swiper-button-prev {
  left: 0 !important;
}
.swiper-button-next {
  right: 0 !important;
}
.swiper-button-prev:after,
.swiper-button-next:after {
  font-weight: 700;
  color: #000000;
  font-size: 1.2rem !important;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #ffffff !important;
}

.mySwiper .swiper-slide {
  width: 20%;
}

.gallery-slider {
  width: 70%;
  overflow: hidden;
  position: relative;
}

.gallery-slider .swiper-slide {
  width: 100% !important;
}

.gallery-slider .thumb {
  width: 100%;
  height: 100%;
}

.gallery-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnails {
  width: 100%;
  overflow: hidden;
}

.gallery-thumbnails .swiper-slide::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
  box-sizing: border-box;
}

.gallery-thumbnails .swiper-slide.swiper-slide-thumb-active::after {
  background: transparent;
  border: 2px solid #F8E3BD;
}

.slider-content {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.slider-content .content {
  width: 30%;
  background: #41492E;
  background: #41492E;
  padding: 50px 30px 30px;
  height: 100%;
  overflow: hidden;
}

.slider-content .content-title {
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: #f8e3bd;
  text-align: left;
  margin-bottom: 10px;
  line-height: 1.3;
}

.slider-content .content-desc,  .slider-content .content-desc p {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #f8e3bd;
}

.slider-content .content-inner {
  height: 100%;
  overflow: auto;
}

.slider-content .content-inner::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 768px) {

  .filter-area .tab-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-area .tab-content::before {
    display: none;
  }

  .filter-area .fitler-gl {
    position: relative;
    background: #f8e3bd;
    padding: 1.7rem 1.5rem;
    position: relative;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .filter-area .wrapper ul li {
    padding-top: 0.3rem;
  }

  .popup .view-images {
    width: 75%;
    height: 80vh;
  }

  .gallery-slider {
    width: 100%;
  }

  .gallery-thumbnails {
    display: none;
  }

  .slider-content {
    flex-direction: column;
  }

  .slider-content .content {
    height: 100%;
    overflow: hidden;
    width: 100%;
    flex: 1;
    padding: 1rem;
    height: 30vh;
  }
}

@media screen and (max-width: 480px) {
  .popup .view-images {
    width: 100%;
  }
}