@charset "UTF-8";
/* Minimal CSS for Dudina theme */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.container {
  width: 80%;
  position: relative;
  margin: auto;
}

.portfolio {
  margin-top: 30px;
  padding-bottom: 100px;
  /* 1. Заголовок съёмки */
  /* 2. Короткое описание */
  /* 1) Весь контейнер swiper получит внутренние отступы слева и справа */
  /* 2) Откатим смещение самих стрелок к границам контейнера */
  /* Остальные ваши стили, если нужно, оставьте в силе */
}
.portfolio__item {
  margin-bottom: 100px;
}
.portfolio__item:last-child {
  margin-bottom: 0;
}
.portfolio h2 {
  color: #333;
  margin: 16px auto 0;
  line-height: 1.5;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
}
.portfolio .portfolio-description {
  font-size: 1rem; /* обычный текст */
  line-height: 1.5; /* удобочитаемый интерлиньяж */
  margin-bottom: 1.5em; /* чуть больший отступ перед слайдером */
  color: #555; /* чуть светлее */
}
.portfolio .swiper-slide {
  text-align: center;
}
.portfolio .swiper-slide span {
  padding: 0 40px;
  display: block;
}
.portfolio img,
.portfolio video {
  max-height: 692px;
  height: auto;
  width: auto;
  max-width: 100%;
}
.portfolio .swiper {
  position: relative; /* важно для абсолютного позиционирования стрелок */
  box-sizing: content-box; /* padding не влияет на ширину outer-контейнера */
}
.portfolio .swiper-button-prev {
  left: 0; /* теперь будет у самой внешней границы .swiper */
}
.portfolio .swiper-button-next {
  right: 0; /* аналогично справа */
}
.portfolio .swiper-button-prev,
.portfolio .swiper-button-next {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.portfolio .swiper:hover .swiper-button-prev,
.portfolio .swiper:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}
.portfolio .swiper-button-prev::after,
.portfolio .swiper-button-next::after {
  color: #888;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.header--hidden {
  transform: translateY(-100%);
}

.header__brand {
  color: #333;
  text-decoration: underline;
  text-transform: uppercase;
  margin-right: 20px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  text-transform: uppercase;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background: #333;
}

.header__mobile-title {
  display: none;
  color: #333;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .header__mobile-title {
    display: block;
  }
}
/* Back to Top Button */
#back-to-top {
  background: transparent;
  border: none;
  position: fixed;
  bottom: 20px;
  left: 40px;
  cursor: pointer;
}
#back-to-top img {
  width: 30px;
  height: 30px;
}

#back-to-top:hover {
  opacity: 1;
}

/*# sourceMappingURL=styles.css.map */
