@keyframes slow-zoom {
	from { transform: scale(1.0); }
	to { transform: scale(1.1); }
}
@keyframes slow-zoom-m-left {
	from { transform: scale(1.3) translateX(10%); }
	to { transform: scale(1.5) translateX(10%); }
}
@keyframes slow-zoom-m-right {
	from { transform: scale(1.3) translateX(-10%); }
	to { transform: scale(1.5) translateX(-10%); }
}

@keyframes dot-fill {
	from { width: 0%; }
	to { width: 100%; }
}

#carousel {
	position: relative;
	width: 100%;
	height: calc(100vh - 154px);
	background: #182534;
	overflow: hidden;
	white-space: nowrap;
}

#carousel > #carousel-items {
	position: relative;
	left: 0;
	height: 100%;
	transition: left 3s ease;
}

#carousel .carousel-item {
	display: none;
	position: absolute;
	width: 100%;
	height: 100%;
}
#carousel .carousel-item.last {
	display: block;
	z-index: 1;
}
#carousel .carousel-item.active {
	display: block;
	z-index: 2;
}

#carousel .carousel-item > .carousel-item-bg {
	position: relative;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;	
	pointer-events: none;
}
#carousel .carousel-item.animate > .carousel-item-bg {
	animation-name: slow-zoom;
  	animation-duration: 15s;
}

#carousel .carousel-item > .info-box-cntr {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#carousel .carousel-item > .info-box-cntr > .info-box {
	width: 35%;
	height: 100%;
	background: rgb(255 255 255 / 90%);
	color: #FFF;
	padding: 3rem;
	white-space: normal;
	overflow: auto;
}

#carousel .carousel-item > .info-box-cntr > .info-box > .info-vertical-middle {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#carousel .carousel-item > .info-box-cntr > .info-box h1,
#carousel .carousel-item > .info-box-cntr > .info-box h2 {
	font-family: 'Spartan', sans-serif;
	font-size: 1.8rem;
	line-height: 2.6rem;
	color: #182534;
	margin: 0;
	margin-bottom: 2rem;
	border-bottom: 2px solid #00DFD8;
}

#carousel .carousel-item > .info-box-cntr > .info-box p {
	font-size: 1rem;
	line-height: 1.8rem;
}

#carousel .carousel-item > .info-box-cntr > .info-box p:last-of-type {
	margin-bottom: 2rem;
}

#carousel .carousel-item > .info-box-cntr > .info-box p,
#carousel .carousel-item > .info-box-cntr > .info-box p > * {
	color: #182534 !important;
}

#carousel > .arrow-cntr {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -200px;
	right: 0;
	height: 100%;
	z-index: 3;
	pointer-events: none;
}

#carousel > .arrow-cntr.align-right {
	left: 0;
	right: -100px;
}

#carousel > .arrow-cntr > .arrow {
	width: auto;
	font-size: 4rem;
	color: #FFF;
	padding: 1rem;
	transition: all 0.2s ease;
	pointer-events: all;
}

#carousel > .arrow-cntr > .arrow:hover {
	background: rgb(24 37 52 / 50%);
}

#carousel > .carousel-dots {
	position: absolute;
	bottom: 2rem;
	width: 100%;
	text-align: center;
	z-index: 3;
}

#carousel > .carousel-dots > .dot {
	position: relative;
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #FFF;
	border-radius: 50%;
	margin-right: 1rem;
	transition: all 0.5s ease;
	overflow: hidden;
}
#carousel > .carousel-dots > .dot.active {
	transform: scale(1.2);
	background: #FFFFFF33;
}

#carousel > .carousel-dots > .dot:last-of-type {
	margin-right: 0;
}

#carousel > .carousel-dots > .dot.active > .background {
	background: #FFFFFFCC;
	height: 100%;
	animation-name: dot-fill;
  	animation-duration: 10s;
	animation-timing-function: linear;
}


#spare-time img {
	max-width: 100%;
	border: 10px solid #ECEBE9;
	margin: 2rem 0;
}


#sponsors .sponsor-cntr {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 10rem;
	background: #FFF;
	padding: 1rem 2rem;
	margin-bottom: 2rem;
	line-height: 10rem;
	border-radius: 5px;
	box-shadow: 1px 1px 3px #EEE;
}

#sponsors .sponsor-cntr > img {
	max-width: 100%;
	max-height: 80%;
}
#sponsors .sponsor-cntr > img.mh70 {
	max-height: 70%;
}
#sponsors .sponsor-cntr > img.mh60 {
	max-height: 60%;
}
	

@media only screen and (max-width: 1000px) {
	#carousel {
		height: calc(100vh - 85px);
	}
	
	#carousel .carousel-item > .carousel-item-bg {
		height: 20rem;
		transform: scale(1.3) translateX(-10%);
	}
	#carousel .carousel-item > .carousel-item-bg.m-center-left {
		transform: scale(1.3) translateX(10%);
	}

	#carousel .carousel-item.animate > .carousel-item-bg.m-center-left {
		animation-name: slow-zoom-m-left;
	}
	#carousel .carousel-item.animate > .carousel-item-bg {
		animation-name: slow-zoom-m-right;
	}
	
	#carousel .carousel-item > .info-box-cntr {
		top: unset;
		text-align: center;
	}

	#carousel .carousel-item > .info-box-cntr > .info-box {
		width: 100%;
		height: calc(100vh - 85px - 20rem);
		padding: 0 2rem;
		background: #FFF;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box > .info-vertical-middle {
		position: relative;
		top: unset;
		transform: unset;
		width: 100%;
		height: 100%;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box .heading-cntr {
		position: relative;
		width: 100%;
		height: 8rem;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box .heading-cntr > h1,
	#carousel .carousel-item > .info-box-cntr > .info-box .heading-cntr > h2 {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
		font-size: 1.8rem;
		line-height: 2.4rem;
		padding-bottom: 0.5rem;
		margin-bottom: 1rem;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box .text-cntr {
		position: relative;
		width: 100%;
		height: calc(100vh - 85px - 37rem);
		overflow: auto;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box .text-cntr p {
		font-size: 1rem;
		line-height: 1.6rem;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box .action-cntr {
		position: absolute;
		width: 100%;
		height: 5rem;
		bottom: 4rem;
	}
	
	#carousel .carousel-item > .info-box-cntr > .info-box .action-cntr > a {
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	
	#carousel > .arrow-cntr {
		display: none;
	}
	
	#carousel > .carousel-dots {
		bottom: 0;
		height: 4rem;
		background: #182534;
		line-height: 4.8rem;
	}
}

@media only screen and (max-height: 900px) {
	#carousel .carousel-item > .info-box-cntr > .info-box > .info-vertical-middle {
		position: relative;
		top: unset;
		transform: unset;
	}
}