* {
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: "iconfont";
  src: url("http://www.ylcp.shop/font/iconfont.woff2?t=1638448952379") format("woff2"),
    url("../font/iconfont.woff@t=1638448952379") format("woff"),
    url("../font/iconfont.ttf@t=1638448952379") format("truetype");
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  padding: 0 15%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
}
header div {
  cursor: pointer;
}
header .left {
  display: flex;
  font-size: 12px;
}
header .left div {
  margin: 0 10px;
  color: gray;
}
header .right {
  display: flex;
}
header .right div {
  margin: 0 10px;
  color: gray;
  font-size: 12px;
}

.search {
  height: 84px;
  display: flex;
  padding: 0 15%;
  justify-content: space-between;
  align-items: center;
}
.search .logo {
  width: 218px;
  height: 55px;
}
.search .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search .input {
  display: flex;
}
.search .input .button {
  background-color: #bf2c24;
  height: 42px;
  line-height: 40px;
  text-align: center;
  width: 40px;
  outline: none;
  color: #fff;
}
.search .input input {
  height: 38px;
  padding: 0 11px;
  width: 326px;
}
.search .bookstore {
  cursor: pointer;
  border: 1px solid #e6e6e6;
  height: 38px;
  line-height: 38px;
  font-size: 12px;
  text-align: center;
  width: 118px;
  transition: all 0.4s;
}
.search .bookstore:hover {
  background-color: #bf2c24;
  transition: all 0.4s;
}
.search .bookstore:hover span {
  color: #fff;
}
.search .bookstore span {
  margin: 0 5px;
}

footer {
  background: #fafafa;
  padding: 20px 15%;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .title {
  margin-bottom: 20px;
}
footer .tag span {
  cursor: pointer;
  margin: 0 10px;
  transition: all 0.4s;
}
footer .tag span:hover {
  color: hotpink;
  transition: all 0.4s;
}
footer .about {
  color: #666;
  margin: 20px 0;
}
footer .about span {
  cursor: pointer;
  margin: 0 10px;
  transition: all 0.4s;
}
footer .about span:hover {
  color: hotpink;
  transition: all 0.4s;
}
footer .desc {
  margin-top: 10px;
  text-align: center;
  color: #666;
}

footer .desc p {
  line-height: 25px;
}

.nav {
  padding: 0 15%;
  height: 40px;
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: space-between;
  background-color: #3e3d43;
}
.nav .left {
  background-color: #666;
  padding: 8px 5px;
}
.nav span {
  margin: 0 5px;
  cursor: pointer;
}
.nav .middle span {
  padding: 8px 10px;
}
.nav .middle .active {
  background-color: #ed4259;
}
