body {
  background-color: var(--color-background);
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav {
  background-color: var(--color-primary);
}

.main__wrapper {
  background-color: var(--color-background);
}

.event-section {
  padding: 4rem 10rem;
}

.event-1 {
  margin-top: 7rem;
}

.event__header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.event__title {
  color: var(--color-primary-switch);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
  display: inline-block;
  position: relative;
}

.event__date {
  font-size: 1.2rem;
  color: var(--color-primary-switch);
  position: absolute;
  right: 0;
  top: 100%;
  transform: translateY(10px);
}

.event__description {
  font-size: 1.8rem;
  color: var(--color-primary-switch);
  margin-top: 2rem;
}

/* Gallery grid styling */
.gallery__container-1 {
  display: grid;
  height: 75vh;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1rem;
  grid-template-areas:
    "a a b c c"
    "a a b c c"
    "d d e e e"
    "d d e e e";
}
.gallery__container-2 {
  display: grid;
  height: 75vh;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1rem;
  grid-template-areas:
    "b a a c c"
    "b a a c c"
    "d d e e e"
    "d d e e e";
}
.gallery__container-3 {
  display: grid;
  height: 75vh;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 1rem;
  grid-template-areas:
    "a a e e e"
    "a a e e e"
    "b c d d d"
    "b c d d d";
}
.gallery__container-4 {
  display: grid;
  height: 50vh;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 1rem;
  grid-template-areas:
    "a c b b"
    "a c b b";
}

.gallery__item--1 {
  grid-area: a;
}

.gallery__item--2 {
  grid-area: b;
}

.gallery__item--3 {
  grid-area: c;
}

.gallery__item--4 {
  grid-area: d;
}

.gallery__item--5 {
  grid-area: e;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

@media only screen and (max-width: 75em) {
  .event-section {
    padding: 3rem 7rem;
  }
  .event__title {
    font-size: 3rem;
  }
  .event__description {
    font-size: 1.6rem;
  }
  .event__date {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 56em) {
  .event-section {
    padding: 2rem 5rem;
  }
  .event__title {
    font-size: 2.8rem;
  }
  .event__description {
    font-size: 1.5rem;
  }
  .event__date {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 46.875em) {
  .gallery__container-1,
  .gallery__container-2,
  .gallery__container-3,
  .gallery__container-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "a b"
      "c d"
      "e e";
  }
}

@media only screen and (max-width: 37.5em) {
  .event-section {
    padding: 2rem;
  }
  .event__title {
    font-size: 2.2rem;
  }
  .event__description {
    font-size: 1.4rem;
  }
  .event__date {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 25em) {
  .event-section {
    padding: 1rem;
  }
  .event__title {
    font-size: 1.8rem;
  }
  .event__description {
    font-size: 1.2rem;
  }
  .event__date {
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 37.5em) {
  .event-section {
    padding: 2rem;
  }
  .event__title {
    font-size: 2.2rem;
  }
  .event__description {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 25em) {
  .event-section {
    padding: 1rem;
  }
  .event__title {
    font-size: 1.8rem;
  }
  .event__description {
    font-size: 1.2rem;
  }
}
