@import url('https://fonts.googleapis.com/css?family=Righteous');

.video-cover {
	position: absolute;

	height: 100%;
	width: 100%;

	background-color: rgba(18, 18, 18, 0.4);

	z-index: 8;
}

.video-container {
	width: 100%;
	height: 100%;

	position: relative;
}

video {
	pointer-events: none;
}

/* Video Slider */
.video-slider {
	
}

video::-webkit-media-controls-panel {
	display: none !important;
	opacity: 1 !important;
}

/* Individual Slide: Container */
.video-slide {
	position: relative;

	width: 100%;
	height: 100vh;
}

/* Individual Slide: Video */
.video-slide video {
	width: 100%;
	height: 0;

	object-fit: cover;
	object-position: center;

	opacity: 0;
	transition: height 0s, opacity 0.2s ease-in-out;
}

.video-slide video.video-selected {
	height: 100vh;
	opacity: 1;
}

/* Navigation */
.video-button-wrapper {
	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: space-between;

	position: absolute;

	z-index: 9;

	padding: 75px;

	top: 0;
	left: 0;
}

.video-slider-btn {
	color: #fff;
	cursor: pointer;
	display: block;
	align-items: flex-start;
	text-transform: uppercase;
	position: relative;
	transition: transform 0.3s;

	background: none;
	border: none;

	span {
		display: block;
		width: 5em;
		opacity: 0;
		transition: opacity 0.3s 0s;
		padding: 0 0.5em;

		font-family: Righteous;
		font-size: 30px;

		text-align: center;
	}

	&:hover span {
		opacity: 1;
		transition: opacity 0.3s 0.1s;
	}

	&:before {
		content: '';
		display: block;
		border: solid #fff;
		border-width: 4px 4px 0 0;
		position: absolute;
		top: 8px;
		width: 20px;
		height: 20px;
	}

	&.left-side:before {
		transform: rotate(-135deg);
		right: 0;
		transition: right 0.3s 0.2s;
	}
	&.left-side:hover:before {
		right: 100%;
		transition: right 0.3s;
	}

	&.right-side {
		text-align: right;
	}
	&.right-side:before {
		left: 0;
		transform: rotate(45deg);
		transition: left 0.3s 0.2s;
	}
	&.right-side:hover:before {
		left: 100%;
		transition: left 0.3s;
	}

	&:hover {
		transform: none;
	}
}

.down-arrow {
	width: 60px;
	height: 72px;

	position: absolute;

	left: 50%;
	transform: translateX(-50%);

	bottom: 20px;
}

.down-arrow path {
	stroke: #FFF;
	fill: transparent;
	stroke-width: 2px;

	animation: arrow 2s infinite;
	-webkit-animation: arrow 2s infinite; /* Safari and Chrome */
}

@keyframes arrow {
	0% { opacity: 0 }
	40% { opacity: 1 }
	80% { opacity: 0 }
	100% { opacity: 0 }
}

@-webkit-keyframes arrow { /* Safari and Chrome */
	0% { opacity: 0 }
	40% { opacity: 1 }
	80% { opacity: 0 }
	100% { opacity: 0 }
}

.down-arrow path.a1 {
	animation-delay: -1s;
	-webkit-animation-delay: -1s; /* Safari and Chrome */
}

.down-arrow path.a2 {
	animation-delay: -0.5s;
	-webkit-animation-delay: -0.5s; /* Safari and Chrome */
}

.down-arrow path.a3 {
	animation-delay: 0s;
	-webkit-animation-delay: 0s; /* Safari and Chrome */
}

/* Gallery */

.gallery-container {
	width: 100%;
	height: 100vh;

	position: relative;

	display: flex;
	flex-flow: column nowrap;
}

.slideshow-container {
	width: 100%;
	height: 100vh;

	display: flex;
	flex-flow: column nowrap;

	position: relative;
}

.image-cover {
	height: 100%;
	width: 100%;

	background-color: rgba(18, 18, 18, 0.4);

	position: absolute;
	z-index: 2;
}

.slideshow-container .title {
	position: absolute;
	top: 5%;

	z-index: 300;

	align-self: center;

	opacity: 60%;

	transition: opacity 0.2s ease-in-out;
}

.slideshow-container .title:hover {
	opacity: 90%;
}

.slideshow-container .title a {
	cursor: pointer;
}

.image-slide-wrapper {
	width: 100%;
	height: 100%;
}

.image-slide {
	width: 100%;
	height: 100%;

	position: absolute;
	z-index: 1;
}

.image-slide img {
	height: 100%;
	width: 100%;

	object-fit: cover;
	object-position: center;

	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.2s ease-in-out;
}

.image-slide img.image-selected {
	visibility: visible;
	opacity: 1;
}

.image-nav {
	list-style: none;

	width: 250px;
	height: 50px;

	display: grid;
	grid-template-columns: 50px 50px 50px 50px 50px;
	grid-template-rows: 1fr;

	align-items: center;

	position: absolute;
	z-index: 300;

	bottom: 3%;
	left: 50%;

	transform: translate(-50%, 0);
}

.image-nav li {
	display: inline-block;

	height: 30px;
	width: 30px;

	display: relative;
	z-index: 300;

	border-radius: 50%;

	background-color: #FFF;

	justify-self: center;

	transform: scale(0.67);
	box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.27);
	transition: all 0.2s;

	cursor: pointer;
}

.image-nav li:hover {
  transform: scale(0.85);
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.34);
  transition: all 0.2s;
}

.image-nav li.image-selected {
  transform: scale(1);
  box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.34);
  transition: all 0.2s;
}

/* Navigation */
.image-button-wrapper {
	width: 100%;
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: space-between;

	position: absolute;

	z-index: 9;

	padding: 75px;

	top: 0;
	left: 0;
}

.image-slider-btn {
	color: #fff;
	cursor: pointer;
	display: block;
	align-items: flex-start;
	text-transform: uppercase;
	position: relative;
	transition: transform 0.3s;

	background: none;
	border: none;

	span {
		display: block;
		width: 5em;
		opacity: 0;
		transition: opacity 0.3s 0s;
		padding: 0 0.5em;

		font-family: Righteous;
		font-size: 30px;

		text-align: center;
	}

	&:hover span {
		opacity: 1;
		transition: opacity 0.3s 0.1s;
	}

	&:before {
		content: '';
		display: block;
		border: solid #fff;
		border-width: 4px 4px 0 0;
		position: absolute;
		top: 8px;
		width: 20px;
		height: 20px;
	}

	&.left-side:before {
		transform: rotate(-135deg);
		right: 0;
		transition: right 0.3s 0.2s;
	}
	&.left-side:hover:before {
		right: 100%;
		transition: right 0.3s;
	}

	&.right-side {
		text-align: right;
	}
	&.right-side:before {
		left: 0;
		transform: rotate(45deg);
		transition: left 0.3s 0.2s;
	}
	&.right-side:hover:before {
		left: 100%;
		transition: left 0.3s;
	}

	&:hover {
		transform: none;
	}
}

@media screen and (max-width: 1300px) {
	.slideshow-container .title {
		font-size: 36px !important;
	}

	.main-body .video-container {
		display: none;
	}
}

@media screen and (max-width: 768px) {
	.slideshow-container .title {
		font-size: 30px !important;
	}
}

@media screen and (max-width: 1000px) {
	/* Video Slideshow */
	.video-button-wrapper {
		width: 100%;
		height: 100%;

		display: flex;
		align-items: center;
		justify-content: space-between;

		position: absolute;

		z-index: 9;

		padding: 75px;

		top: 0;
		left: 0;
	}

	.video-slider-btn {
		span {
			width: 3em;
			font-size: 16px;
		}

		&:before {
			border-width: 2px 2px 0 0;

			top: 4px;

			width: 10px;
			height: 10px;
		}
	}

	.down-arrow {
		opacity: 20%;
	}

	/* Gallery */

	.image-nav li {
		height: 20px;
		width: 20px;
	}

	.image-slider-btn {
		span {
			width: 3em;
			font-size: 16px;
		}

		&:before {
			border-width: 2px 2px 0 0;

			top: 4px;

			width: 10px;
			height: 10px;
		}
	}
}