/*
  font-family: 'Shentox', sans-serif;
  color: #9664eb;
*/
/*************************  Стили для галереи ********************************/
.gallery {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
        
.image {
object-fit: cover;
cursor: pointer;
transition: transform 0.3s;
cursor:zoom-in;
width: 410px; 
margin: 0 auto; 
}
/* Оптимизация для планшетов */
@media (max-width: 1024px) {
  .image { cursor:zoom-in;
      width: 350px; 
  }
}
/* Оптимизация для телефонов */
@media (max-width: 768px) {   
  .image { cursor:zoom-in;
      width: 90%; 
      padding: 0 10px; 
  }
}

.image:hover {
transform: scale(1.03);
}
        
 /* Стили для модального окна */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup:target {
    display: flex;
}

.popup_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    text-decoration: none; 
}

.popup_img {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    z-index: 1001;
    pointer-events: none; 
}


 /*----------------------------------------------------------------------------------------------------------------------------- */
.section { width: 995px; }

 .ulcat {
  list-style: none;  height: 35px;
  display: flex; justify-content: center; font-family: 'Shentox', sans-serif;
}

.licat { float:left;  }

.licat a { font-family: 'Shentox', sans-serif;
  padding: 10px 20px;
  text-decoration: none;
  color: Gray;
  font-size: 18px;
  border-radius: 5px 5px 0 0;
  transition: all 0.3s ease;
}
/* Стили для неактивных вкладок при наведении */
.licat a:hover {
  background: #dcc5f981;
}
.licat.active a {
  color: #9664eb;
}

/* Стили для активной вкладки при наведении */
.licat.active a:hover {
  background: #dcc5f981;
}

.active { color: red;}
.active a {
  text-decoration: none; color: #9664eb; font-size: 18px;
  border-bottom: 2px solid #9664eb;
  border-radius: 5px 5px 0px 0px;
  padding: 10px 20px 10px 20px;
  -moz-transition: all 0.3s 0.01s ease; /*делаем плавный переход*/
  -o-transition: all 0.3s 0.01s ease;
  -webkit-transition: all 0.3s 0.01s ease;
}
.active a:hover {
  background: #dcc5f981;
}

 /*----------------------------------------------------------------------------------------------------------------------------- */

 /* 
.tabs {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.tablink {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
}

.tablink:hover {
  background-color: #ddd;
}

.tablink.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  border-top: none;
}

 /*----------------------------------------------------------------------------------------------------------------------------- */

.tablink {
  box-shadow: 0px 10px 14px -7px #c6c0ce;
  background: #dac6f9;
  color: #584f62;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  padding: 10px 15px;
  text-decoration: none;
  margin-right: 5px;
  border: none;
  transition: background-color 0.3s ease;
}

.tablink:hover {
  background-color: #c6b0e6;
}

.tablink.active {
  box-shadow: 0px 10px 14px -7px #c6c0ce;
  background: #6c10f4;
  color: #fff;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  margin-right: 5px;
  padding: 10px 15px;
  text-decoration: none;
}