/* Import Google font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
  font-family: "Poppins", sans-serif;
}

body {
  overflow-x: hidden;
} 
/* Header CSS */
.Structure-1{
    max-width: 100%;
    background: green;
    height: 5rem;
  }
  .container-2{
    max-width: 80%;
    margin-left: 200px;
  }
  
  /* End Header CSS */
body .photos {
    width: 80%;
    margin-left:200px;
    overflow: hidden;
}

#filter-buttons button {
  border-radius: 3px;
  background: #ebeeeb;
  border-color: transparent;
}

#filter-buttons button:hover {
  background: #ddd;
}

#filter-buttons button.active {
  color: #fff;
  background: green;
}
#filterable-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: -10px;
}

#filterable-cards .card {
  width: 15rem;
  border: 2px solid transparent;
  height: 15rem;
  /* background: #02093b; */
}
#filterable-cards .card p {
  color: #02093b;
  font-family: sans-serif;
  font-weight: 600;
}
#filterable-cards .card .gallery-item{
  width: 15rem;
  height: 10rem;
}

#filterable-cards .card.hide {
  display: none;
}
.card h6{
    font-size: 12px;
}
/* Style for the modal */
#gallery-modal {
  display: none;
  overflow: hidden;
}

/* Center the modal content */
.modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0; */
  height: 100vh;
  width: 580px;
  margin-bottom: 10px;
}

/* Style for the modal content */
.modal-content {
  max-width: 100%;
}
.modal-content .modal-header {
  height: 20px;
}
.modal-content .modal-header h6{
  color: #02093b;
}
/* Style for the modal image */
.modal-img {
  width: 100%;
  height: auto;
  max-height: 80vh; /* Set a maximum height to avoid the image being too large */
}
.modal-body button {
  background-color: green;
  width: 8rem;
  border-radius: 5px;
}
/* Ensure the image maintains its aspect ratio */
.modal-body {
  text-align: center;
}

/* Optional: Add a border or box-shadow to the modal content for emphasis */
.modal-content {
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 769px) {
  .Structure-1{
    max-width: 100%;
    background: green;
    height: 7rem;
    margin-top: 18px;
  }
  .container-2{
    max-width: 80%;
    margin-left: 2px;
  }
  .container-2 h2{
    text-align: center;
    margin-left: 35px;
  }
body .photos {
    width: 80%;
    margin-left:38px;
    overflow: hidden;
    margin-bottom: 20px;
}

  #filter-buttons .col-12 {
    margin-left: 10px;
    margin-top: -30px;
  }
  #filterable-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  #filterable-cards .card {
    width: 5rem;
    height: 10rem;
  }
  #filterable-cards .card p {
    color: #02093b;
    font-family: sans-serif;
    font-weight: 300;
    display: none;
  }

  /* Modal Code */
  #gallery-modal {
    margin-top: 50px;
    height: 100vh;
  }
  .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 100vh;
    margin-bottom: 10px;
    margin-top: -150px;
    /* background: green; */
  }
  .modal-dialog .modal-content {
    max-width: 100%;
    margin-top: 10px;
    height: 50vh;
    /* background:#02093b; */
    margin-left: 20px;
  }
  .modal-content .modal-header {
    width: 100%;
  }
  .modal-content .modal-header h6{
    color: #02093b;
    font-size: 18px;
    text-align: center;
  }
  .modal-img {
    width: 100%;
    height: auto;
    max-height: 35vh; /* Set a maximum height to avoid the image being too large */
  }
}