@import url('../css/reset.css');
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #CAECFF;
}
header {
  background: #fff;
}
header .head {

  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 1680px;
  justify-content: space-evenly;


}
header .head .logo {
  width: 100px;
  height: 60px;
  border-radius: 0px 0px 0px 0px;
  opacity: 1;
}
header .head .class-list {
  display: flex;
}
header .head .class-list a {
  padding: 8px 16px;
  box-sizing: border-box;
  margin-right: 8px;
  border-radius: 10px 10px 10px 10px;
  border: 2px solid #CAECFF;
  font-size: 16px;
  font-family: zi-B;
  font-weight: bold;
  color: #CAECFF;
}
header .head .class-list a:hover {
  background-color: #CAECFF;
  color: #fff;
}
header .head .search {
  display: flex;
  border: 1px solid #d2d2d2;
  border-radius: 10px;
}
header .head .search input {
  width: 321px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 10px 0 0 10px;
  border: none;
  text-indent: 2em;
  font-size: 16px;
  font-family: zi-Bk;
  font-weight: 400;
  color: #999999;
}
header .head .search .sou {
  width: 66px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 0 10px 10px 0;
  border-left: 1px solid #d2d2d2;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
}
header .head .search .sou img {
  width: 30px;
  height: 30px;
}
header .m_head {
  width: 100%;
  height: 44px;
  padding: 0 10px;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}
header .m_head .menu,
header .m_head .sou {
  width: 28px;
  height: 28px;
}
header .m_head .logo {
  width: 64px;
  height: 34px;
}
header .m_head .search1 {
  display: flex;
}
header .m_head .search1 input {
  width: 246px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 10px 0 0 10px;
  border: none;
  text-indent: 2em;
  font-size: 16px;
  font-family: zi-Bk;
  font-weight: 400;
  color: #999999;
}
header .m_head .search1 .sou1 {
  width: 66px;
  height: 36px;
  background: #FFFFFF;
  border-radius: 0 10px 10px 0;
  border-left: 1px solid #d2d2d2;
  text-align: center;
  line-height: 32px;
  cursor: pointer;
}
header .m_head .search1 .sou1 img {
  width: 30px;
  height: 30px;
}
header .m_head .menus {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 9;
}
header .m_head .menus .m-child {
  width: 246px;
  height: 100vh;
  overflow-y: scroll;
  background: #FFFFFF;
  padding: 16px 16px;
}
header .m_head .menus .m-child .top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 44px;
}
header .m_head .menus .m-child .top .shou,
header .m_head .menus .m-child .top .fz {
  width: 28px;
  height: 28px;
}
header .m_head .menus .m-child .menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}
header .m_head .menus .m-child .menu-list a:last-child {
  border-bottom: none;
}
header .m_head .menus .m-child .menu-list a .a-left {
  display: flex;
  align-items: center;
}
header .m_head .menus .m-child .menu-list a .a-left .tu {
  margin-right: 8px;
  width: 28px;
  height: 28px;
}
header .m_head .menus .m-child .menu-list a .a-left span {
  font-size: 16px;
  font-family: zi-M;
  font-weight: 500;
  color: #333333;
}
header .m_head .menus .m-child .menu-list a .arrow {
  width: 20px;
  height: 20px;
}
header .m_head .menus .history .title {
  font-size: 16px;
  font-family: zi-M;
  font-weight: 500;
  color: #999999;
  margin-bottom: 6px;
}
header .m_head .menus .history .game-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, 67px);
  grid-template-rows: repeat(auto-fill, 67px);
  grid-gap: 6px;
  margin-bottom: 16px;
}
header .m_head .menus .history .game-box a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
header .m_head .m_search {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: -120%;
  left: 0;
  z-index: 8;
}
header .m_head .m_search .s-child {
  width: 100%;
  background: #fff;
  padding: 16px 20px;
}
header .m_head .m_search .s-child .in_box {
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #586168;
}
header .m_head .m_search .s-child .in_box input {
  width: calc(100% - 50px);
  font-size: 16px;
  font-family: zi-M;
  font-weight: 300;
  color: #586168;
  outline: none;
  border: none;
  text-indent: 1em;
}
header .m_head .m_search .s-child .in_box input:-ms-input-placeholder {
  font-size: 16px;
  font-family: zi-M;
  font-weight: 700;
  color: #586168;
}
header .m_head .m_search .s-child .in_box img {
  width: 32px;
  height: 32px;
}
header .m_head .m_search .s-child .tags {
  display: flex;
  flex-wrap: wrap;
}
header .m_head .m_search .s-child .tags a {
  box-sizing: border-box;
  padding: 10px 24px;
  background: #FFFFFF;
  border-radius: 50px;
  margin: 0 11px 8px 0;
  font-size: 14px;
  font-family: Roboto-Bold, Roboto;
  font-weight: bold;
  color: #586168;
  line-height: 16px;
  border: 1px solid #586168;
}
#content {
  width: 1280px;
  flex: 1;
  margin: 0 auto;
  padding: 16px 20px;
}
.foots {
  background-color: #fff;
}
.foots .top {
  width: 1280px;
  margin: 0 auto;
  height: 103px;
  display: flex;
  justify-content: space-between;
  padding: 22px 40px;
  align-items: center;
}
.foots .top .logos {
  width: 100px;
  height: 60px;
  border-radius: 0px 0px 0px 0px;
  margin-right: 24px;
}
.foots .top .top-r {
  display: flex;
}
.foots .top .top-r .text {
  display: block;
  height: 28px;
  font-size: 14px;
  font-family: zi-M;
  font-weight: 500;
  color: #333;
  margin-right: 56px;
}
.foots .top .top-r .text:hover {
  text-decoration: underline;
}
.foots .top .top-r .text:last-child {
  margin-right: 0;
}
@media (min-width: 860px) and (max-width: 1200px) {
  header .head {
    display: none;
  }
  header .m_head {
    display: flex;
  }
  #content {
    width: 100%;
  }
  #content .class-list {
    display: none;
  }
  .foots {
    padding: 12px 0;
  }
  .foots .top {
    width: 100%;
    flex-direction: column;
    padding: 0;
    height: auto;
  }
  .foots .top .logos {
    margin-right: 0;
    width: 64px;
    height: 34px;
  }
  .foots .top .top-r {
    display: flex;
  }
  .foots .top .top-r .text {
    color: #333;
    margin-right: 16px;
  }
  .foots .top .top-r .text:last-child {
    margin-right: 0;
  }
}
@media (min-width: 750px) and (max-width: 859px) {
  header .head {
    display: none;
  }
  header .m_head {
    display: flex;
  }
  #content {
    width: 100%;
  }
  #content .class-list {
    display: none;
  }
  .foots {
    padding: 12px 0;
  }
  .foots .top {
    width: 100%;
    flex-direction: column;
    padding: 0;
    height: auto;
  }
  .foots .top .logos {
    margin-right: 0;
    width: 64px;
    height: 34px;
  }
  .foots .top .top-r {
    display: flex;
  }
  .foots .top .top-r .text {
    color: #333;
    margin-right: 16px;
  }
  .foots .top .top-r .text:last-child {
    margin-right: 0;
  }
}
@media (min-width: 560px) and (max-width: 749px) {
  header .head {
    display: none;
  }
  header .m_head {
    display: flex;
  }
  #content {
    width: 100%;
  }
  #content .class-list {
    display: none;
  }
  .foots {
    padding: 12px 0;
  }
  .foots .top {
    width: 100%;
    flex-direction: column;
    padding: 0;
    height: auto;
  }
  .foots .top .logos {
    margin-right: 0;
    width: 64px;
    height: 34px;
  }
  .foots .top .top-r {
    display: flex;
  }
  .foots .top .top-r .text {
    color: #333;
    margin-right: 16px;
  }
  .foots .top .top-r .text:last-child {
    margin-right: 0;
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  header .head {
    display: none;
  }
  header .m_head {
    display: flex;
  }
  #content {
    width: 100%;
  }
  #content .class-list {
    display: none;
  }
  .foots {
    padding: 12px 0;
  }
  .foots .top {
    width: 100%;
    flex-direction: column;
    padding: 0;
    height: auto;
  }
  .foots .top .logos {
    margin-right: 0;
    width: 64px;
    height: 34px;
  }
  .foots .top .top-r {
    display: flex;
  }
  .foots .top .top-r .text {
    color: #333;
    margin-right: 16px;
  }
  .foots .top .top-r .text:last-child {
    margin-right: 0;
  }
}
