/* CSS written by: James Sheppard (2025) */
/* Style rules for index, mainly for the slideshow */
#maskSlideshow {
	
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	
}

#maskSlideshow img {

	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	object-fit: cover;
	animation: slideshow 15s infinite;
	animation-timing-function: ease-in-out;

}

#maskSlideshow img:first-child {

	opacity: 1;
	transform: translateX(0);
	animation: none;
}

#maskSlideshow img:nth-child(1) {

	animation-delay: 0s;
}

#maskSlideshow img:nth-child(2){
	animation-delay: 5s;
}

#maskSlideshow img:nth-child(3){
	animation-delay: 10s;
}


@keyframes slideshow {
	0% {
		display: block;
		opacity: 0;
		left: 100%;
	}

	10%, 30% {
		display: block;
		opacity: 1;
		left: 0;
	}

	40%, 100% {
		display: none;
		opacity: 0;
		left: -100%;
	}
}



/* Style rule for hero image */
main #heroImage {
	margin-left: -3rem;
	margin-right: -3rem;
	max-width: 80.5rem;
}