html,
body {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: rgb(0, 0, 0);


}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {

  position: fixed;
  margin: 0 auto;
  width: 100%;
  min-height: 18vh;
  background-color: rgb(0, 0, 0);
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;

}



.nav_name {
  display: flex;
  flex-direction: row;
  /* Чтобы элементы внутри шли друг под другом */
  align-items: center;
  /* Центрирует содержимое внутри nav_name */

  margin-right: auto;
  /* Дает возможность другим элементам остаться справа */

}

.name_photographer {
  display: flex;
  flex-direction: column;
  /* Чтобы name и photographer были в колонке */
  align-items: center;
  /* Центрирует содержимое внутри name-photographer */
  z-index: 2;
}

.name {
  padding-top: 5px;
  font-family: 'SofiaPro', sans-serif;
  font-style: normal;
  font-weight: 100;
  position: relative;
  font-size: 3rem;
  color: white;
  transition: .3s;
  letter-spacing: 0.2rem;

}

.name_link {
  text-decoration: none;
  color: #ffffff;
  text-align: center;
}

.name:hover {
  scale: 1.01;
}

.photographer {
  font-family: "Dancing Script", cursive;
  font-weight: 100;
  font-style: normal;

  font-size: 3rem;
  /* Относительный размер, адаптируемый к экранам */

  color: white;
  letter-spacing: 1px;
  /* Меньше расстояние для адаптации */

  /* Меньший отступ от имени */
}


nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0 11vh 0 0;

}

@media (max-width: 1600px) {
  nav {
    margin: 0;
  }
}


nav ul {

  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}





.nav_item {
  padding: 0.5rem 2rem;
  transition: transform 0.3s ease;
}

.nav_item:hover {
  transform: scale(1.1);
}



.nav_item a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  position: relative;
  /* Для позиционирования псевдоэлемента */
}

.nav_item {
  position: relative;
}

.nav_item:not(.nav_item_drop_down) a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  transition: width 0.7s ease;
}

.nav_item:not(.nav_item_drop_down).active a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  transition: background-color 0.7s ease;
}



.nav_item:not(.nav_item_drop_down):hover a::after {
  width: 100%;
  /* Ширина подчеркивания при наведении */
}


.nav_item_info {
  padding: 0.5rem 2rem;
  transition: transform 0.3s ease;
}

.nav_item_info a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  position: relative;
}

.info_nav {
  align-items: center;
  justify-content: center;
  margin-left: 15vh;
}

.nav_item_info:hover {
  transform: scale(1.1);
}

.nav_item_info:not(.nav_item_drop_down) a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  transition: width 0.7s ease;
}

.nav_item_info:not(.nav_item_drop_down).active a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  transition: background-color 0.7s ease;
}

.nav_item_info:not(.nav_item_drop_down):hover a::after {
  width: 100%;
  /* Ширина подчеркивания при наведении */
}

a.no-action {
  cursor: pointer;

}

a.no-action:active {
  pointer-events: none;
}


ul {
  list-style: none;
  display: flex;
}

main {
  margin-top: 210px;
}

.main_background {
  display: flex;
  justify-content: center;
}

.main-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* По умолчанию 2 колонки */
  gap: 30px;
  margin: 0 auto;
  padding: 10px;
  align-items: center;
  /* Центрирование по высоте */
}

.main-container>div {
  display: flex;
  justify-content: center;
  /* Центрирование по горизонтали */
  align-items: center;
  /* Центрирование по вертикали */
  height: 100%;
}

.main-container img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  /* Чтобы сохранить соотношение сторон и не искажать изображения */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.inst_logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;


}

.inst_logo_contact{

  width: 30px;
  height: 30px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;
}

.facebook_logo {

  width: 30px;
  height: 30px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;

}

.mail_logo {

  width: 30px;
  height: 30px;
  object-fit: contain;
  margin: 30px;
  transition: transform 0.3s ease;
}

.content {
  background-color: rgb(0, 0, 0);
  flex: 1;
}



.photo__gallery {
  background: 0;

}

.inst_logo:hover {
  transform: scale(1.1);
}

.facebook_logo:hover {
  transform: scale(1.1);
}

.mail_logo:hover {
  transform: scale(1.1);
}

.footer {
  background-color: rgb(0, 0, 0);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  z-index: 100;
}

.mini_nav {
  padding: 0px;
  margin: 20px 0px;
  display: flex;
  justify-content: center;
}

.social_logos {
  padding: 0px;
  margin: 0px 0px;
  display: flex;
  justify-content: center;
}

.mini_nav .nav_item {
  font-size: 14px;
  padding: 0px;
  margin: 0px 10px;
}

.drop_down {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgb(0, 0, 0);
  padding: 5px 0;
  display: none;
  border-radius: 5px;
  overflow: hidden;
  z-index: 10;
}

.drop_down ul {
  list-style-type: none;
  padding: 0;
  margin: 0;

}


.drop_down li a {
  display: block;
  text-align: center;
  padding: 10px;
  color: white;
  text-decoration: none;

}

.drop_down li a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  transition: background-color 0.7s ease;
}

.drop_down li a::after {
  content: "";
  display: block;
  height: 2px;
  background: white;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  transition: width 0.7s ease;
}

.drop_down li:hover a::after {
  width: 100%;
  /* Ширина подчеркивания при наведении */
}

/* Стили для элементов выпадающего списка при наведении */
.drop_down li:hover {
  transform: scale(1.05);
}

/* Основной стиль для элемента с выпадающим списком */
.nav_item_drop_down {
  position: relative;
  /* Позволяет точно позиционировать псевдоэлемент :after */
  z-index: 1;
}

/* Псевдоэлемент :after добавляет галочку справа */
.nav_item_drop_down:after {
  content: "";
  display: block;
  background: url('./img/tick_mark.png') 0 0 no-repeat;
  background-size: cover;
  position: absolute;
  height: 18px;
  width: 18px;
  right: 8px;
  top: 12px;
  transition: transform 0.3s ease;
  /* Анимация переворота галочки */
}

/* Отображение выпадающего списка при наведении */
.nav_item_drop_down:hover>.drop_down {
  display: block;
}

/* Переворот галочки при наведении на элемент с выпадающим списком */
.nav_item_drop_down:hover:after {
  transform: scaleY(-1);
  /* Переворот галочки по горизонтали */
}



.flex_container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;

}

.flex_item {
  flex: 1 1 auto;
  /* Элементы будут занимать доступное пространство */
}

.flex_item img {
  height: 18vw;
  width: 100%;
  object-fit: contain;
  /* Изображения будут вписываться в контейнер без обрезки */
}

.about_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  /* Центровка по горизонтали */
  align-items: center;
  /* Центровка по вертикали */
  margin: 0 auto;
  /* Центровка самого контейнера */
  max-width: 1200px;
  /* Ограничение ширины контейнера */
  padding: 20px;

}

.about_image {
  width: 50%;
  height: auto;
  border-radius: 10px;
  margin: 20px;
}

.about_text {
  flex: 1;
  margin: 20px;
  /* Отступ вокруг текста */
  max-width: 75vh;
  text-align: center;
}

.about_text h1 {

  font-weight: bold;
  margin-bottom: 20px;
  color: white;
  font-size: 40px;

}


.about_text p {
  margin-bottom: 15px;
  color: white;
  font-size: 26px;

  text-align: justify;


}

.about_link_emoteshop {

  color: gray;
  text-decoration: none;

}

.about_link_emoteshop:hover {
  color: lightgrey;
}


.contact_container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* Центрирование по горизонтали */
  /*align-items: center;*/
  /* Центрирование по вертикали */
  flex-wrap: wrap;
  margin: 0 auto;
  /* Устанавливает автоматические отступы для центрирования */
  min-height: 70vh;
  /* Высота для центрирования по вертикали */
  padding: 20px;
}

.contactform_container {

  flex: 1;
  max-width: 400px;
  margin-top: 20px;
  align-self: center;

}

.contact_text {

  flex: 1;
  padding-right: 20px;
  text-align: left;
  /* Выравниваем текст по центру */
  max-width: 50vh;
  font-size: 25px;
  align-self: center
}

.contact_text,
.contactform_container {
  max-width: 500px;
  /* Ограничиваем ширину блоков */
  margin: 10px;
  /* Добавляем небольшой внешний отступ */
}

.h2_contact_question {
  margin-bottom: 20px;
  font-size: 28px;
  color: white;
}

.contact_link {
  color: gray;
}

.contact_link:hover {
  color: lightgrey;
}


.h2_form {
  text-align: center;
  color: #ffffff;
}

form {
  display: flex;
  flex-direction: column;
  align-items: left;
  /* Центрирование формы */
  max-width: 500px;
  margin: 0 auto;
  /* Центрирование формы */
}

label {
  margin-bottom: 5px;
  margin-left: 10px;
  font-weight: bold;
  color: white;
}

input,
textarea {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #818181;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
  /* Форма занимает всю ширину родительского контейнера */
  max-width: 500px;
  /* Ограничиваем ширину полей формы */
  box-sizing: border-box;
  background-color: #2f2f2f;
  color: #fff;
}

button {
  padding: 10px;
  border: none;
  border-radius: 20px;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
  max-width: 150px;
  align-items: center;
}

button:hover {
  background-color: #c0c0c0;
}

.privacy_text_container {
  color: white;
  text-align: center;
}

.privacy_text_container h1,
.privacy_text_container h2,
.privacy_text_container h3,
.privacy_text_container p,
.privacy_text_container a {
  color: white;
  text-align: center;
}

.privacy_text {

  color: white;
  text-align: center;

}

.pdf_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.pdf_frame {
  max-width: 100%;
  max-height: 100%;
}

.store_gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 50px;
  padding: 20px;
  justify-items: center;

}

.store_gallery_item {
  text-align: center;
}

.store_image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.store_text {
  margin-top: 10px;
  font-size: 16px;
  color: #dadada;
}

.store_price {
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.store_details_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 50px;

}

.store_image_details {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-left: 20vh;
}

.store_details_container a {
  width: 50%;
}

.store_description_details {
  flex: 1;
  margin-left: 30vh;
  max-width: 40vh;
  color: rgb(255, 255, 255);
  text-align: left;
  justify-content: center;
  margin-bottom: 30px;
}

.store_ruleset_details {
  color: rgb(160, 160, 160);
  max-width: 70vh;
  margin-top: 10vh;
  margin-left: 25vh;
  font-size: 13px;
}

.shop_back_button {
  padding: 10px;
  border: none;
  border-radius: 20px;
  color: rgb(255, 255, 255);
  background-color: black;
  font-size: 12px;
  cursor: pointer;
  max-width: 20vh;
  font-weight: bold;
  margin-left: 25vh;
}

.store_button {
  padding: 10px;
  border: none;
  border-radius: 20px;
  background-color: white;
  color: black;
  font-size: 16px;
  cursor: pointer;
  max-width: 15vh;
  font-weight: bold;

}

.shop_back_button:hover {
  background-color: #000000;
  color: gray;
}

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.info_package {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  margin: 10px;
  text-align: center;
  padding: 20px;
  flex-grow: 1;
}

.info_img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.info_h3 {
  margin-top: 20px;
  font-size: 24px;
  text-transform: uppercase;
  color: #000;
}

.info_package p {
  font-size: 22px;
  color: #333;
  flex: 1;
}


.info_package ul {
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
  flex-grow: 1;
}


.info_package ul li {
  margin-bottom: 10px;
}

.info_price {
  font-size: 20px;
  margin: 15px 0;
}

.info_package .button {
  margin-top: auto;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.info_package .button:hover {
  background-color: #444;
}


.gift_package {
  background-color: #000000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  padding: 20px;
}

.gift_package ul p {
  margin: 0 auto;
  padding: 10px;
}

.gift_img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.gift_h3 {
  margin-top: 20px;
  font-size: 24px;
  text-transform: uppercase;
  color: white;
}

.gift_package p {
  font-size: 18px;
  color: #dddddd;
}

.gift_package ul {
  text-align: left;
  margin-top: 20px;
  padding-left: 20px;
}

.gift_package ul li {
  margin-bottom: 10px;
}

.gift_package .button {
  background-color: #ffffff;
  color: #000000;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 5px;
}

.gift_package .button:hover {
  background-color: #444;
}

.emotes_shop-title {
  font-size: 36px;
  color: white;
  margin: 10px;
}

.emotes_shop-text {
  font-size: 18px;
  color: #cccccc;
  margin: 10px;
  max-width: 45%;
}

.emotes_shop_image-gallery {
  display: flex;
  justify-content: center;

}

.emotes_shop_gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin: 20px 0;
}

.content-wrapper {
  text-align: center;
  max-width: 800px;

}

img {
  max-width: 100%;
  height: auto;


}

h1 {
  font-size: 24px;
  margin: 20px 0;
  font-weight: 700;
  color: white;

}

p {
  font-size: 18px;
  line-height: 1.5;
  margin: 20px 0;
  color: white;



}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 30px;
  background-color: #ffffff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #cccccc;
}

.coaching_container {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;

}

.emotes_shop_gallery img {
  width: 100%;

  object-fit: cover;

}

.faith_content {
  max-width: 100%;
  margin: 10px 50px;

}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

}

.photobooks_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.video_wrapper {
  width: 100%;
  padding: 0 15px;
}

.video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.photobooks_image {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.photobooks_main_container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.photobooks-title {
  font-size: 36px;
  color: white;
  margin: 10px;
}

.photobooks-text {
  font-size: 18px;
  color: #cccccc;
  margin: 10px;
  max-width: 60%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1360px) {
  .store_details_container a {
    width: 70%;
  }

  .store_image_details {
    margin-left: 10vh;
  }

  .store_description_details {
    margin-left: 15vh;
    /* Уменьшаем отступ слева */
    max-width: 35vh;
  }

  .store_details_container a {
    width: 60%;
  }

  .store_ruleset_details {
    margin-left: 15vh;
    max-width: 60vh;
  }

  .shop_back_button {

    margin-left: 15vh;
  }

  .store_button {
    padding: 10px;
  }


}






@font-face {
  font-family: 'SofiaPro';
  src: url('./fonts/Sofia\ Pro\ Light\ Az.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.header_burger {
  display: none;
  /* Скрыть бургер-меню по умолчанию */
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.header_burger span {
  display: block;
  width: 35px;
  height: 2.5px;
  background-color: rgb(255, 255, 255);
  margin: 7.5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* Стиль для бургер-меню активного состояния */
.header_burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(9px, 9px);
}

.header_burger.active span:nth-child(2) {
  opacity: 0;
}

.header_burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.drop_down_list {
  display: none;
}


.send-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.send_link {
  text-align: center;
  color: #fff;
  justify-content: center;
  align-items: center;
  font-size: 25px;

}

.send_title {
  text-align: center;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 30px;

}

/* Медиа-запрос для бургер-меню при ширине экрана менее 1035 пикселей */
@media (max-width: 1035px) {


  .header_burger {
    display: block;
  }

  /* Стили для overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 20;
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.1s ease;
  }

  /* Стили для nav_list */
  .nav_list {
    display: none;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 150px;
    right: 0;
    width: 100%;
    z-index: 1002;
    width: 0%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* Скрыто за правой границей экрана */
  }

  .nav_list_opened {
    display: flex;
  }

  .nav_list.active {
    width: 100%;
    /* Видимая позиция */
    pointer-events: auto;
    transition: opacity 1s ease;
    opacity: 1;
  }

  /* Стили для навигационных элементов */
  .nav_item {
    position: relative;
    /* Позволяет позиционировать псевдоэлементы относительно nav_item */

    text-align: center;
  }

  /* Убираем абсолютное позиционирование из навигационных ссылок */
  .nav_item a {
    font-size: 40px;
    position: relative;
  }

  .nav_item_drop_down:after {
    content: "";
    display: none;
  }

  /* Стили для тик-марка */
  /* Стили для тик-марка */
  .nav_list.active .drop_down_link:after {
    content: "";
    display: block;
    background: url(./img/tick_mark.png) no-repeat;
    background-size: cover;
    position: absolute;
    height: 30px;
    width: 30px;
    right: -35px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    /* Выравнивание по центру текста */
    transition: transform 0.3s ease;
  }


  .mini_nav .nav_item a {
    font-size: 28px;
  }

  .footer.hidden {
    display: none;
  }

  .no-scroll {
    overflow: hidden;
    /* Блокирует прокрутку */
  }

  /*   drop_down */

  .drop_down {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    z-index: 1003;
    justify-content: center;
    /* Убедитесь, что он выше nav_list */
  }

  .drop_down.active {
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    height: 200px;
    top: 0;
  }

  .drop_down .back_button {
    position: absolute;
    top: -10px;
    left: 30px;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    padding: 10px;
  }



  .nav_list.active {
    /* Существующие стили */
    transform: translateX(0);

  }

  .nav_list.slide_out {
    transform: translateX(-100%);
  }

  .nav_list_flex_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;

  }

  .drop_down_mobile {
    overflow-x: hidden;
    width: 0px;
    position: absolute;
    background-color: #000;
    top: 0;
    bottom: 0;
    transition: width 0.5s ease;
  }

  .drop_down_mobile.active {
    width: 100%;
    transition: width 0.5s ease;
  }

  .close_button {
    position: absolute;
    top: 0;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
  }

  .close_button:after {
    content: "";
    display: block;
    background: url(./img/tick_mark.png) no-repeat;
    background-size: cover;
    position: absolute;
    height: 30px;
    width: 30px;
    left: -25px;
    top: 50%;
    transform: translateY(-50%) rotate(-270deg);
    /* Выравнивание по центру текста */
    transition: transform 0.3s ease;
  }

  .drop_down_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 10px;
  }


  .drop_down_list a {
    text-decoration: none;
    color: white;
    font-size: 40px;
    padding: 10px;
    position: relative;
  }

  .drop_down_list :hover {
    transform: scale(1.1);
  }

  .drop_down_list li a.active::after {
    content: "";
    display: block;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* Полоска будет видна для активной ссылки */
    transition: background-color 0.7s ease;
  }

  .drop_down_list li a::after {
    content: "";
    display: block;
    height: 2px;
    background: white;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    /* Начальное состояние - полоска скрыта */
    transition: width 0.7s ease;
    /* Анимация на ширину */
  }

  .drop_down_list li a:hover::after {
    width: 100%;
    /* При наведении полоска расширяется */
  }

  .nav_item_drop_down {

    /* Позволяет точно позиционировать псевдоэлемент :after */
    z-index: auto;
  }

  .emotes_shop_gallery {
    grid-template-rows: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-columns: auto;
  }

  .emotes_shop_gallery img {
    height: 40vw;
  }

  .emotes_shop-text {
    max-width: 60%;
  }


}

@media (max-height: 600px) {
  .no-scroll {
    overflow: auto;
  }
}

@media (max-width: 1035px) {
  .header {
    min-height: 16vh;
    display: flex;
    justify-content: space-between;

    align-items: center;

  }

  nav .inst_logo {
    display: none;
  }


  nav ul {
    display: none;
  }

  .nav_item_ul {
    display: flex;
    justify-content: center;
    align-items: center;

  }

  .info_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .inst_logo {
    display: none;
  }

  .mini_nav {
    margin: 0 0 20px 0;
    padding: 0;
  }

  .mini_nav .nav_item {
    font-size: 12px;

  }

  .info_nav {
    display: flex;
    flex-direction: column;
  }

  .name_photographer {}

  .photographer {
    top: 3rem;
    font-size: 2.5rem;
  }

  .name {
    font-size: 2rem;

  }

  .emotes_shop_gallery img {
    height: 400px;

    max-width: 100%;
  }

  .emotes_shop_main-title {
    font-size: 2rem;
    text-align: center;
  }

  .emotes_shop_main-text {
    max-width: 90%;
    text-align: center;

  }

  .mini_nav {
    flex-direction: column;
    align-items: center;
  }

  .mini_nav .nav_item {
    margin: 10px 0;
  }

  .faith_content {
    margin: 20px 5%;
  }

  .about_container {
    flex-direction: column;
  }


  .about_image,
  .about_text {
    margin: 10px auto;
    max-width: 100%;
  }

  .about_image {
    width: 100%;
    height: auto;
  }

  .contact_container {
    flex-direction: column;
  }

  .contact_text {
    text-align: center;
    padding-right: 0;
  }

  .contactform_container {
    max-width: 100%;
    margin: 0;
  }

  .store_gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Уменьшаем минимальную ширину элементов */
    gap: 30px;
    /* Уменьшаем разрыв между элементами */
  }

  .store_details_container {
    margin: 0 30px;
    /* Уменьшаем отступы */
    justify-content: center;
  }

  .store_image_details {
    margin-left: 0vh;
  }

  .store_description_details {
    margin-left: 0;
    /* Уменьшаем отступ слева */
    max-width: 35vh;
    text-align: center;
    align-self: center;
    justify-content: center;

  }

  .store_description_details h1 {
    font-size: 40px;
  }

  .store_description_details p {
    font-size: 30px;
  }

  .store_details_container a {
    width: 100%;
  }

  .store_ruleset_details {
    margin-left: 20px;
    max-width: none;
    align-self: center;

  }

  .shop_back_button {

    margin-left: 20px;
  }

  .store_button {
    padding: 20px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  main {
    margin-top: 150px;
  }

  .main-container {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 10px;
  }

  .main-container img:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
    /* Измените местами, если нужно */
  }

  .main-container img:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }

  .main-container img:nth-child(4) {
    grid-area: 2 / 1 / 3 / 2;
  }

  .main-container img:nth-child(3) {
    grid-area: 2/ 2 / 3 / 3;

  }

  .about_text p {
    margin: 10px auto;
    max-width: 100%;
    font-size: 24px;
  }

  .about_image {
    width: 100%;
    height: auto;
  }

  .h2_contact_question {
    font-size: 24px;
  }

  .contact_text,
  .contactform_container {
    margin: 10px 0;
  }

  input,
  textarea {
    font-size: 14px;
  }

  button {
    max-width: 100%;
    font-size: 14px;
  }

  .store_gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Уменьшаем минимальную ширину еще больше */
    gap: 20px;
    /* Еще меньше разрыв между элементами */
  }

  .store_text {
    font-size: 14px;
    /* Уменьшаем шрифт для текста */
  }

  .store_price {
    font-size: 12px;
    /* Уменьшаем шрифт цены */
  }

  .store_details_container {
    flex-direction: column;
    /* Переход на колонку */
    margin: 0 20px;
    /* Еще больше сужаем отступы */

  }

  .store_description_details {
    margin-left: 0;
    /* Убираем отступы слева */
    max-width: 100%;
    /* Увеличиваем ширину для полного использования пространства */
    text-align: center;
  }

  .store_description_details h1 {
    font-size: 25px;
  }

  .store_description_details p {
    font-size: 20px;
  }

  .store_ruleset_details {
    margin-left: 20px;
    max-width: 90%;
    /* Полная ширина */
    margin-top: 5vh;
    font-size: 12px;
  }

  .store_image_details {
    align-items: center;
    margin-left: 0;
  }

  .store_details_container a {
    width: 100%;

  }

  .info_package {
    max-width: 100%;
  }

  .photobooks_grid {
    grid-template-columns: repeat(2, 1fr);
    /* Switch to two columns on smaller screens */
  }

  .photobooks_main_container {
    padding: 15px;
  }

  .photobooks-title {
    text-align: center;
  }

  .photobooks-text {
    text-align: center;
    margin: 0 auto;
  }

  .flex_item img {
    height: auto;
  }

  .flex_container {
    padding: 0 15px;
  }

  .emotes_shop-text {
    max-width: 100%;
    text-align: center;
  }

  .emotes_shop-title {
    text-align: center;
  }

  .emotes_shop_gallery {
    gap: 20px;
  }

  .emotes_shop_gallery img {
    height: 250px;
  }
}


@media (max-width: 480px) {
  .h2_contact_question {
    font-size: 20px;
  }

  nav {
    margin: 0 5vh 0 0;
  }

  .name_photographer {

    align-items: start;
  }

  .photobooks_grid {
    grid-template-columns: 1fr;
    /* Switch to one column on very small screens */
  }

  .contact_text {
    font-size: 16px;
  }

  input,
  textarea {
    padding: 8px;
    font-size: 14px;
  }

  button {
    padding: 8px;
    font-size: 14px;
  }


}