.mySlides {display: none}

.mySlides > img {
	vertical-align: middle;
	width: 100%;
	max-height:500px;
	object-fit: cover;
}

/* Slideshow container */
.slideshow-container {
	background: rgba(0,0,0,0.4);
	max-width: 990px;
	max-height: 500px;
	/*width: 100%;*/
	position: relative;
	margin: auto;
	z-index: 1;
}

.prev, .next {
	background-color: rgba(0,0,0,0.1);
	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;
	-webkit-user-select: none;
	-webkit-text-stroke-width: 0.5px;
	-webkit-text-stroke-color: #008981;
	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);
}

/* Caption text */
.text_background {
	background-color: rgba(0,0,0,0.4);
	border-radius: 3px;
	padding: 10px 12px;
	position: absolute;
	bottom: 0px;
	width: 100%;
}
.text_header {
	font-family: "Raleway", Verdana, sans-serif;
	color: #f2f2f2;
	font-size: 22px;
	font-weight: bold;
	text-align: left;
}
.text {
	font-family: Heebo, Verdana, sans-serif;
	color: #f2f2f2;
	font-size: 18;
	text-align: left;
}

/* Number text (1/3 etc)*/
.numbertext {
	font-family: Heebo, Verdana, sans-serif;
	margin:0;
	color: #f2f2f2;
	font-size: 18px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}
@media (max-width: 600px) {
	.text_background {
		padding: 3px 6px;
	}
	.numbertext, .text_header {
		font-size: 12.7px;
	}
	.text {
		font-size: 9px;
	}
	.numbertext {
		font-size: 10px;
	}
}

@media (hover: none) and (pointer: coarse) {
	.prev, .next {
		padding: 10px;
	}
  .prev:hover, .next:hover  {
    /* Revert hover styles (optional, if needed) */
    background: #2563eb; 
    box-shadow: none;
  }
 
  .prev:active, .next:active {
    /* Simulate "tap" effect */
    background: #1d4ed8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(0.6); /* Subtle press effect */
  }
}

/*The dots/bullets/indicators*/
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 5px 2px;
  background-color: #008981;
  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}
}