* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 62.5%;
  min-height: 100vh;
  background-color: white;
}

.container {
  position: relative;
  max-width: 1350px;
  margin: 5rem auto;
  width: 100%;
  padding: 2rem;
}

.filter-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

button {
  padding: 1rem 2rem;
  font-size: 1.8rem;
  background: rgba(112, 238, 39, 0.5);
  border: none;
  width: 11.1rem;
  border-radius: 0.69rem;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.05);
  cursor: pointer;
  position: relative;
}
button.active {
  /* content: "\f178"; */
  background: rgba(224, 184, 8, 0.5);
  color: white;
}
button.active::before {
  content: "";

  height: 4rem;

  border-radius: 0.69rem;
  width: 0;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    to right,
    rgb(0, 0, 0) 0%,
    rgb(128, 128, 128) 100%
  );
  transition: 0.69s ease;
  display: block;
  z-index: -1;
}

button::before {
  content: "";

  height: 4rem;

  border-radius: 0.69rem;
  width: 0;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    to right,
    rgb(84, 228, 228) 0%,
    rgb(8, 228, 173) 100%
  );
  transition: 0.5s ease;
  display: block;
  z-index: -1;
}
button:hover::before {
  width: 11.1rem;
}
.gallery {
  display: flex;
  margin-top: 2.5rem;

  justify-content: space-evenly;
  align-items: center;
  padding: 3rem;

  gap: 3rem;
  flex-wrap: wrap;

  align-items: center;
  background-color: rgb(243, 243, 243);
  overflow: hidden;
}
.imgs {
  flex-basis: 30rem;
  width: 30rem;
  height: 30rem;
  overflow: hidden;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.2);
  border-radius: 0.69rem;
  position: relative;
}

.imgs.hide {
  display: none;
}
.imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.5s ease;
}
.imgs:hover img {
  transform: scale(1.2);
}
.imgs::before {
  content: "";

  height: 35rem;

  width: 0;
  position: absolute;
  top: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.1);
  transition: 1s ease;
  display: block;
  z-index: 1;
}
.imgs:hover::before {
  width: 35rem;
}


