*{
    box-sizing: border-box;
}

.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1170px;
    padding: 1.5rem 0;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
  }
  @media (max-width: 425px) {
    .gallery {
      flex-direction: column;
    }
  }
  .gallery-card {
    width: 31%;
    height: 400px;
    margin-bottom: 4%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
  }
  @media (max-width: 425px) {
    .gallery-card {
      width: 90%;
      margin-bottom: 6%;
    }
  }
  .gallery-card-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
  }
  .gallery-card-btn {
    padding: 0.6rem 2rem;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .gallery-card-btn:hover {
    background-color: #fff;
    color: #000;
  }
  .gallery #card-1 {
    background-image: url("../img/animais.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-1:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/animais.jpg");
  }
  .gallery #card-2 {
    background-image: url("../img/arquitetura.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-2:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/arquitetura.jpg");
  }
  .gallery #card-3 {
    background-image: url("../img/cidade.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-3:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/cidade.jpg");
  }
  .gallery #card-4 {
    background-image: url("../img/decoracao.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-4:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/decoracao.jpg");
  }
  .gallery #card-5 {
    background-image: url("../img/esportes.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-5:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/esportes.jpg");
  }
  .gallery #card-6 {
    background-image: url("../img/natureza.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-6:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/natureza.jpg");
  }
  .gallery #card-7 {
    background-image: url("../img/paisagem.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-7:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/paisagem.jpg");
  }
  .gallery #card-8 {
    background-image: url("../img/pessoas.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-8:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/pessoas.jpg");
  }
  .gallery #card-9 {
    background-image: url("../img/refeicoes.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: 0.6s;
  }
  .gallery #card-9:hover {
    background-size: 110%;
    filter: grayscale(0%);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/refeicoes.jpg");
  }

  