* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

img {
	pointer-events: none;
	user-select: none;
}

div {
	display: flex;
	justify-content: center;
	align-items: center;
	user-select: none;
}

body {
	width: 100%;
	overflow: hidden;
	height: 100vh;
}

/*  */
@media (max-width:768px) {
	body {
		padding-top: 100px;
		background-color: #171717;
	}

	.header {
		/* background-color: #fff; */
	}

}

@media (max-width:768px) {
	body {
		padding-top: 60px;
	}
}

/*  */

.loading {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 999999999;
	background-color: #fff;
	width: 100%;
	height: 100%;
	padding: 0 10rem;
	transform: translate(-50%, -50%);
	transition: 1s;
}

.loading .progress-bar {
	height: 5px;
	background-color: #171717;
	transition: .3s;
}

.loading .progress-bar span {
	display: inline-block;
	padding-bottom: 30px;
}

.loading.active {
	visibility: hidden;
	opacity: 0;
}


/*  */

.page-index {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
	background-color: #171717;
	overflow: hidden;

	transform: scale(1.4);
}

.photos {
	position: absolute;
	flex-direction: column;
	overflow: hidden;
	cursor: pointer;

}

.photos_line {
	font-size: 1px;
	height: 240em;
	margin-bottom: 10em;
	flex-shrink: 0;
}

.photos_line_photo {
	position: relative;
	z-index: 1;
	font-size: 1px;
	width: 450em;
	height: 100%;
	margin-right: 10em;
	border-radius: 10em;
	background-color: #333;
	overflow: hidden;
	flex-shrink: 0;
}


.photos_line_photo img {
	width: 100%;
	transition: 0.3s;
}

.photos_line_photo video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%;
	height: 120%;
	z-index: -1;
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, -50%);
	transition: 0.3s;
}


.photos_line_photo .title {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	/* background-color: aqua; */
	font-size: 12em;
	color: #fff;
}

.photos_line_photo::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	transition: 0.3s;
}


@media (max-width:1440px) {

	.photos_line,
	.photos_line_photo {
		font-size: 2px;
	}
}

@media (max-width:860px) {

	.photos_line,
	.photos_line_photo {
		font-size: 2.8px;
	}
}

@media (max-width:768px) {

	body {
		height: auto;
		overflow: auto;
	}

	.page-index {
		padding-top: 15px;
		display: block;
		width: 100%;
		height: auto;
		overflow: auto;
		transform: scale(1);
	}

	.page-index .photos {
		position: static;
	}

	.photos_line {
		display: block;
		height: auto;
		padding: 0 15px;
		margin-bottom: 0;
	}

	.photos_line_photo {
		width: 100%;
		height: auto;
		border-radius: 8px;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.photos_line_photo video {
		width: 100%;
		height: 100%;
	}

	.photos_line_photo::before {
		background-color: rgba(0, 0, 0, 0.4);
	}

	.photos_line_photo::after {
		position: absolute;
		content: '';
		z-index: 2;
		left: 50%;
		top: 50%;
		width: 0;
		height: 0;
		border-top: 11px solid transparent;
		border-bottom: 11px solid transparent;
		border-left: 16px solid rgba(255, 255, 255, 0.6);
		transition: 0.3s;
		transform: translate(-50%, -50%);
	}
}




.photos_line_photo.active::before,
.photos_line_photo.active::after {
	visibility: hidden;
	opacity: 0;
}

.photos_line_photo.active img {
	opacity: 0;
}

.photos_line_photo.active video {
	visibility: visible;
	opacity: 1;
}