.gallery {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gallerytitle {
    margin: 1px;
    padding: 10px;
    font-size: 50px;
    letter-spacing: 2px;
    font-weight: 600;
    background-color: white;
    display: flex;
    justify-content: center;
    
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.25rem;
  padding: 0.25rem;
  will-change: transform;
  max-width: 2000px;
}

.card {
  max-height: 400px;
  display: flex;
  flex-direction: column;
  & .card-image-wrapper {
    height: 85%;
    will-change: transform;
    width: 400p;

    & img {
      width: 100%;
      height: 100%;
      max-width: 500px;
      object-fit: cover;
      overflow: hidden;
    }
  }

  & .gcontent {
    & .gname {
      font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
      padding: 5px;
    }

    & .gparagraph {
      padding: 8px;
      font-family: 'Courier New', Courier, monospace;
     }
  }
}



@media (width < 800px) {
  .gallery-track {
    grid-template-columns: repeat(2,1fr);
  }

  .gallerytitle {
    font-size: 30px;
  }
}

@media (width < 550px) {
  .gallery-track {
    grid-template-columns: repeat(1,1fr);
  }

  .gallerytitle {
    font-size: 20px;
  }
}