body,
div,
p,
span,
a,
ul,
ol,
li,
img,
nav,
main,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  user-select: none;
}

a {
  color: #f1f1f1;
  text-decoration: none;
}

nav {
  padding: 0 10px;
  line-height: 50px;
  color: white;
  text-align: center;
  background: url("../img/nav2-pc.png") no-repeat center;
  background-color: #221113;
  height: 50px;
}

.top-left i,
.top-right i,
.top-right2 i {
  cursor: pointer;
  font-size: 20px;
}

.top-right2 i {
  font-size: 20px;
}

.top-left {
  float: left;
}

.top-right,
.top-right2 {
  float: right;
}

.top-center {
  font-size: 28px;
  font-weight: bold;
}

.mask {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(100, 100, 100, 0.342);
  z-index: 1;
  display: none;
}

.center-left {
  color: white;
  background: #1a2a4f;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  margin: auto;
  width: 96%;
  text-align: center;
  transition: all 0.3s;
  z-index: 999;
  border-top: 0.5px solid rgba(160, 160, 160, 0.5);
  display: none;
  overflow: hidden;
  border-radius: 20px;
}

.left-center {
  overflow: hidden;
  margin: auto;
}

.left-center ul {
  display: flex;
  flex-wrap: wrap;
}

.left-center ul li {
  width: 140px;
  margin: auto;
  list-style-type: none;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.7);
}

.left-center a {
  display: block;
  color: #fff !important;
  line-height: 40px;
}

.userinfo {
  display: flex;
  justify-content: space-evenly;
  clear: both;
}

.userinfo a {
  line-height: 40px;
  color: white;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.7);
}

.center-right {
  background-color: white;
  padding: 20px 20px 30px;
  position: fixed;
  top: 0;
  right: -100vw;
  z-index: 2;
  transition: all 0.3s;
}

.icon-logo,
.icon-close {
  margin: 10px;
  cursor: pointer;
}

.icon-close i,
.icon-logo i {
  font-size: 40px;
  color: rgb(26, 114, 185);
}

.icon-close i {
  color: rgb(61, 61, 61);
}

.search {
  display: flex;
  align-items: center;
  border: 1px solid #000000;
  background-color: white;
  top: 60px;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
  margin: 20px auto;
  padding: 10px 20px;
  border-radius: 2em;
  transition: all 0.3s;
}

.search i {
  font-size: 30px;
  margin: 0 10px 0 0;
  color: rgb(157, 175, 248);
}

.search form {
  flex-grow: 1;
}

.search input {
  background-color: inherit;
  outline: none;
  border: none;
  font-size: 20px;
  line-height: 30px;
  width: 100%;
}

.hint {
  text-align: center;
  color: #8d8d8d;
}

.title {
  text-align: center;
  margin: 10px;
}

.title a {
  display: flex;
  align-items: center;
}

.title a h1,
.title h1 {
  border-radius: 10px;
  color: white;
  width: 260px;
  display: inline-block;
  background: linear-gradient(to right, rgb(59 67 102), rgb(105 102 109));
  padding: 15px 10px;
  margin: 0 auto;
  text-align: center;
  font-weight: 500;
  background: url("../img/bg-pop.png") no-repeat center/100%;
}

.ad {
  display: flex;
  width: 100%;
  margin: 10px auto;
  justify-content: center;
}

.pop .title h1 {
  background: url("../img/bg-index.png") no-repeat center/100%;
}

.game-list,
.pop-list {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-evenly;
}

.pop-list .game-text {
  display: none;
}

.pop-list .game-img img {
  width: 23vw;
  height: 23vw;
  max-width: initial;
  max-height: initial;
}

.game-item {
  margin: 4px 2px;
}

.game-img img {
  vertical-align: middle;
  background: url(../img/load.gif) no-repeat center/100%;
  width: 20vw;
  height: 20vw;
  max-width: 250px;
  max-height: 250px;
  border-radius: 25%;
}

.game-text p {
  width: 22vw;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-list-d1,
.game-list-d2,
.game-list-d3 {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  justify-content: space-evenly;
  border-radius: 10px;
}

.game-list-d3 {
  background-color: rgba(250, 235, 215, 0.644);
  margin: 2px;
}

.game-list-d1-1,
.game-list-d1-2 {
  width: 50%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.game-list-d1-1 .game-text {
  display: none;
}

.game-list-d1-1 .game-img img {
  width: 24vw;
  height: 24vw;
}

.game-list-d1-2 {
  background-color: #1a2a4f;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.game-list-d3 {
  background-color: rgba(181, 247, 225, 0.521);
}

.game-list-d2 .game-text {
  display: none;
}

.game-list-d2 .game-img img {
  width: 23vw;
  height: 23vw;
}

.game-list-l1,
.game-list-l2,
.game-list-l3 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.game-list-l1 .game-text {
  display: none;
}

.game-list-l1 .game-img img {
  width: 23vw;
  height: 23vw;
}

.game-list-l2 {
  display: flex;
}

.game-list-l2,
.game-list-l3 {
  display: flex;
  justify-content: space-evenly;
  background-color: rgb(255, 235, 252);
  padding: 5px 0;
  margin: 5px 5px;
  border-radius: 10px;
}

.detail {
  width: 95%;
  max-width: 1000px;
  margin: 30px auto 10px;
  text-align: center;
}

.detail-bimg {
  position: relative;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}

.detail-bimg>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
}

.detail-icon {
  background-color: rgba(43, 43, 43, 0.226);
  position: absolute;
  top: 0;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  display: flex;
}

.detail-icon img {
  width: 120px;
}

.detail-icon p {
  font-size: 24px;
  font-weight: 500;
  color: white;
}

.detail-text {
  margin: 10px 0;
  text-align: left;
}

.detail-text p {
  font-size: 20px;
  text-align: justify;
}

.play {
  margin: 20px 10px;
}

.play a {
  display: block;
  width: 80%;
  background: linear-gradient(90deg, #8a19c0, #009ef8, #34d3a6);
  margin: auto;
  padding: 15px;
  border-radius: 2em;
  color: white;
  font-size: 26px;
  animation: active 3s infinite;
}

@keyframes active {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {

  .title a h1,
  .title h1 {
    width: 160px;
    padding: 5px;
  }

  .search {
    width: 80%;
  }

  .title {
    margin: 5px;
  }

  .title h1 {
    font-size: 20px;
  }

  .title a h1 {
    font-size: 20px;
  }

  .title a span {
    font-size: 14px;
  }

  .pop-list-d1,
  .pop-list-d2 {
    margin: 2px;
    padding: 4px;
  }

  .pop-list-d3 {
    padding: 5px;
    margin: 4px;
  }

  .game-text p {
    width: 20vw;
    font-size: 12px;
  }
}

@media (max-width: 650px) {
  nav {
    background: url("../img/nav2.png") no-repeat center;
  }

  .top-center {
    margin: auto;
    font-size: 14px;
    width: 270px;
  }
}

@media screen and (min-width: 500px) {
  body {
    width: 500px !important;
    margin-left: 30%;
    /* position: relative;
    left: 50%; */
    /* transform: translate(50%) */
  }

  .game-text p {
    width: 8vw !important;
  }

  img {
    width: 5vw !important;
    height: 5vw !important
  }
}