html,
body {
  overflow: hidden;
  height: 100%;
  margin: 0;
}

/* css variable */
body.light {
  --bg: #fff;
  --textName: #111;
  --textNormal: #4a4a4a;
  --textLink: rgba(79, 192, 141, 1);
}
body.dark {
  --bg: #282c35;
  --textName: #fff;
  --textNormal: rgba(255, 255, 255, 0.88);
  --textLink: rgba(255, 167, 196, 1);
}
body {
  font-family: 'Open Sans', 'Helvetica Neue', 'Hiragino Sans GB', 'LiHei Pro', Arial, sans-serif;
  background-color: var(--bg);
  transition: color 0.2s ease-out, background 0.2s ease-out;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

#wrapper {
  position: absolute;
  left: 0;
  width: 320px;
  text-align: center;
  top: 50%;
  left: 50%;
  margin-left: -160px;
  margin-top: -160px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
h1 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 9px;
  text-transform: uppercase;
  margin: 12px 0;
  left: 4px;
  color: var(--textName);
}

h2 {
  color: var(--textNormal);
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
  left: 3px;
}

h1,
h2 {
  position: relative;
}

p {
  font-size: 14px;
  line-height: 2em;
  margin: 0;
  letter-spacing: 2px;
}

a {
  color: var(--textNormal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  /* color: #f33; */
  color: var(--textLink);
}

.beian {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  font-size: 13px;
  visibility: hidden;
}
.theme-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 24px;
  border-radius: 30px;
  background-color: #0f1114;
  text-align: center;
  cursor: pointer;
}
.theme-toggle .theme-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 17px;
  height: 17px;
}
