/* _____________________________
  |                             |
  |   Copyright (C) 2023, JEP   |
  |_____________________________|

  style.css is part of the slider plugin.
*/

.slider {
	width: 100%;
	min-width: 300px;
	background: #000000;
	overflow: hidden;
	display: block;
	position: relative;
	text-align: left;
}

.slider .wrapper {
	height: 100%;
	display: flex;
	transition: margin 1s;
	-webkit-transition: margin 1s;
}

.slider .slide {
	width: 100%;
	max-height: calc(100vh - 150px);
	background-size: cover;
	background-position: center;
	text-align: center;
	vertical-align: top;
	position: relative;
	overflow: hidden;
}

.slider video {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

.slider a {
	text-decoration: none;
}

.slider .buttons {
	text-align: center;
	position: absolute;
	bottom: 5px;
	width: 100%;
	z-index: 10;
}

.sliderbutton {
	margin: 3px 5px;
	background: #dddddd;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	display: inline-block;
	cursor: pointer;
}

.sliderbutton:hover {
	opacity: .7;
}

.slider .active {
	background: #222222;
}

.slider .slide {
	color: #f8f8f8;
}

.slider .slidecontent {
	margin: 0;
	top: 10%;
	position: relative;
	max-width: 80%;
	display: inline-block;
	z-index: 1;
	color: inherit;
}

.slider .slidecontent:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: -20px;
	left: -20px;
	z-index: -1;
	filter: blur(20px);
	-webkit-filter: blur(20px);
	padding: 20px;
}

.slider h1 {
	margin: 0;
	font-size: 60pt;
	font-weight: 700;
	letter-spacing: 2px;
	cursor: default;
}

.slider h2 {
	margin: 0;
	font-size: 28pt;
	font-weight: 700;
	letter-spacing: 2px;
	cursor: default;
}

@media only screen and (max-width: 1300px) {
	.slider h1 {
		font-size: 50pt;
	}

	.slider h2 {
		font-size: 20pt;
	}
}

@media only screen and (max-width: 940px) {
	.slider h1 {
		font-size: 40pt;
	}

	.slider h2 {
		font-size: 18pt;
	}

	.slider video {
		transform: translate(-50%, -50%) scale(1.2);
	}
}

@media only screen and (max-width: 740px) {
	.slider h1 {
		font-size: 30pt;
	}
}

@media only screen and (max-width: 580px) {
	.slider h1 {
		font-size: 25pt;
	}

	.slider h2 {
		font-size: 18pt;
	}

	.slider video {
		transform: translate(-50%, -50%) scale(1.4);
	}
}

@media only screen and (max-width: 500px) {
	.slider h1 {
		font-size: 20pt;
	}

	.slider h2 {
		font-size: 16pt;
	}

	.slider video {
		transform: translate(-50%, -50%) scale(2.4);
	}
}

.slider.mobile {
	width: 100%;
	min-width: 0;
}

.slider.mobile .slide {
	min-width: 0;
	min-height: 300px;
}

.slider.mobile .slide .slidecontent {
	top: 25%;
}