.event-images {
  display: flex;
  justify-content: center; /* Centers children horizontally */
  align-items: center; /* Centers children vertically (if you have varying image heights) */
  flex-wrap: wrap; /* Allows images to wrap onto the next line */
  gap: 10px; /* Optional: Adds some space between the images */
}

.event-images img {
  max-width: 25%; /* Ensures images are responsive and do not overflow their container */
  height: auto; /* Maintains aspect ratio */
}

.event-details h2 {
  margin-bottom: 10px; /* Adjusts the space between the title and the date */
  text-align: center; /* Centers the title if desired */
}

.event-details .event-date {
  margin-top: 0;
  margin-bottom: 20px; /* Adjusts the space between the date and the description */
  text-align: center; /* Centers the date if desired */
  font-size: 1.5em; /* Adjusts the size of the date text if needed */
}

.event-description {
  margin-bottom: 125px; /* Adjust this value to achieve the desired spacing */
}

.event-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding: 0 20px;
  background-color: #e9e9e9;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 30px;
}

.event-slideshow {
  flex-basis: calc(40% - 40px);
  margin: 20px 20px 20px 0;
}

.event-slideshow img {
  width: 100%;
  height: auto;
}

.event-details {
  flex: 1;
  padding-left: 10px;
  padding-right: 10px;
}

.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.1s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

#signin-link {
  text-decoration: none; /* Optional: This will remove the underline from the link */
  color: rgb(
    0,
    0,
    0
  ); /* Change the color of the text to ensure it is visible against your background image */
}

.signin-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: blue;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.join-button {
  margin-top: 20px;
  display: inline-block;
  padding: 18px 40px;
  background-color: #002fff;
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.join-button:hover {
  transform: scale(1.05);
}

.join-button {
  margin-top: 20px;
  display: inline-block;
  padding: 18px 40px; /* bigger padding = bigger button */
  background-color: #002fff; /* bright standout color (orange/red) */
  color: white;
  font-size: 22px; /* larger text */
  font-weight: bold; /* makes it pop */
  text-decoration: none;
  border-radius: 12px; /* rounder edges */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* shadow to "lift" it */
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.join-button:hover {
  /*background-color: #ffffff;      /* darker hover color */
  transform: scale(1.05); /* slight zoom effect */
}

@media only screen and (max-width: 1030px) {
  .event-content {
    flex-direction: column;
  }
  .event-details {
    order: 1; /* This will ensure that the text appears after the image on smaller screens */
  }
  .event-slideshow,
  .event-details {
    margin-bottom: 20px; /* Adds space between the units on smaller screens */
  }
}
