body {
  background: #2f2f2f;
  font-family: Helvetica;
}
img {
  display: block;
}
.head-nav {
  position: fixed;
  background: #272626;
  height: 70px;
  width: 100%;
  color: #ffffff;
  left: 0;
  top: 0;
  z-index: 99;
}
.head-nav .left-logo {
  text-align: center;
  height: 70px;
  line-height: 70px;
  width: 256px;
  font-size: 0;
}
.head-logo {
  display: inline-block;
  vertical-align: top;
}
.head-logo img {
  margin-top: 18px;
  width: 34px;
  height: 34px;
}
.head-title {
  margin-left: 10px;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  vertical-align: top;
}
.head-container {
  position: absolute;
  left: 256px;
  top: 0;
  right: 0;
  height: 70px;
  line-height: 70px;
}
.head-container-box {
  width: 962px;
  margin: 0 auto;
}
.head-for {
  font-size: 12px;
  letter-spacing: 5px;
}
.head-recommend {
  font-size: 10px;
  font-weight: bold;
  color: #666666;
}
.head-recommend:hover {
  color: #ffffff;
}
.side-nav {
  position: fixed;
  top: 70px;
  left: 0;
  bottom: 0;
  width: 256px;
  border-right: 1px solid #707070;
  background: #363636;
  z-index: 999;
}
.side-top {
  display: none;
}
.side-nav-box {
  position: absolute;
  top: 60px;
  bottom: 60px;
  width: 100%;
  overflow-y: auto;
}
.side-nav-box::-webkit-scrollbar {
  width: 0 !important;
}
.side-nav-box {
  -ms-overflow-style: none;
}
.side-nav-box {
  overflow: -moz-scrollbars-none;
}
.first-menu {
  position: relative;
  box-sizing: border-box;
  padding-left: 42px;
  width: 210px;
  margin: 0 auto;
  font-size: 18px;
  height: 45px;
  line-height: 45px;
  color: #afaeae;
  transition: transform 0.3s ease-in-out;
}
.first-menu:before {
  position: absolute;
  content: "";
  bottom: 0px;
  left: 0;
  height: 3px;
  width: 0;
  background: #1890ff;
  transition: width 0.3s ease-in-out;
}
.first-menu div {
  display: inline-block;
  vertical-align: top;
}
.menu-icon {
  margin-top: 7.5px;
  width: 30px;
  height: 30px;
  overflow: hidden;
}
.menu-icon img {
  width: 30px;
  height: 30px;
}
.second-menu {
  box-sizing: border-box;
  width: 210px;
  padding-left: 80px;
  margin: 0 auto;
  color: #afaeae;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  transition: transform 0.3s ease-in-out;
}
.second-menu a {
  color: #afaeae;
}
.first-menu:hover,
.second-menu:hover a {
  color: #ffffff;
}
.first-menu:hover,
.second-menu:hover {
  transform: translateX(10px);
  /*background-color: #525151;*/
}
.active-menu {
  position: relative;
  color: #ffffff;
}
.active-menu:before {
  position: absolute;
  content: "";
  bottom: 0px;
  left: 0;
  height: 3px;
  width: 100%;
  background: #1890ff;
}
.second-menu-active a,
.second-menu-active:hover a {
  color: #1890ff;
}
.menu-type-title {
  margin-top: 20px;
  width: 100px;
  height: 30px;
  line-height: 30px;
  background: #525151;
  color: #afaeae;
  text-align: center;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.11);
}
.menu-type-title:hover {
  color: #ffffff;
}
.panel-body {
  padding: 20px 0;
  width: 962px;
}
.panel-body li {
  width: 230px;
  height: 92px;
  border-radius: 8px;
  background: #525151;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.11);
  transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 1200px) {
  .container {
    margin-left: 258px;
    padding-top: 70px;
    min-width: 962px;
  }
  .container-box {
    width: 962px;
    padding: 20px 0;
    margin: 0 auto;
  }
  .panel-body li:nth-child(4n + 2) {
    margin: 0 14px;
  }
  .panel-body li:nth-child(4n + 3) {
    margin-right: 14px;
  }
  .panel-body li:nth-child(n + 5) {
    margin-top: 14px;
  }
}
.panel-item {
  box-sizing: border-box;
  width: 230px;
  height: 92px;
  padding: 22px 0 0 74px;
  overflow: hidden;
  position: relative;
}
.panel-body li:hover {
  animation: doudou 0.4s ease-in-out 2;
  /*transform: translateY(-5px);*/
}
@keyframes doudou {
  0% {
    /*transform: translateX(0px);*/
    transform: rotate3d(0, 0, 0, 0);
  }
  25% {
    /*transform: translateX(-3px);*/
    transform: rotate3d(1, 0, 1, 5deg);
  }
  50% {
    /*transform: translateX(0px);*/
    transform: rotate3d(0, 0, 0, 0);
  }
  75% {
    /*transform: translateX(3px);*/
    transform: rotate3d(-1, 0, -1, 5deg);
  }
  100% {
    /*transform: translateX(0px);*/
    transform: rotate3d(0, 0, 0, 0);
  }
}
.panel-item-img {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 50%;
}
.panel-item-img img {
  width: 48px;
  height: 48px;
}
.panel-item-title {
  line-height: 22px;
  font-size: 16px;
  width: 145px;
  color: #ffffff;
  font-family: Helvetica;
}
.panel-item-intro {
  margin-top: 10px;
  line-height: 14px;
  font-size: 10px;
  width: 145px;
  color: #afaeae;
}
.display-none {
  display: none;
}
@media screen and (min-width: 980px) and (max-width: 1200px) {
  .head-container-box {
    width: 722px;
  }
  .container {
    margin-left: 258px;
    padding-top: 70px;
    min-width: 722px;
  }
  .container-box {
    width: 722px;
    padding: 20px 0;
    margin: 0 auto;
  }
  .panel-body {
    padding: 20px 0;
    width: 722px;
  }
  .panel-body li:nth-child(3n + 2) {
    margin: 0 14px;
  }
  .panel-body li:nth-child(n + 4) {
    margin-top: 14px;
  }
}
@media screen and (min-width: 501px) and (max-width: 979px) {
  .container {
    margin-left: 258px;
    padding-top: 70px;
    min-width: 722px;
  }
  .container-box {
    width: 722px;
    padding: 20px 0;
    margin: 0 auto;
  }
  .panel-body li {
    margin-bottom: 14px;
    margin-left: 0;
    margin-right: 0;
  }
  .panel-body li.fl {
    float: none;
  }
  .panel-body li:last-child {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 500px) {
  body {
    background-color: #161616;
  }
  .head-nav {
    position: fixed;
    background-color: #161616;
    height: 1.1rem;
    width: 100%;
    color: #ffffff;
    left: 0;
    top: 0;
    z-index: 99;
  }
  .head-nav .left-logo {
    text-align: center;
    height: 1.1rem;
    line-height: 1.1rem;
    width: 7.5rem;
  }
  .head-logo img {
    margin-top: 0.33rem;
    width: 0.44rem;
    height: 0.44rem;
  }
  .head-title {
    margin-left: 0.2rem;
    font-size: 0.36rem;
    font-weight: normal;
    color: #ffffff;
  }
  .head-container {
    display: none;
  }
  .container {
    padding-top: 1.1rem;
    margin-left: 0;
    width: 7.5rem;
  }
  .container-box {
    padding: 0.2rem 0.3rem;
    width: 6.9rem;
  }
  .menu-type-title {
    margin: 0.3rem 0;
    height: 0.48rem;
    width: 1.6rem;
    text-align: center;
    line-height: 0.48rem;
    font-size: 0.28rem;
    border-radius: 0.02rem;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(47, 47, 47, 0.6);
  }
  .panel-body {
    width: 6.9rem;
    padding: 0.2rem 0;
  }
  .fl {
    float: none;
  }
  .panel-body li {
    width: 6.9rem;
    height: 1.52rem;
    border-radius: 0.08rem;
    background: #2f2f2f;
    box-shadow: 0.02rem 0.02rem 0.05rem rgba(0, 0, 0, 0.11);
    transition: all 0.3s ease-in-out;
    margin-bottom: 0.2rem;
  }
  .panel-body li:last-child {
    margin-bottom: 0;
  }
  .panel-body li:nth-child(3n + 2) {
    margin: 0;
    margin-bottom: 0.2rem;
  }
  .panel-item {
    box-sizing: border-box;
    width: 6.9rem;
    height: 1.52rem;
    padding: 0.36rem 0 0.36rem 1.52rem;
  }

  .panel-item-img {
    position: absolute;
    left: 0.36rem;
    top: 0.36rem;
    width: 0.8rem;
    height: 0.8rem;
    overflow: hidden;
    border-radius: 50%;
  }
  .panel-item-img img {
    width: 0.8rem;
    height: 0.8rem;
  }
  .panel-item-title {
    height: 0.32rem;
    line-height: 0.32rem;
    font-family: PingFang-SC-Medium;
    font-size: 0.32rem;
    width: 5.38rem;
    color: #ffffff;
  }
  .panel-item-intro {
    margin-top: 0.15rem;
    width: 5.38rem;
    height: 0.37rem;
    line-height: 0.37rem;
    font-family: PingFang-SC-Medium;
    font-size: 0.26rem;
    color: rgba(255, 255, 255, 0.6);
  }
  .panel-body li:hover {
    animation: none;
  }
  .side-nav {
    position: fixed;
    top: 0;
    width: 7.5rem;
    transition: transform 0.5s cubic-bezier(0.3, 0, 0, 1);
    transform: translateX(-7.5rem);
    border-right: 0;
    z-index: 100;
    background-color: transparent;
  }
  .side-nav-show {
    transform: translateX(0);
  }
  .side-top {
    display: block;
    height: 1.8rem;
    width: 4.28rem;
    background-color: #161616;
  }
  .side-top-box {
    padding-top: 0.5rem;
    height: 0.48rem;
    font-family: PingFangSC-Semibold;
    color: #ffffff;
    line-height: 0.5rem;
    text-align: center;
    font-size: 0;
  }
  .side-logo {
    display: inline-block;
    vertical-align: top;
  }
  .side-logo img {
    width: 0.44rem;
    height: 0.44rem;
  }
  .side-title {
    display: inline-block;
    font-size: 0.34rem;
    margin-left: 0.2rem;
  }
  .side-for {
    margin-top: 0.2rem;
    text-align: center;
    height: 0.29rem;
    line-height: 0.29rem;
    font-family: PingFang-SC-Medium;
    font-size: 0.2rem;
    letter-spacing: 0.02rem;
    color: #afaeae;
  }
  .side-nav-box {
    top: 1.8rem;
    width: 4.28rem;
    background-color: #363636;
    padding-top: 0.5rem;
    bottom: 0;
  }
  .first-menu {
    height: 0.8rem;
    line-height: 0.8rem;
    font-family: PingFang-SC-Medium;
    font-weight: 700;
    font-size: 0.32rem;
    width: 2.7rem;
    padding-left: 0.13rem;
  }
  .first-menu:before {
    height: 0.05rem;
  }
  .menu-icon {
    margin-top: 0.2rem;
    width: 0.4rem;
    height: 0.4rem;
  }
  .menu-icon img {
    width: 0.4rem;
    height: 0.4rem;
  }
  .second-menu {
    height: 0.8rem;
    line-height: 0.8rem;
    font-family: PingFang-SC-Medium;
    font-size: 0.28rem;
    width: 2.7rem;
    padding-left: 0.8rem;
  }
  .side-menu-icon {
    position: fixed;
    width: 0.34rem;
    height: 0.34rem;
    padding: 0.2rem 0.2rem 0.2rem 0;
    left: 0.3rem;
    top: 0.3rem;
    z-index: 999;
    /*background-color: red;*/
  }
  .side-menu-icon span {
    display: block;
    width: 0.34rem;
    height: 0.04rem;
    background-color: #ffffff;
    border-radius: 0.02rem;
    transform-origin: 0.34rem;
    -webkit-transition:
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      opacity 0.55s ease,
      -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition:
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      opacity 0.55s ease,
      -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    transition:
      transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      opacity 0.55s ease;
    transition:
      transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      opacity 0.55s ease,
      -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }
  .side-menu-icon span:nth-child(2) {
    margin: 0.08rem 0;
  }
  .side-close-icon span:nth-child(2) {
    opacity: 0;
  }
  .side-close-icon span:first-child {
    transform: rotate(-45deg);
  }
  .side-close-icon span:last-child {
    transform: rotate(45deg);
  }
}
