.slideshow-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  height: auto;
  max-height: 550px;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide img {
  width: 900px;
  max-width: 100%;
  height: 100%;
    max-height: 550px;
	object-fit: fill;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
}	

.next {
  right: 0;
}

.prev {
  left: 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dot-container {
  text-align: center;
  margin-top: 20px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
	height: 15px;
	width: 15px;
	background-color: #717171;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
}

.menu-container {
	background-color: black;
	display: flex;
    align-items: center;
    justify-content: space-inbetween;
}

.title {
    flex: 2;
	font-family: Lucida Handwriting;
	color: white;
    font-weight: bold;
}

.logo {
    flex: 1;
}

.menu-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  z-index: 10;
}

.bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #FFF;
  margin: 5px 0;
  transition: 1s ease;
}

.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 250px;
  background-color: #222;
  color: white;
  transform: translateX(100%);
  transition: transform 1s ease;
  z-index: 9;
  overflow-y: auto;
}

.slide-menu a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.slide-menu a:hover {
  background-color: #575757;
}

.slide-menu.open {
  right: 0; /* Show the menu */
}

.menu-items a {
  display: block;
  padding: 15px;
  text-decoration: none;
  font-size: 20px;
  color: white;
  opacity: 0; /* Initially hidden for fade-in effect */
  transition: opacity 0.5s ease; /* Transition for fading in */
}

.menu-items a:nth-child(1) {
  transition-delay: 0.1s;
}
.menu-items a:nth-child(2) {
  transition-delay: 0.2s;
}
.menu-items a:nth-child(3) {
  transition-delay: 0.3s;
}
.menu-items a:nth-child(4) {
  transition-delay: 0.4s;
}
.menu-items a:nth-child(5) {
  transition-delay: 0.5s;
}
.menu-items a:nth-child(6) {
  transition-delay: 0.6s;
}
.menu-items a:nth-child(7) {
  transition-delay: 0.7s;
}
.menu-items a:nth-child(8) {
  transition-delay: 0.8s;
}
.menu-items a:nth-child(9) {
  transition-delay: 0.9s;
}
.menu-items a:nth-child(10) {
  transition-delay: 1.0s;
}
.menu-items a:nth-child(11) {
  transition-delay: 1.1s;
}

.menu-items a.visible {
  opacity: 1; /* Fade in effect */
}

.closebtn {
  position: absolute;
  top: 20px;
  left: 15px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

.menu-show {
  transform: translateX(0);
}

/* Optional: Add transition effect for the hamburger icon */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(405deg) translate(5px, 6px);
}

.menu-toggle.open .bar:nth-child(2) {
	transform: translateX(-100%); /* Move bar to the left */
	opacity: 0; /* Fade out */
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-405deg) translate(5px, -6px);
}



.social-media-container {
	padding: 2em;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em; /* Adjust spacing between icons */
}


ul {
  margin: 0;
  padding: 0;
}

/* Footer styling */
footer {
  background-color: #333; /* Background color of the footer */
  padding: 20px;
  text-align: center;
}

.footer-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.footer-nav li {
  display: inline; /* Display list items horizontally */
  margin: 0 10px; /* Space between items */
}

.footer-nav a {
  text-decoration: none; /* Remove underline */
  color: white; /* Text color */
  font-weight: bold; /* Make text bold */
  font-size: 16px; /* Adjust font size if needed */
}

.footer-nav a:hover {
  opacity: 0.8; /* Optional: Add a hover effect */
}

.copyright {
	color: #AAA;
  margin-top: 15px; /* Space between the menu and copyright notice */
  font-size: 14px; /* Adjust font size if needed */
}

.text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better readability */
  padding: 15px;
  border-radius: 5px;
}

h2 {
  margin: 0;
  font-size: 24px;
}

p {
  margin: 10px 0 0;
  font-size: 16px;
  color: #FFF;
  padding: 10px;
}

.content-container {
	background-color: white;
	display: flex;
    align-items: center;
    justify-content: space-inbetween;
}

.content-container div {
  padding: 35px;
}

.content-container div p {
  margin: 10px 0 0;
  font-size: 16px;
  color: #000;
  padding: 10px;
}

.content-container div a {
  text-decoration: none;
}

.div image-align-top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 800px;
}

.signups {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  margin: 0;
  background-color: #f4f4f4;
}

.signups-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping for mobile */
  justify-content: center; /* Center images */
}

.signups-container a {
  flex: 0 1 45%; /* 2 images per row on larger screens */
  margin: 1%; /* Space between images */
}

.signups-container img {
  width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
}

@media screen and (max-width: 680px) {
  .signups-container a {
    flex: 0 1 100%; /* 1 image per row on mobile */
  }
}

.signups-image-box {
  position: relative;
  margin: 0 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.signups-image-overlay {
  position: relative;
}

.signups-image-overlay img {
  display: block;
  width: 600px; /* Adjust width as needed */
  height: auto;
}

.signups-overlay-text {
  position: absolute;
  bottom: 10px;
  left: 35%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 16px;
}

.signup-title {
  padding-left: 35px;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.form-group {
  display: flex;
  margin-bottom: 15px;
  align-items: center;
}

.center-text {
  text-align: center;
}

.error {
  color: red; /* Set text color to red */
}

.success {
  color: green; /* Set text color to green */
}

.form-group label {
  width: 150px; /* Adjust width as needed */
  font-weight: bold;
  margin-right: 10px;
}

.form-group input, .form-group select {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group input[type="submit"] {
  width: auto;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.form-group input[type="submit"]:hover {
  background-color: #45a049;
}

.error {
  color: red;
  margin-left: 20px; /* Align error messages with form fields */
}

.form-container-submitted {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.form-container-submitted p {
  margin: 5px 0 0;
  font-size: 16px;
  color: #000;
  padding: 10px;
}

th, td {
  padding: 15px;
}

.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.video-gallery-latest {
  justify-content: center;
}

.video-container-latest {
  width: calc(33.33% - 20px);
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}

.video-container {
  width: calc(33.33% - 20px);
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.video-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.video-container:hover img {
  opacity: 0.8;
}
.video-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
  border-radius: 5px;
}

.video-container h3 {
  padding: 10px;
  font-size: 1.2em;
  margin: 0;
}

#sermon-main-content {
  max-width: 1200px; /* or whatever width you prefer */
  width: 100%;
  padding: 20px; /* Optional padding */
  text-align: center; /* Center text within the content */
}

.wrapper {
  min-height: 100%; /* Set min-height to 100% */
  display: flex;
  flex-direction: column; /* Stack children vertically */
}

.leadership-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; /* Space between items */
  padding: 16px;
}

.leadership-item {
  background: #f9f9f9; /* Light background for each item */
  border: 1px solid #ddd; /* Border for visibility */
  border-radius: 8px; /* Rounded corners */
  text-align: center; /* Center text */
  padding: 10px;
}

.leadership-item p {
  margin: 5px 0 0;
  font-size: 16px;
  color: #000;
  padding: 10px;
}

.leadership-item img, iframe {
  max-width: 100%;
  height: auto; /* Responsive image */
  border-radius: 4px; /* Optional: rounded image corners */
}

/* Responsive styles */
@media (max-width: 600px) {
  .leadership-container {
      grid-template-columns: 1fr; /* Stack items on small screens */
  }
}

