/* ДО GGGGGGGGGGGGGGGGGGGGGGGG   ----- ЭТО ВСЕ ОТ ГАЛЕРЕИ */



/* Убирает Все ОТСТУПЫ на БОКСАХ
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}  */

html,
body {
  min-height: 100vh;
}

/* body{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.89);
}  */

.hidden {
  display: none !important;
}

/* Gallery styles */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  width: 100%;
}

/* .gallery__card{
display: flex;
width: 300px;
} */
.gallery__card {
  display: flex;
  /* cursor: zoom-in; */

}

.gallery__img {
  width: 150px;




}

/* .gallery__card:hover .gallery__img {
transform: scale(1.01);
cursor:zoom-in;
} */

/* Popup + slider styles */
.slider {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.89);
  padding: 0px 10px;
}



/* Медиазапросы для экрана портрет нет */
/* 
@media screen  and (orientation:landscape){


}
 */

 .slider__container {
  display: flex;
  width: auto;
  height: 90%;

}



@media screen and (max-width: 700px) {

  .slider__container {
    display: block;
    align-content: center;
   max-width: 100%;
   max-height: auto; 
   
  }
 }



  











.slider__container img {
  animation: anim 0.5s ease
}






/* Button styles */
.slider__btn {
  position: absolute;
  bottom: 5%;
  /* top: 50%; */
  /* transform: translateY(-50%); */
  text-decoration: none;
  display: inline-block;
  /* Размер кнопок */
  /* padding: 12px 40px; */
  padding: 10px 27px;
  margin: 10px 20px;
  border-radius: 7px;
  /* background-image: linear-gradient(45deg, #6ad797 0%, #80de33 50%, #096109 100%); */
  
  /* первый вар */
  /* background-image: linear-gradient(45deg, #005D2C 0%, #669966 50%, #023518 100%); */
  /* второй вариант */
    background-image: linear-gradient(45deg, #023518  0%, #669966 70%, #023518 100%);
  background-position: 100% 0;
  /* background-size: 200% 200%; */
  background-size: 200% 200%;
  font-family: 'Montserrat', sans-serif;
  /* font-size: 24px; */
  font-size: 13px;
  font-weight: 300;
  color: #D9EBD5;
  box-shadow: 0 16px 32px 0 rgba(32, 110, 1, 0.35);
  transition: .5s;
  cursor: pointer;
}

.slider__btn:hover {
  box-shadow: 0 0 0 0 rgba(14, 120, 0, 0);
  background-position: 0 0;
}
/* Положение кнопок от края левого и правого */
.slider__btn-left {
  left: 25px
}

.slider__btn-right {
  right: 35px
}
/* Перевел пиксели в ем , база 13 */
.slider__btn-close {
  position: absolute;
  /* right: 5em; */
  right: 25px;
  top: 5em;
  text-decoration: none;
  display: inline-block;
  /* padding: 1.1538em 2.3077em; */
  padding: 10px 27px;
  margin: 0.7692em 1.5385em;
  /* border-radius: 0.7692em; */
  border-radius: 7px;
  box-shadow: 0 0 3.0769em 3.0769em #023518 inset, 0 0 0 0 #023518;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  letter-spacing: 0.1538em;
  color: #D9EBD5;
  transition: .15s ease-in-out;
  cursor: pointer;
}

.slider__btn-close:hover {
  box-shadow: 0 0 10px 0 #023518 inset, 0 0 10px 4px #023518;
  color: #023518;
}


/* Анимация при переключении фото */
@keyframes anim {
  /* 0% {
    border-radius: 70%;
    transform: scale(0.5)
  } */

  /* 50% {
    border-radius: 50%;
    transform: scale(1.2)
  } */

  100% {
    border-radius: 0;
    transform: scale(1)
  }
}









/* GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG*/
