#upcoming-events-container {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
}

.upcoming-event {
	background: #00b5e2;
	margin: 0 10vw;
	padding: 1vh 3vw;
	border-radius: 10px;
	box-shadow: 0 0 10px 5px #046d87;
	width: 50vw;
	color: white;
	text-align: center;
}

.upcoming-event h3 {
	border-bottom: 1px solid white;
}

.upcoming-event a {
	text-decoration: none;
	color: rgb(0, 60, 127);
}

.upcoming-event a:hover {
	text-decoration: underline;
	font-weight: bold;
	color: rgb(0, 60, 127);
}

.upcoming-event ul {
	list-style: none;
}

#flyer-link {
	display: inline-block;
	background: #046d87;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: 600;
	border-radius: 5px;
	text-decoration: none;
	font-size: 1.1rem;
}

#flyer-link:hover {
	background: white;
	color: black;
}

#past-events-container {
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	margin-bottom: 20px;
}

.past-event {
	background: #00b5e2;
	margin: 0 10vw 3vh;
	padding: 1vh 3vw;
	border-radius: 10px;
	box-shadow: 0 0 10px 5px #046d87;
	width: 50vw;
	color: white;
	text-align: center;
}

.past-event h3 {
	border-bottom: 1px solid white;
}

/*Slideshow CSS ----------------------------- */

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  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;
  margin-top: -22px;
  padding: 16px;
  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 {
	left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

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

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

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

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* End Slideshow CSS -------------------------- */

@media screen and (max-width:1024px) {
	.upcoming-event, .past-event {
		width: 90%;
	}

	.header-bottom-inner a {
		display: none;
	}

	#page-heading {
		font-size: 2.5rem;
	}

	.header-bottom::after {
		height: 5rem;
		background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0.6) 3rem, transparent 100%);
	}

	main {
		margin-top: 4rem;
	}

	h2 {
		font-size: 2rem;
	}

	h3 {
		font-size: 1.5rem;
	}
}