#photos {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 10vh;
}

#photos h2 {
  font-size: 2.75rem;
  font-weight: 500;
  font-style: normal;
  line-height: 34px;
  letter-spacing: 2.4px;
  margin-bottom: 0;
}

#photos h3 {
  font-size: 1.25rem;
  font-weight: 600;
  font-style: normal;
  line-height: 28px;
  letter-spacing: 3px;
}

#photos .cover {
  margin-top: 5vh;
  width: 60%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
}

#photos h1 {
  margin-top: 6vh;
  padding: 0 15%;
  text-align: center;
}
.flex-img-gal {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 76%;
  margin-bottom: 10vh;
  /* padding: 20vh 0; */
}
.flex-img-gal .txt {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0 2%;
  width: 49%;
  height: 87vh;
  border-style: solid;
  border-width: 1px 0px 1px 1px;
  transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.flex-img-gal .img {
  display: table-cell;
  vertical-align: middle;
  width: 49%;
  max-height: fit-content;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.flex-img-gal .txt p {
  margin-top: 1rem;
  color: #7a7a7a;
  font-family: var(--catamaran);
}

.flex-img-gal .divider {
  width: 60%;
}

.wrap-img-gal {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  width: 70%;
  row-gap: 3.5vw;
}
.wrap-img-gal img {
  width: 30%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
}

button {
  background-color: #333;
  color: #fff;
  font-family: var(--catamaran);
  font-size: 1.2rem;
  padding: 0.5rem 2rem;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-transform: capitalize;
  margin-top: 2rem;
  cursor: pointer;
  outline: 0;
}
.hidden {
  display: none;
}

@media screen and (max-width: 820px) {
  #photos {
    margin-top: 6vh;
  }
  #photos .cover {
    width: 95%;
  }
  #photos h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 7px;
    padding: 0px 5px 0px 5px;
  }
  .flex-img-gal {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 5vh;
  }
  .flex-img-gal .txt {
    width: 95%;
    height: 100%;
    border: 1px solid #000;
    padding: 2vh 1%;
    font-size: .9rem;
  }
  .flex-img-gal .img {
    width: 95%;
    height: 60vh;
    margin-top: 2vh;
  }
  .wrap-img-gal {
    width: 85%;
  }
  .wrap-img-gal img {
    width: 100%;
  }
  .md{
    height: max-content;
    margin-bottom: 4vh;
  }
}
