
div#gallery_division {
  position: relative;
  width: 100%;
}

.category {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.category__elements {
  padding: 1em 2em;
  margin: 0 10px;
  font-weight: bold;
  color: #dc0000;
  border: 2px solid #dc0000;
  border-radius: 10rem;
  cursor: pointer;
}
.category__elements:hover {
  color: #fff;
  background-color: #dc0000;
}

.gallery {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
.gallery__img {
  display: inline;
  transition: all 0.5s linear;
}
.gallery__img img {
  width: 400px;
  height: 250px;
  margin: 5px 15px;
  object-fit: cover;
  border: 1px solid rgba(220, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.25s ease-in;
}
.gallery__img img:hover {
  transform: scale(1.03);
  border: 3px solid #b31919;
}
.gallery__img.filtered img {
  margin: 0;
  width: 0px;
  border: none;
}

.gallery_image_wrapper {
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
}
.gallery_image_wrapper.activate {
  display: flex;
}
.gallery_image_wrapper .close-btn {
  position: absolute;
  top: 1%;
  right: 5%;
  width: 50px;
  height: 50px;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #b21213;
  font-size: 40px;
}
.gallery_image_wrapper .close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.gallery_image_wrapper .image_container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery_image_wrapper .image_container > img {
  height: 40vw;
  border: 10px solid #ddf3f3;
  border-radius: 5px;
}
.gallery_image_wrapper .image_container span {
  display: block;
  padding: 10px;
  color: #fff;
  opacity: 0.75;
  cursor: pointer;
  margin: auto 1rem;
}
.gallery_image_wrapper .image_container span img {
  width: 100%;
  height: 100%;
}
.gallery_image_wrapper .image_container span:hover {
  opacity: 1;
  background-color: #b21213;
}