/* Main page slider css */
.slider-container {
	position: relative;
	width: 100vw;
	height: 50vh;
	overflow: hidden;
}

.main-page-slider {
	position: absolute;
	height: 100%;
	width: 100%;
	animation: rotateHue infinite 20s linear;
	animation-delay: 0.625s;
}

@keyframes rotateHue {
	0% {
		filter: hue-rotate(0deg);
	}
	20% {
		filter: hue-rotate(0deg);
	}
	25% {
		filter: hue-rotate(10deg);
	}
	45% {
		filter: hue-rotate(10deg);
	}
	50% {
		filter: hue-rotate(20deg);
	}
	70% {
		filter: hue-rotate(20deg);
	}
	75% {
		filter: hue-rotate(10deg);
	}
	95% {
		filter: hue-rotate(10deg);
	}
	100% {
		filter: hue-rotate(0deg);
	}
}

.main-page-slider-shutters {
	position: absolute;
	height: 150vmax;
	width: 150vmax;
	left: calc(50% - 75vmax);
	top: calc(50% - 75vmax);
	pointer-events: none;
	z-index: 2;
	animation: rotateFrame 10s linear infinite;
}

@keyframes rotateFrame {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(180deg);
	}
}

.main-page-slider-shutters:before, .main-page-slider-shutters:after {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 50%;
	transform: translate3d(-50%, 0, 0);
	background: #538135;
	pointer-events: auto;
	-webkit-animation: gradualBgColorChange 5s cubic-bezier(1,0,0,1) infinite;
	animation: gradualBgColorChange 5s cubic-bezier(1,0,0,1) infinite;
}

@keyframes gradualBgColorChange {
	0% {
		background-color: #538135;
	}
	40% {
		background-color: #9c71bd;
	}
	70% {
		background-color: #538135;
	}
	100% {
		background-color: #9c71bd;
	}
}

.main-page-slider-shutters:before {
	bottom: 50%;
	animation: openTop 5s infinite;
}

@keyframes openTop {
	0% {
		transform: translate3d(-50%, 0, 0);
		animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
	}
	40% {
		transform: translate3d(-50%, -65vmax, 0);
		animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
	}
	70% {
		transform: translate3d(-50%, -65vmax, 0);
		animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
		animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
	}
}

.main-page-slider-shutters:after {
	top: 50%;
	animation: openBottom 5s infinite;
}

@keyframes openBottom {
	0% {
		transform: translate3d(-50%, 0, 0);
		animation-timing-function: cubic-bezier(0.8, 0, 0.1, 1);
	}
	40% {
		transform: translate3d(-50%, 65vmax, 0);
		animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
	}
	70% {
		transform: translate3d(-50%, 65vmax, 0);
		animation-timing-functon: cubic-bezier(0.6, 0.04, 0.98, 0.335);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
		animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335);
	}
}

.main-page-slides {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-color: #538135;
}

.slide {
	position: absolute;
	height: 100%;
	width: 100%;
	opacity: 0;
	animation: showHideSlide infinite 20s steps(1);
}

@keyframes showHideSlide {
	0% {
		opacity: 1;
		pointer-events: auto;
		z-index: 1;
	}
	25% {
		opacity: 0;
		pointer-events: none;
		z-index: -1;
	}
	100% {
		opacity: 0;
		pointer-events: none;
		z-index: -1;
	}
}

.slideBg {
	position: relative;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	background-size: cover;
	background-position: center;
	background-blend-mode: hard-light;
	opacity: 1;
	z-index: -1;
	animation: bgInOut 5s infinite;
}

@keyframes bgInOut {
	0% {
		transform: rotate(-45deg) scale(1.1);
		animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
	}
	33% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(0deg);
	}
	66% {
		transform: rotate(0deg);
		animation-timing-function: cubic-bezier(0.895, 0.03, 0.685, 0.22);
	}
	100% {
		transform: rotate(45deg) scale(0.9);
	}
}

.slideContent {
	position: absolute;
	top: 50%;
	left: 35%;
	transform: translate3d(-50%, -50%, 0);
	color: white;
	font-family: 'Abril Fatface', sans-serif;
	line-height: 1;
	letter-spacing: -0.025em;
	z-index: 2;
	opacity: 1;
	text-shadow: 0 0 0.5em rgba(179, 64, 26, 0.25);
	mix-blend-mode: lighten;
}

.slideContent span {
	display: block;
	font-size: 8vmin;
}