@charset "UTF-8";
.btnTop {
  display: none;
  place-items: center;
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  box-shadow: 0 0 10px #000, 0.2;
  cursor: pointer;
  position: fixed;
  bottom: 5.5rem;
  right: 5.5rem;
}

.progress-value {
  display: block;
  height: calc(100% - 1.5rem);
  width: calc(100% - 1.5rem);
  background-color: #e4dcdc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2b2a2c;
}

.btnTop-svg {
  width: 3rem;
  height: 3rem;
}

.filter-buttons {
  margin: 1.5rem 0.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gallery-filter {
  padding: 0.6rem 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e4dcdc;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(to bottom, #f11313, #5f0b0b);
  transition: all 0.3s ease;
}
.gallery-filter:last-child {
  margin-right: 0;
}
.gallery-filter:hover {
  background: linear-gradient(to bottom, #5f0b0b, #f11313);
}
.gallery-filter.active {
  background: linear-gradient(to bottom, #131ef1, #080d66);
}
.gallery-filter:focus {
  outline: none;
}

.gallery__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 990px) {
  .gallery__inner {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .gallery__inner {
    grid-template-columns: 1fr;
  }
}

.gallery__item {
  height: 28rem;
  overflow: hidden; /*Скрывает все, что не влазит в блок*/
  opacity: 0.8;
  transition: opacity 0.1s linear;
  border-radius: 0.5rem;
}
.gallery__item:hover {
  opacity: 1;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__item.hide {
  display: none;
}
@media (max-width: 990px) {
  .gallery__item {
    opacity: 1;
    height: 25.4rem;
  }
}
@media (max-width: 767px) {
  .gallery__item {
    height: 20.4rem;
  }
}
@media (max-width: 575px) {
  .gallery__item {
    height: auto;
  }
}

.load_more {
  padding: 1rem 3rem;
  margin-top: 2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(to bottom, #f11313, #5f0b0b);
  color: #efefef;
  font-size: 2rem;
  transition: background 0.2s ease;
}
.load_more:hover {
  background: linear-gradient(to bottom, #5f0b0b, #f11313);
}
/*# sourceMappingURL=gallery.min.css.map */
