body {
  font-size: 16px;
}
.mainBox {
  background-image: url(mainBg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: bottom;
  width: 100%;
  height: auto;
}
.bannerBox {
  width: 100%;
  height: 240px;
  background-image: url(banner.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}
.banner,
.titleLum,
.yyList {
  width: 1200px;
  height: auto;
  margin: 0 auto;
}
.banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.banner h1 {
  font-size: 40px;
  color: #fff;
}
.banner div {
  position: relative;
}
.banner div input {
  width: 400px;
  height: 60px;
  position: absolute;
  right: 0;
  margin-top: -30px;
  padding: 20px;
  font-size: 16px;
}
.banner div button {
  position: absolute;
  right: 0;
  width: 95px;
  height: 60px;
  cursor: pointer;
  border: 0px;
  background-color: #4393f5;
  font-size: 18px;
  color: #fff;
  text-align: center;
  margin-top: -30px;
}
.titleLum {
  margin: 20px auto;
}
.titleLum li {
  float: left;
  margin-top: 20px;
  box-shadow: 0px 0px 12px rgb(102, 102, 102, 0.2);
  margin-right: 20px;
}
.titleLum li:nth-child(6n + 6) {
  margin-right: 0;
}
.titleLum li a {
  display: block;
  width: 183px;
  height: 50px;
  font-size: 16px;
  color: #2b2f32;
  line-height: 50px;
  text-align: center;
}
.active {
  background-color: #4393f5;
}
.active a {
  color: #fff !important;
}
.yyList {
  margin-top: 60px;
}
.yyList li {
  width: 285px;
  height: 100px;
  margin-right: 20px;
  margin-bottom: 20px;
  float: left;
  box-shadow: 0 0 10px 0 rgb(153 153 153 / 20%);
  background-color: #ffffff;
  transition: transform 0.5s;
}
.yyList li:hover {
  color: #4393f5;
  transform: translateY(-10%);
  transition: transform 0.5s;
  box-shadow: 0 0 10px 0 rgb(67 147 245 / 30%) !important;
}
.yyList li:hover a {
  color: #4393f5 !important;
}
.yyList li:nth-child(4n + 4) {
  margin-right: 0;
}
.yyList li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 100%;
}
.yyList li a img {
  width: 60px;
  height: 60px;
}
.yyList li a p {
  padding-left: 20px;
  width: 100%;
  text-align: left;
}

@media only screen and (max-width: 768px) {
  .bannerBox {
    height: 3.5rem;
  }
  .banner,
  .titleLum,
  .yyList {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .banner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
    padding: 0.5rem 0.2rem;
  }
  .banner h1 {
    font-size: 0.5rem;
    color: #fff;
  }
  .banner div {
    position: relative;
    flex: 1;
    width: 100%;
  }
  .banner div input {
    width: 70%;
    height: 0.8rem;
    position: absolute;
    right: auto;
    margin-top: 0.5rem;
    padding: 0 0.1rem;
    font-size: 0.28rem;
  }
  .banner div button {
    position: absolute;
    right: auto;
    left: 70%;
    width: 22%;
    height: 0.8rem;
    cursor: pointer;
    border: 0px;
    background-color: #4393f5;
    font-size: 0.32rem;
    color: #fff;
    text-align: center;
    margin-top: 0.5rem;
  }
  .titleLum {
    margin: 20px auto;
    padding: 0 10px;
  }
  .titleLum li {
    float: none;
    margin-top: 0;
    box-shadow: 0px 0px 12px rgb(102, 102, 102, 0.2);
    margin-right: 0;
    overflow: hidden;
  }
  .titleLum ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .titleLum li:nth-child(6n + 6) {
    margin-right: 0;
  }
  .titleLum li a {
    display: block;
    width: 100%;
    height: 50px;
    font-size: 16px;
    color: #2b2f32;
    line-height: 50px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .active {
    background-color: #4393f5;
  }
  .active a {
    color: #fff !important;
  }
  .yyList {
    margin-top: 20px;
  }
  .yyList ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
  .yyList li {
    width: auto;
    height: 100px;
    margin-right: 0;
    margin-bottom: 0;
    float: none;
    box-shadow: 0 0 10px 0 rgb(153 153 153 / 20%);
    background-color: #ffffff;
    transition: transform 0.5s;
  }
  .yyList li:hover {
    color: #4393f5;
    transform: translateY(-10%);
    transition: transform 0.5s;
    box-shadow: 0 0 10px 0 rgb(67 147 245 / 30%) !important;
  }
  .yyList li:hover a {
    color: #4393f5 !important;
  }
  .yyList li:nth-child(4n + 4) {
    margin-right: 0;
  }
  .yyList li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.1rem;
    height: 100%;
  }
  .yyList li a img {
    width: 35%;
    height: 35%;
  }
  .yyList li a p {
    padding-left: 0.2rem;
    width: 100%;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}