/* CSS ANIMATION */


/* MAIN BLOCK ANIMATION */

.s-1 {
	animation: background_changing1 11s ease-in-out infinite both 2.2s;
}

.s-2 {
	animation: background_changing2 11s ease-in-out infinite both 2.2s;
}

@keyframes background_changing1 {
	0% {
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

@keyframes background_changing2 {
	51% {
		opacity: 0;
	}
	71% {
		opacity: 1;
	}
	90% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}


/* PRELOAD BLOCK ANIMATION */

@keyframes fadein_blur {
	0% {
		opacity: 0;
	}
	30% {
		filter: grayscale(1) blur(5px);
	}
	100% {
		filter: grayscale(0) blur(0);
		opacity: 1;
	}
}

.banner { 
	animation: fadein_blur 500ms ease 2s backwards;
}

.block_preload {
	margin: 0;
	min-width: 100vw;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: -1;
}

.block_preload svg {
	opacity: 0;
}

.block_preload .preload {
	width: 100%;
	height: 100%;
	background-color: #cecece;
	position: absolute;
	opacity: 0;
}

.block_preload .preload iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.block_preload .preload__mask {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
}

.block_preload .preload__mask:nth-child(2) {
	background-color: #00cd94;
}

.block_preload .preload__mask:nth-child(3) {
	background-color: #024a36;
}