.banner {
  margin: 50px 0;
}

.banner h1 {
  font-family: "Outfit", serif;
  font-size: 7.5rem;
  font-weight: 700;
  color: var(--dark-color);
  text-align: center;
}

@media screen and (max-width: 1300px) {
  .banner h1 {
    font-size: 6rem;
  }
}
@media screen and (max-width: 500px) {
  .banner h1 {
    font-size: 4.5rem;
  }
}
.filter .categories-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 50px;
}

.filter .categories-list .title {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: start;
}

.filter .categories-list .category-item {
  font-family: "Outfit", serif;
  font-size: 1.3rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  background-color: var(--midnight-blue-color);
  border: 2px solid var(--midnight-blue-color);
  border-radius: 30px;
  padding: 15px 50px;
  color: var(--white-color);
  transition: background-color 0.3s ease;
}

.filter .categories-list .category-item.active,
.filter .categories-list .category-item:hover {
  background-color: var(--soft-cream-2-color);
  color: var(--midnight-blue-color);
}

@media screen and (max-width: 1024px) {
  .filter .categories-list .category-item {
    margin-bottom: 10px;
    gap: 10px;
  }
}
@media screen and (max-width: 500px) {
  .filter .categories-list .category-item {
    padding: 7px 15px;
    font-size: 1rem;
  }
}
.gallery {
  margin-bottom: 100px;
}
.gallery .images {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.gallery .images .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  min-height: 414px;
  max-width: 399px;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
  display: flex;
  justify-content: start;
  align-items: end;
}

.gallery .images .image .caption:before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(44, 57, 86, 0.9);
  opacity: 0.5;
  transform: translateY(100%);
  transition: all 0.25s;
  transition-delay: 0.25s;
  border-radius: 15px;
}

.gallery .images .image:hover .caption:before {
  transform: translateY(0);
  opacity: 0.5;
}
.gallery .images .image .caption {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0 !important;
  right: 0 !important;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  transform: translateY(-20px);
  opacity: 0;
  padding: 3rem;
  transition: all 0.25s ease;
}
.gallery .images .image:hover .caption {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}
.gallery .images .image .caption h5 {
  font-family: "Outfit", serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white-color);
  z-index: 1;
}
@media screen and (max-width: 1300px) {
  .gallery .images .image {
    min-height: 400px;
    max-width: 345px;
  }
}

@media screen and (max-width: 1200px) {
  .gallery .images {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .gallery .images .image {
    /* min-height: 250px; */
    max-width: 400px;
  }
}

@media screen and (max-width: 400px) {
  .gallery .images {
    display: block;
  }
  .gallery .images .image {
    max-width: none;
    min-height: 350px;
  }
}

@media screen and (max-width: 320px) {
  .gallery .images .image {
    max-width: none;
    min-height: 250px;
  }
}

.gallery .images .image.no-image {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  padding: 2rem;
}

.gallery .images .image.no-image .text {
  /* color: #fff; */
  font-size: 3.2rem;
  font-weight: 400;
  padding: 20px 20px 0 20px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

@media screen and (max-width: 400px) {
  .gallery .images .image.no-image .text {
    font-size: 2.1rem;
    -webkit-line-clamp: 3;
  }
}

.gallery .images .image .info {
/* .gallery .images .image:not(.no-image) .info { */
  font-family: "Outfit", serif;

  color: #fff;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  padding: 20px;
  text-align: left;
}

.gallery .images .image .info .person {
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.gallery .images .image .info .location {
  font-size: 1.6rem;
  font-weight: 300;
}

.image-box {
  display: flex;
  padding: 0;
  margin-bottom: 50px;
  min-height: 607px;
  background: var(--white-color);
}
.image-box .content {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 0 80px;
}

.image-box .content .eyebrow {
  font-size: 2.4rem;
  font-weight: 600;
  font-family: "Outfit", serif;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.image-box .content .title {
  font-size: 4.8rem;
  line-height: 1.1;
  font-weight: 700;
  font-family: "Outfit", serif;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.image-box .content .description {
  font-size: 1.6rem;
  line-height: 2.4;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--dark-color);
}

.image-box .image {
  flex: 1;
  max-width: 50%;
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}

.image-box .image {
  order: 2;
  background-position: right;
}
.image-box .content {
  order: 1;
}

.image-box.image-first .image {
  order: 1;
  background-position: left;
  background-size: cover;
}
.image-box.image-first .content {
  order: 2;
}

@media screen and (max-width: 1300px) {
  .image-box {
    min-height: 500px;
  }
  .image-box .content {
    padding: 0 50px;
  }
  .image-box .content .title {
    font-size: 3.2rem;
  }
  .image-box .content .description {
    font-size: 1.6rem;
  }
  .image-box .image {
    background-size: cover;
    background-position: center;
  }
}

@media screen and (max-width: 992px) {
  .image-box {
    flex-direction: column;
  }
  .image-box .content {
    max-width: 100%;
    padding: 70px 50px;
    order: 2 !important;
  }
  .image-box .image {
    max-width: 100%;
    min-height: 350px;
    order: 1 !important;
  }
}

@media screen and (max-width: 768px) {
  .image-box .content {
    padding: 50px 30px;
  }
  .image-box .image {
    min-height: 250px;
  }
}

#lightbox {
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #cf8d9d;
  border-radius: 16px;
  width: fit-content;
  overflow: hidden;
}

#lightbox .lb-number {
  display: none !important;
}

#lightbox .lb-closeContainer {
  position: absolute;
  top: 3rem;
  right: 2rem;
}

.lightbox .lb-image {
  border: none;
}

#lightbox .lb-dataContainer {
  padding: 0 8rem;
}

#lightbox .lb-dataContainer .lb-caption {
  font-family: "Outfit", serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--dark-color);
}

#lightbox .lb-dataContainer .lb-caption .person {
  margin: 2rem 0;
  font-weight: 600;
  display: inline-block;
}

#lightbox .lb-dataContainer .lb-caption .location {
  font-weight: 300;
  font-size: 1.6rem;
}

#myImg {
  border-radius: 0px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

.modal {
  display: none;
  position: fixed;
  z-index: 6;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 999999;
}

.modal .modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 1166px;
  position: relative;
  display: flex;
  flex-direction: row;
  border-radius: 15px;
}

.modal .modal-content .img {
  min-height: 80vh;
  width: 50%;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
}

.modal .modal-content .data {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  padding: 0 9rem;
  width: 50%;
}

@media screen and (max-width: 1300px) {
  .modal .modal-content:not(.no-image) {
    max-width: 90%;
    flex-direction: column;
  }

  .modal .modal-content .img {
    width: 100%;
    min-height: 70vh;
  }

  .modal .modal-content .data {
    width: 100%;
    padding: 0 5rem;
  }
}

@media screen and (max-width: 500px) {
  .modal .modal-content .img {
    width: 100%;
    min-height: 50vh;
  }
  .modal .modal-content .data {
  }
}

.modal .modal-content.no-image {
  min-height: 668px;
}

@media screen and (max-width: 500px) {
  .modal .modal-content.no-image {
    min-height: 400px;
    justify-content: space-around;
  }
}
.modal .modal-content.no-image .img {
  display: none;
}

.modal .modal-content .data .data-quote {
  font-family: "Outfit", serif;
  font-size: 2.4rem;
  font-weight: 400;
  /* color: var(--dark-color); */
  margin-bottom: 2rem;
}

.modal .modal-content:not(.no-image) .data .data-quote {
  color: var(--dark-color);
}

.modal .modal-content.no-image .data {
  width: 100%;
}
.modal .modal-content .data .data-person {
  font-family: "Outfit", serif;
  font-size: 2.1rem;
  font-weight: 600;
  display: inline-block;
  margin: 2rem 0 0 0;
}

.modal .modal-content .data .data-location {
  font-family: "Outfit", serif;
  font-size: 1.6rem;
  font-weight: 300;
}

@media screen and (max-width: 500px) {
  .modal .modal-content .data .data-quote {
    font-size: 1.6rem;
  }
  .modal .modal-content .data .data-person {
    font-size: 1.8rem;
  }
  .modal .modal-content .data .data-location {
    font-size: 1.4rem;
  }
}

.modal .modal-content .close {
  position: absolute;
  top: 35px;
  right: 35px;
  transition: 0.3s;
}

.modal .modal-content .close:hover,
.modal .modal-content .close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-nav {
  position: absolute;
  bottom: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  z-index: 10;
  cursor: pointer;
  background-color: #f5f2f0;
  height: 54px;
  width: 54px;
  height: 54px;
  width: 54px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1300px) {
  .modal-nav {
    height: 40px;
    width: 40px;
    bottom: -8rem;
  }
}

.modal-nav.prev {
  left: 30px;
}

.modal-nav.next {
  right: 30px;
}

.modal-nav.prev img,
.modal-nav.next img {
  width: 20px;
}

@media screen and (max-width: 500px) {
  .modal-nav.prev img,
  .modal-nav.next img {
    width: 15px;
  }
}

.bg-f5d099 {
  background-color: #f5d099;
  color: #281029!important;
}
.bg-f5d099 .info{
  color: #281029!important;

}

.bg-cf8d9d {
  background-color: #cf8d9d;
  color: var(--white-color);
}
.bg-b4c8ab {
  background-color: #b4c8ab;
  color: #281029!important;
}
.bg-b4c8ab .info{
  color: #281029!important;

}
.bg-8992a6 {
  background-color: #8992a6;
  color: var(--white-color);
}
.default-bg {
  background-color: white;
}

.modal.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.modal.fade-out {
  animation: fadeOut 0.3s ease forwards;
}
