* {
	margin: 0;
	padding: 0;
	font-family: custom_font;
	box-sizing: border-box;
	/* 统一盒模型 */
	scroll-behavior: smooth;
	overflow: hidden;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	/* 内部弹性布局居中 */
	height: 100vh;
	background: #081316;

}

header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px 100px;
	/* 有什么问题 */
	display: flex;
	/* 子元素盒子模型 */
	justify-content: space-between;
	align-items: center;
	z-index: 15;
}

header .logo {
	color: #49625e;
	font-weight: 700;
	text-decoration: none;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

header ul {
	display: flex;
	justify-content: center;
	align-items: center;
}

header ul li {
	list-style: none;
	margin-left: 0.125rem;
}

header ul li a {
	color: #49625e;
	font-weight: 400;
	font-size: 1.5rem;
	text-decoration: none;
	padding: 6px 15px;
	border-radius: 20px;
}

header ul li a:hover,
header ul li a.active {
	background-color: #49625e;
	color: white;
}

/* 相册整体 */
.album {
	overflow: visible;
	position: relative;
	width: 1200px;
	height: 800px;
	background: #49625e;
	background-image: linear-gradient(90deg, #49625e 48%, #2e4140 50%, #49625e 52%);
	perspective: 1200px;
	/* 3D视角 */


	/* 子元素 */
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;

}

/* 图片容器 */
.images {
	margin: auto;
	margin-top: 25px;
	position: relative;
	width: 45%;
	height: 90%;
}


.images img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
}

#images-left img {
	/* transition: all 0.1s 0.9s;
	*/
}

#images-right img {
	/* transition: all 0.1s;
	*/
}

/* 当前显示的图片 */
.images img.active {
	opacity: 1;
	transform: rotateY(0deg);
	/* 翻到正面 */
}

#buttons {
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;


	/* 子元素 */
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

#buttons button {
	background-color: #fffade;

	width: 60px;
	height: 60px;
	border: none;
	appearance: none;
	cursor: pointer
}

#buttons button:hover {
	filter: drop-shadow(4px 4px 8px #ffeb78);
}

#prev {
	clip-path: polygon(0 0, 0% 100%, 100% 100%);
	filter: drop-shadow(5px 5px 10px #ffeb78);

}

#next {
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	filter: drop-shadow(-5px 5px 10px #ffeb78);

}

@keyframes flipNext {

	0% {
		transform: rotateY(0deg);
	}

	100% {
		transform: rotateY(-180deg);
	}
}

@keyframes fliprev {

	0% {
		transform: rotateY(0deg);
	}

	100% {
		transform: rotateY(180deg);
	}
}

/* 翻页层 */
.flip-page {
	overflow: visible;
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;

	z-index: 10;

	transform-style: preserve-3d;

	display: flex;
	justify-content: center;
	align-items: center;
}

#flip-left {

	right: 0;
	transform-origin: left;
	/* 将变形原点设置为元素的左边缘中心 */
	animation: flipNext 1s forwards;
	/* 子元素 */
}

#flip-right {

	left: 0;
	transform-origin: right;
	/* 将变形原点设置为元素的右边缘中心 */
	animation: fliprev 1s forwards;
	/* 子元素 */
}

.flip-page .front,
.flip-page .back {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-color: #49625e;
	backface-visibility: hidden;

}

.flip-page .front {}

.flip-page .back {
	transform: rotateY(180deg);

}

.flip-page img {
	margin: auto;
	margin-top: 25px;
	position: relative;
	width: 90%;
	height: 90%;
}