* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  /* 顺序说明：优先微软雅黑 → 其次 Arial → 最后系统默认无衬线字体 */
  font-family: "Microsoft YaHei", Arial, sans-serif !important; 
}
.main {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  font-size: 1vw;
}
a {
  text-decoration: none;
  color: black;
}
.main1 {
  background: url("../img/bj.jpg") no-repeat center center;
  background-size: cover;
}
.main2 {
  display: flex;
  flex-direction: column;
}
.main3 {
  display: flex;
  flex-direction: column;
  background: url("../img/bj.jpg") no-repeat center center;
  background-size: cover;
}
.main_book {
  background: url("../img/book_bj.jpg") no-repeat;
  background-size: auto 100%;
}
.main_paper {
  background: url("../img/paper_bj.jpg") no-repeat;
  background-size: auto 100%;
}
/*首页按钮*/
.home_btn {
  position: absolute;
  width: 90%;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.home_btn a {
  width: 100%;
  display: block;
  text-align: center;
  margin: 1rem auto;
}
.home_btn a img {
  width: 85%;
}
/*顶部*/
.top {
  position: relative;
}
.top .back {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.top .back img {
  width: 2.5rem;
}
.top .backs {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.top .backs img {
  width: 2.2rem;
}
.top .top_name {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: #6c3505;
  width: 100%;
}
.top .top_name p {
  font-size: 1rem;
}
.top .home {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.top .home img {
  width: 2.2rem;
}
.catalog-header .homes img {
  width: 1.5rem;
}
.top .homes img {
  width: 1.8rem;
}
.top_book {
  height: 8%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
}
.top_login {
  height: 8%;
  display: flex;
  align-items: center;
}
.top_book2 {
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  min-height: 8%;
  background: rgba(255, 255, 255, 0.5);
}
.top_book2 .top_name {
  width: 70%;
  margin: auto;
}
.con {
  flex: 1;
  overflow: hidden;
  position: relative;
}
/*顶部栏*/
.nav {
  height: 10%;
}
.nav a {
  flex: 1;
  text-align: center;
  font-size: 1rem;
}
.nav a img {
  display: block;
  width: 2.5rem;
  margin: auto;
}
.nav_book {
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  color: #6c3505;
}
/*加载*/
.load {
  position: absolute;
  z-index: 9;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 1rem;
  justify-content: center;
}
.load img {
  width: 5rem;
}
.sort {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 99999;
  z-index: 8;
  left: 0;
  top: 0;
  background: white;
  overflow: auto;
  display: none;
}
.sort ul {
  font-size: 1rem;
  color: #6c3505;
}
.sort ul li {
  padding: 1rem;
  border-bottom: 1px solid #a7a2a2;
}
