:root {
  --image-width: 300px; /* Set the desired image width here */
  --image-height: 200px; /* Set the desired image height here */
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}

.content {
  max-width: 1000px;
  margin: auto;
  padding: 140px 20px;
  text-align: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

h1,
p {
  flex: 1;
}

h1 {
  margin-bottom: 20px;
}

p {
  margin-bottom: 40px;
}

.gallery {
  display: flex;
  /* grid-template-columns: repeat(4, var(--image-width)); */
  flex-direction: column;
  grid-gap: 10px;
  justify-content: center;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

@media screen and (min-width: 1024px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, var(--image-width));
    grid-gap: 10px;
    justify-content: center;
  }

  .header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}
