.gallery-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: white;
}

.gallery-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-img-container {
  position: relative;
  width: 100%;
  z-index: 0;
}
.gallery-img-container::after {
  content: "";
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('/TempPictures/DogOfWeekBGI_color.svg');
  opacity: 0.40;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dog-of-week {
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
  padding: 0 1rem;
}
  
.gallery-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.tof-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
  color: #2db7e3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}
  
.dog-of-week-img {
  width: 100%;
  max-width: 368px;
  border-radius: 35px;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.1), 5px 10px 15px rgba(0, 0, 0, 0.1), 5px 10px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}
  
.dog-name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}
  
.dog-description {
  color: black;
  margin-top: 0.25rem;
  font-size: 1.3rem;
  background-color: #80808090;
  border-radius: 35px;
  padding: 0.5rem 1rem;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3);
}
.tails-of-fame {
  width: 100%;
  background-color: #2e2d2d;
}

.dog-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1366px;
  justify-items: center;
  padding: 0 1rem;
  color: white;
  padding-bottom: 1.5rem;
}
  
.dog-card {
  border-radius: 35px;
  box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.1), 5px 10px 15px rgba(0, 0, 0, 0.1), 5px 10px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  max-width: 375px;
}
  
.dog-img {
  border-radius: 35px;
  max-height: 500px;
}
  
.dog-caption {
  text-align: center;
  font-weight: 600;
  font-size: 1.3rem;
  width: 100%;
}

/* Gallery View */
@media screen and (min-width: 640px) {
  .dog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .dog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile View */
@media screen and (max-width: 480px) {
  .gallery-title, .tof-title {
    font-size: 1.5rem;
  }
  .dog-name {
    font-size: 1.3rem;
  }
  .dog-description {
    font-size: 1rem;
  }
  .dog-caption h2 {
    font-size: 1rem;
  }
}
