@charset "utf-8";
html,body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

ul,
li {
  margin: 0;
  padding: 0;
}

body {
  
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  width: 100%;
  background: transparent;
  position: fixed;
  top: 0;
}

ul {
  position: relative;
  display: flex;
}

ul li {
  list-style: none;
  width: 120px;
  line-height: 40px;
  text-align: center;
}

ul li a {
  color: white;
  text-decoration: none;
  scroll-behavior: smooth;
}

.slider {
  width: 100px;
  height: 40px;
  background-color: #5352ed;
  border-radius: 4px;
  position: absolute;
  left: 10px;
  bottom: 0;
  z-index: -1;
  transition: all ease 0.4s;
}

ul li:nth-child(1):hover ~ .slider,
li:nth-child(1).current ~ .slider {
  left: 10px;
}

ul li:nth-child(2):hover ~ .slider,
li:nth-child(2).current ~ .slider  {
  left: 128px;
}

ul li:nth-child(3):hover ~ .slider,
li:nth-child(3).current ~ .slider  {
  left: 248px;
}

ul li:nth-child(4):hover ~ .slider,
li:nth-child(4).current ~ .slider  {
  left: 368px;
}

ul li:nth-child(5):hover ~ .slider,
li:nth-child(5).current ~ .slider  {
  left: 488px;
}

 .container {
        display: flex;
        overflow-x: scroll;
	 scroll-behavior: smooth;
      }

.page {
        width: 100vw;
        height: 100vh;
        flex-shrink: 0;
      }

.page:nth-child(1) {
       background-image: url("img/秒速五厘米.jpg");
	   background-origin: content-box;
       background-clip: content-box;
	   background-size: cover;
      }

.page:nth-child(2) {
       background-image: url("img/言叶之庭.jpeg");
	   background-origin: content-box;
       background-clip: content-box;
	   background-size: cover;
      }

.page:nth-child(3) {
       background-image: url("img/你的名字.jpg");
	   background-origin: content-box;
       background-clip: content-box;
	   background-size: cover;
      }

.page:nth-child(4) {
       background-image: url("img/天气之子.jpg");
       background-clip: content-box;
	   background-size: cover;
      }

.page:nth-child(5) {
       background-image: url("img/铃芽之旅.jpg");
	   background-origin: content-box;
       background-clip: content-box;
	   background-size: cover;
      }


h1 {color: white;
    margin-top: 150px;
	margin-left: 100px;
	font-size: 70px;
}

h2 {color: white;
	width :700px;
   margin-top: 50px;
   margin-left: 50px;
}

	#show-video {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 999 !important;
		background: rgba(0, 0, 0, .25);
		display: none;
	}

	.video-close {
		width: 45px;
		height: 45px;
		color: #211d1e;
		position: absolute;
		right: 118px;
		top: 113px;
		z-index: 999;
		cursor: pointer;
	}

	#show-video video {
        border-radius: 10px;
		outline: none;
		max-width: 85%;
		max-height: 70vh;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		box-shadow: 0 20px 40px rgb(0 0 0 / 50%);
	}

	#show-video2 {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 999 !important;
		background: rgba(0, 0, 0, .25);
		display: none;
	}

	.video-close2 {
		width: 45px;
		height: 45px;
		color: #211d1e;
		position: absolute;
		right: 118px;
		top: 113px;
		z-index: 999;
		cursor: pointer;
	}

	#show-video2 video {
        border-radius: 10px;
		outline: none;
		max-width: 85%;
		max-height: 70vh;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		box-shadow: 0 20px 40px rgb(0 0 0 / 50%);
	}

	#show-video3 {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 999 !important;
		background: rgba(0, 0, 0, .25);
		display: none;
	}

	.video-close3 {
		width: 45px;
		height: 45px;
		color: #211d1e;
		position: absolute;
		right: 118px;
		top: 113px;
		z-index: 999;
		cursor: pointer;
	}

	#show-video3 video {
        border-radius: 10px;
		outline: none;
		max-width: 85%;
		max-height: 70vh;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		box-shadow: 0 20px 40px rgb(0 0 0 / 50%);
	}

	#show-video4 {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 999 !important;
		background: rgba(0, 0, 0, .25);
		display: none;
	}

	.video-close4 {
		width: 45px;
		height: 45px;
		color: #211d1e;
		position: absolute;
		right: 118px;
		top: 113px;
		z-index: 999;
		cursor: pointer;
	}

	#show-video4 video {
        border-radius: 10px;
		outline: none;
		max-width: 85%;
		max-height: 70vh;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		box-shadow: 0 20px 40px rgb(0 0 0 / 50%);
	}

	#show-video5 {
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		z-index: 999 !important;
		background: rgba(0, 0, 0, .25);
		display: none;
	}

	.video-close5 {
		width: 45px;
		height: 45px;
		color: #211d1e;
		position: absolute;
		right: 118px;
		top: 113px;
		z-index: 999;
		cursor: pointer;
	}

	#show-video5 video {
        border-radius: 10px;
		outline: none;
		max-width: 85%;
		max-height: 70vh;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		box-shadow: 0 20px 40px rgb(0 0 0 / 50%);
	}
