html {
  overflow: auto;
  background: #f0f7e0;
}

body {
  min-width: 1028px;
  color: #ceaeae;
  margin: auto;
}

body,
li,
ul,
p {
  margin: 0;
  padding: 0;
}

a {
  color: #ffffff;
  text-decoration: none;
}

li {
  list-style-type: none;
}

img {
  vertical-align: top;
  width: 100%;
}

/* 中心 */
.w {
  width: 1028px;
  margin: auto;
}

/* 导航 */
.head {
  padding-top: 1px;
  position: relative;
}

.nav {
  font-size: 20px;
  display: flex;
  align-items: center;
}

.nav li {
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  border: 2px;
}

.banner {
  min-width: 1028px;
}

.banner + div {
  border-radius: 100px;
  background: rgba(84, 190, 68, 0.8);
  color: #ffffff;
  height: 74px;
  display: flex;
  align-items: center;
  width: 1028px;
  display: flex;
  justify-content: space-between;
  padding: 0px 54px 0px 100px;
  box-sizing: border-box;
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.banner + div li:hover {
  color: #e2f311;
  cursor: pointer;
}

/* logo */
.logo img {
  width: 170px;
  height: 52px;
}

.nav li:after,
.nav li:before {
  content: '';
  background: url('../images/hover.png') no-repeat center;
  height: 74px;
  width: 1px;
  background-size: 100% 100%;
  display: inline-block;
  opacity: 0;
}

.nav li {
  padding: 0;
  display: flex;
  align-items: center;
  border: 0;
}

.nav li::after {
  margin-left: 28px;
}

.nav li::before {
  margin-right: 28px;
}

/* 底部 */
.foot {
  height: 44px;
  background: red;
  font-size: 18rpx;
  color: #243a00;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  background: url('../images/foot.png') no-repeat center;
  background-size: 100% 100%;
}

.nav a.active {
  color: #e1f212;
}
