/* 初始样式 */
body {
	margin: 0;
	padding: 0;
	background-color: #ffdfdf;
}
a{
	text-decoration: none;
}
a:hover{
	color: #303030;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
img{
	max-width: 100%;
}

/* 主容器宽度 */
.container{
	width: 1100px;
	margin: 0 auto;
	background-color: white;
}
.topimg img {
	width: 100%;
	display: block;
}

/* 导航栏样式 */
nav{
	background-color: #f55149;
}
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;
}
.overview h3 a{
	color: #f55149;
	
}
.overview p {
	color: #5a5a5a;
	line-height: 28px;
}

.img_scale{
	padding: 0;
	width: 100%;
	height: 200px;
	overflow: hidden;
}
.img_scale img{
	width: 100%;
	height: 100%;
	transition: transform 0.3s ease-in-out;
}
.img_scale img:hover{
	transform: scale(1.2);
}

.img_box{
	padding: 0;
	width: 100%;
	height: 200px;
	overflow: hidden;
}
.img_box img{
	width: 100%;
	height: 100%;
}
/* 让图片旋转的动画效果 */
.rotate-image {  
  /* 设置动画名称、持续时间、延迟和迭代次数 */  
  animation: rotate 2s ease-in-out 1;  
}  

/* 定义旋转动画 */  
@keyframes rotate {  
  0% {  
    transform: rotate(0deg);  
  }  
  100% {  
    transform: rotate(360deg);  
  }  
}

/* 页脚样式 */
footer {
	padding: 25px 0;
	background-color: #f55149;
	text-align: center;
}
.foot_title {
	color: white;
	margin: 0;
}

/* 作者简介 */
main {
	padding: 25px;
}
.page-title {
	text-align: center;
	color: #f55149;
	margin-top: 5px;
	margin-bottom: 30px;
}
.about-author {
	display: flex;
}
.about-author .left {
	margin-right: 50px;
	flex: 1;
	margin-left: 20px;
}
.about-author .left img{
	width: 100%;
}
.about-author .right {
	flex: 2;
}
.author_info{
	list-style: initial;
	color: #363636;
}
.author_info li {
	margin: 15px 0;
	letter-spacing: 1px;
	font-size: 17px;
}

/* 人物简介 */
.title-img {
	margin-bottom: 20px;
}
.persons {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.person {
	width: 30%;
	text-align: center;
	margin-bottom: 20px;
}
.person h3 {
	color: #f55149;
	margin: 10px;
}
.person p {
	color: #5a5a5a;
	line-height: 23px;
}

/* 影片简介 */
.film {
	display: flex;
	color: #363636;
	line-height: 36px;
}
.film-thumb {
	width: 30%;
	margin-right: 8%;
	margin-left: 3%;
}
.film-thumb img {
	width: 100%;
}
.film_info{
	width: 70%;
}
.film_info ul{
	display: flex;
	flex-wrap: wrap;
}
.film_info ul li{
	width: 50%;
}
.film-desc{
	margin-top: 40px;
}
.film-desc p {
	color: #3b3b3b;
	text-indent: 2em;
	line-height: 28px;
}

/* 精彩片段 */
.reviews {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
.review {
	width: 48%;
	text-align: center;
	margin-bottom: 20px;
}
.review h3 {
	color: #f55149;
	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: #f55149;
	color: white;
	border: none;
	cursor: pointer;
}
.form-row button:hover{
	background-color: #e44944;
}