/* 初始样式 */
body {
	margin: 0;
	padding: 0;
	background-color: #cce0ff;
}
a{
	text-decoration: none;
}
a:hover{
	color: #1e1e1e;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
img{
	max-width: 100%;
}

/* 主容器宽度 */
.container{
	width: 1150px;
	margin: 0 auto;
	background-color: white;
}
.topimg img {
	width: 100%;
	display: block;
}

/* 导航栏样式 */
nav{
	background-color: #0371e6;
}
nav ul {
	display: flex;
	justify-content: space-around;
}
nav ul li {
	position: relative;
	flex: 1;
	text-align: center;
}
nav ul li a {
	color: white;
	padding: 15px 30px;
	display: block;
}
nav ul li:not(:last-child) a::after {
  content: '|';
  color: white;
  position: absolute;
  right: 0;
}

/* 大图样式 */
.banner {
	padding: 15px;
}
.banner img{
	width: 100%;
}

/* 首页三个简介样式 */
.overviews {
	display: flex;
	justify-content: space-between;
	padding: 15px;
	padding-top: 12px;
}
.overview{
	width: 31.8%;
}
.overview img{
	width: 100%;
}
.overview h3 {
	margin: 12px 0;
	color: #0371e6;
}
.overview p {
	color: #5a5a5a;
	line-height: 28px;
}

.img_scale{
	overflow: hidden;
}
.img_scale img{
	width: 100%;
	transition: transform 0.3s ease-in-out;
}
.img_scale img:hover{
	transform: scale(1.2);
}
.img_box{
	overflow: hidden;
}
.img_box img{
	width: 100%;
}

/* 页脚样式 */
footer {
	padding: 25px 0;
	background-color: #0371e6;
	text-align: center;
}
.foot_title {
	color: white;
	margin: 0;
}

/* 人物简介 */
main {
	padding: 25px;
}
.page-title {
    color: #0371e6;
    padding-left: 10px;
    line-height: 22px;
    letter-spacing: 2px;
    border-left: 5px solid #0371e6;
    margin: 0;
    margin-bottom: 15px;
}
.characters {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.character {
	width: 30%;
	text-align: center;
	margin-bottom: 20px;
}
.character h3 {
	color: #0371e6;
	margin: 10px;
}
.character p {
	color: #5a5a5a;
	line-height: 23px;
}
.character img {
	border-radius: 10px;
}

/* 影片简介 */
.film {
	display: flex;
	color: #363636;
	line-height: 36px;
}
.film-thumb {
	width: 45%;
	margin-right: 3%;
}
.film-thumb img {
	width: 100%;
	height: 350px;
}
.film_info{
	width: 52%;
}
.film-desc{
	margin-top: 40px;
}
.film-desc p {
	color: #3b3b3b;
	text-indent: 2em;
	line-height: 28px;
}
table {
	border-collapse: collapse;
	width: 100%;
}
th, td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: center;
	line-height: 40px;
}
td:nth-child(2n+1) {
	background-color: #f2f2f2;
	width: 30%;
}

/* 精彩片段 */
.reviews {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.review {
	width: 48%;
	text-align: center;
	margin-bottom: 20px;
}
.review h3 {
	color: #0371e6;
	margin: 5px 0;
}

/* 登录注册 */
.login {
	display: flex;
	width: 80%;
	margin: 50px auto;
	align-items: center;
}
.login .left {
	width: 48%;
	margin-right: 5%;
}
.login .right{
	width: 45%;
}
.form-row {
	margin-bottom: 20px;
	display: flex;
	font-size: 18px;
	align-items: center;
}
.form-row label {
	width: 30%;
}
.form-row input {
	line-height: 34px;
	width: 70%;
}
.form-row button {
	width: 70%;
	margin-left: 30%;
	padding: 8px;
	font-size: 18px;
	background-color: #0371e6;
	color: white;
	border: none;
	cursor: pointer;
}
.form-row button:hover{
	background-color: #e44944;
}

/* 三级页面 */
h1 {
    text-align: center;
    font-weight: normal;
    font-size: 25px;
	color: #0371e6;
}
.info {
    overflow: hidden;
}
.info p {
    line-height: 38px;
    font-size: 18px;
}
.character-img {
    float: left;
    width: 430px;
    margin-right: 30px;
	margin-bottom: 12px;
	overflow: hidden;
}
.character-img img {
    width: 100%;
}

/* 响应式设置 */
@media (max-width: 768px){
	.container{
		width: 100%;
	}
	nav ul {
		display: flex;
		justify-content: initial;
		flex-wrap: wrap;
	}
	nav ul li {
		position: relative;
		flex: inherit;
		text-align: center;
		width: 33.3%;
		border-right: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		box-sizing: border-box;
	}
	nav ul li a {
		padding: 5px;
	}
	nav ul li:not(:last-child) a::after {
		content: '';
	}
	.overview p {
		color: #5a5a5a;
		line-height: 16px;
		font-size: 12px;
	}

	/* 人物介绍 */
	main {
		padding: 25px 8px;
	}
	.character {
		width: 46%;
		text-align: center;
		margin-bottom: 15px;
	}
	.character p {
		color: #5a5a5a;
		line-height: 18px;
		font-size: 12px;
	}

	/* 剧情简介 */
	.film {
		flex-wrap: wrap;
	}
	.film-thumb {
		width: 100%;
		margin: 0;
	}
	.film_info {
		width: 100%;
		font-size: 13px;
	}
	.film_info ul li {
		line-height: 28px;
	}
	.film-desc p {
		line-height: 25px;
		font-size: 15px;
	}
	.review {
		width: 100%;
		text-align: center;
		margin-bottom: 20px;
	}

	/* 登录注册页 */
	.login {
		width: 100%;
		margin: 20px auto;
		flex-wrap: wrap;
	}
	.login .left {
		width: 100%;
		margin: 0;
		margin-bottom: 50px;
	}
	.login .right {
		width: 100%;
	}

}