@media (max-width: 75em) {
  .mini-gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* adjust gap between grid items as needed */
  }

  .mini-gallery-heading {
    text-align: center;
    padding: 0;
  }
  .main-gallery-heading {
    text-align: center;
  }

  .main-gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* adjust gap between grid items as needed */
  }

  .carousel {
    height: 50rem;
  }

  .profile-container {
    width: 80%;
  }
}

@media (max-width: 56em) {
  .mini-gallery-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem; /* adjust gap between grid items as needed */
  }

  .main-gallery-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem; /* adjust gap between grid items as needed */
  }

  .AW-Logo {
    max-width: 24rem;
  }

  .section1 {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .artist-photo {
    width: 100%;
    max-width: none;
    border-right: none;
    padding-right: 0;
    margin-bottom: 0;
  }

  .artist-biography {
    width: 100%;
    max-width: none;
    padding-left: 0;
    border-top: 2px solid #fcd7a1;
    padding-top: 20px;
  }
  .section2 {
    flex-direction: column-reverse;
    gap: 4rem;
  }

  .final-pic-container {
    border-left: none;
    width: 100%;
  }
  .contact-details {
    border-top: 1px solid #fcd7a1;
  }

  .mini-gallery-heading {
    background-color: #405c68;
    padding-left: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: 3rem;
    text-align: center;
    color: #fcd7a1;
    margin: 0 auto;
  }

  .carousel {
    height: auto; /* Adjust the height based on content */
  }

  #carousel-image {
    height: auto; /* Adjust the height based on content */
  }
}

@media (max-width: 38em) {
  .navbar-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .AW-Logo {
    max-width: 24rem;
  }

  .profile-container {
    padding: 10px;
  }

  .section1,
  .section2 {
    padding: 10px;
  }
}

/* Hide the mobile logo on larger screens */
@media (min-width: 48.001em) {
  .mobile-logo {
    display: none;
  }
}

/* Hide the original logo on smaller screens */
@media (max-width: 48em) {
  .navbar-brand:not(.mobile-logo) {
    display: none;
  }
  .mobile-header {
    display: flex;
    justify-content: left;
    align-items: center;

    width: 100%;
  }
  .mobile-header2 {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
  }
}

/* FOOTER */
@media (max-width: 30.6em) {
  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 120rem;
    margin: auto;
  }
  .social-media {
    margin-top: 1rem;
  }
}
