section {
  max-width: 1000px;
}

.event-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.event-card h2 {
  margin-bottom: 0.5rem;
}

.eventImgCont img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 426px) {
  section {
    padding: 1.5rem 1rem;
  }
}
