:root {
  --title-1: 16px;
  --title-2: 24px;
  --title-3: 32px;
  --title-4: 48px;
  --title-5: 64px;
  --fontcolor-1: rgba(0, 0, 0, .8);
  --fontcolor-2: rgba(0, 0, 0, .4);
  --fontcolor-3: rgba(0, 0, 0, .4);
  --fontcolor-4: rgba(0, 0, 0, .2);
}

:root .darkmode {
  --fontcolor-1: rgba(255, 255, 255, 1);
  --fontcolor-2: rgba(255, 255, 255, .8);
  --fontcolor-3: rgba(255, 255, 255, .6);
  --fontcolor-4: rgba(255, 255, 255, .2);
}

@font-face {
  font-family: Actay;
  src: url('../font/ActayWide-Bold.otf');
  font-weight: bold;
}

@font-face {
  font-family: Actay;
  src: url('../font/Actay-Regular.otf');
  font-weight: normal;
}

@font-face {
  font-family: Nohemi;
  src: url('../font/Nohemi-VF.ttf');
}

body {
  font-family: Nohemi;
  margin: 0;
  background-color: #fff;
  transition: background 0.6s;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
}

.processbar {
  height: 2px;
  width: 100px;
  background: rgba(0, 0, 0, .1);
  transform: translatey(100px);
  box-sizing: border-box;
  animation: loading 10s forwards;
  transition: 0.3s;
  margin-top: 24px;
}

.processbar::after {
  content: attr(process);
}

.unspalsh {
  display: none;
  position: absolute;
  top: 0;
  z-index: -1;
}

.loading {
  position: fixed;
  display: flex;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 999;
}

.loading .processnum {
  position: absolute;
  color: white;
  font-size: 48px;
  left: 0;
  text-align: right;
  width: 0%;
  bottom: 64px;
  font-weight: bold;
  transition: .6s width, 1s opacity;
  margin: 0;
  mix-blend-mode: difference;
  padding-right: 32px;
  box-sizing: border-box;
}

.loading .bg {
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #52E2C0;
  transition: width .6s;
}

.loading .logo {
  width: 64px;
  height: 64px;
  position: absolute;
  display: flex;
  align-content: center;
  justify-content: center;
  top: 64px;
  left: 64px;
  transition: 1s opacity;
  z-index: 99;
}

.logo .top, .logo .bottom {
  fill: white;
  mix-blend-mode: difference;
  position: absolute;
  animation: toploading 1.5s infinite;
  transform-origin: bottom left;
}

.logo .bottom {
  transform-origin: top right;
}

.finish {
  animation: loadingfinish 0.6s forwards;
}

.finish .logo, .finish .processnum {
  opacity: 0;
}

.scrollbar {
  display: none;
}

.nav {
  position: fixed;
  width: 100%;
  height: 80px;
  z-index: 99;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav .inner {
  width: 100%;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav .menu a {
  margin-right: 24px;
  font-size: 12px;
  font-weight: bold;
  color: var(--fontcolor-3);
  font-size: 14px;
  text-decoration: none;
}

.nav svg {
  height: 24px;
  width: 24px;
  fill: var(--fontcolor-1);
}

.nav .logo3d {
  display: none
}

.hovertips, .arrow {
  display: none;
}

.cover .bg {
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  -webkit-mask-image: url('../img/mask.png');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 80%;
  -webkit-mask-position: 0% 50%;
  transition: 0.2s all;
  pointer-events: none;
}

.cover {
  position: relative;
  display: flex;
  flex-flow: column;
  height: 60vh;
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
}

.cover .title-name {
  z-index: 5;
  margin-right: 32px;
  font-size: var(--title-1);
  margin-top: 16vh;
  text-align: right;
  pointer-events: none;
}

.cover .title-cn {
  pointer-events: none;
  z-index: 5;
  font-size: var(--title-3);
  font-weight: 500;
  margin-left: 32px;
}

.cover .title-cn p:last-child {
  margin-left: 24px;
}

.cover .title-en {
  pointer-events: none;
  z-index: 5;
  margin: 0 0 52px 50%;
  font-size: var(--title-2);
  font-weight: 500;
}

.cover .title-en p:first-child {
  margin-left: 24px;
}

.project {
  margin: 64px 32px 32px 32px;
}

.project .title {
  margin-bottom: 32px;
  font-size: var(--title-1);
  color: var(--fontcolor-3);
  font-weight: bold;
}

.caselist {
  display: flex;
  flex-direction: column;
}

.caselist .case {
  width: 100%;
  margin-bottom: 64px;
}

.caselist .case .cover, .caselist .dev .cover {
  overflow: hidden;
  height: auto;
  cursor: pointer;
  border-radius: 4.9%;
}

.caselist .disable .cover .previewbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 108px;
  height: 120px;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 50%;
  padding-left: 12px;
  background: rgba(0, 0, 0, .8);
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  box-shadow: 0 0 40px rgba(255, 255, 255, 1);
}

.caselist .case img {
  width: 100%;
}

.caselist .case .name, .caselist .dev .name {
  font-size: var(--title-1);
  margin: 16px 0 4px 0;
  color: var(--fontcolor-1);
  font-weight: bold;
}

.caselist .case .introduction, .caselist .dev .introduction {
  font-size: 12px;
  color: var(--fontcolor-2);
}

.caselist .dev .cover {
  overflow: hidden;
  display: grid;
  height: calc(100vw - 64px);
  padding: 16px;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px;
  background: #F6F6F6;
}

.caselist .dev .cover a {
  transition: .3s;
  border-radius: 6%;
  background-size: cover;
  box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.05);
}

.other {
  height: 100vh;
  padding: 0 32px;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.other .title {
  font-weight: bold;
  margin-bottom: 32px;
  font-size: var(--title-1);
  color: var(--fontcolor-3);
}

.other .list {
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, .06);
  min-height: 160px;
  display: flex;
  justify-content: center;
  flex-flow: column;
}

.other .list img {
  display: none;
}

.other i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fontcolor-1);
}

.other .list p {
  color: var(--fontcolor-1);
  font-size: var(--title-2);
  font-weight: bold;
}

.other .list span {
  color: var(--fontcolor-3);
  font-size: 14px;
}

.other .list:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* .about {
  position: relative;
  padding: 0 32px;
  height: 80vh;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #52E2C0 100%);
  display: flex;
  flex-flow: column;
}

.about .title {
  margin-top: 120px;
  font-weight: bold;
  font-size: var(--title-1);
  color: var(--fontcolor-3);
  margin-bottom: 32px;
}

.about .workinfo {
  height: 160px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.about .workinfo .jd {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.about .workinfo .jd .company {
  color: var(--fontcolor-4);
  font-size: 14px;
}

.about .workinfo .year {
  font-size: var(--title-2);
  font-weight: bold;
}

.about .workinfo .date {
  color: var(--fontcolor-4);
  font-size: 14px;
}

.about .button {
  color: var(--fontcolor-1);
  padding: 14px 32px;
  border-radius: 48px;
  border: 1px solid rgba(0, 0, 0, .2);
  margin: 64px auto 0 auto;
  text-align: center;
  font-size: 14px;
}

.undertips {
  position: absolute;
  text-align: center;
  bottom: 22px;
  left: 50%;
  color: var(--fontcolor-4);
  transform: translateX(-50%);
  font-size: 12px;
  width: 100%;
}

.undertips a {
  color: var(--fontcolor-4);
} */
.contact {
  position: relative;
  padding: 32px 32px;
  width: 100vw;
  max-width: 2160px;
  height: 60vh;
  display: flex;
  flex-flow: column;
  box-sizing: border-box;
  justify-content: space-between;
  background: url('../img/footer_bg.png');
  background-size: cover;
  background-position: center;
}

.contact .title {
  font-size: var(--title-1);
  margin-bottom: 16px;
  font-weight: bolder;
  color: var(--fontcolor-1);
}

.contact .email .text {
  font-size: var(--title-3);
  font-weight: bolder;
  text-decoration: underline;
  color: var(--fontcolor-1);
}

.contact .email .text .emoji {
  display: none;
}

.contact .media .icon a {
  margin-right: 16px;
}

.contact .media .icon a svg {
  fill: var(--fontcolor-1);
}

.contact .undertips {
  font-size: 14px;
  font-weight: normal;
  color: var(--fontcolor-4);
}

.contact .undertips a {
  font-size: 14px;
  font-weight: normal;
  color: var(--fontcolor-3);
}

  {
  font-size: 14px;
  font-weight: normal;
  color: var(--fontcolor-4);
}

.contact .logo {
  position: absolute;
  right: 6.25vw;
  bottom: 64px;
}

.contact .backtotop {
  display: none;
}

.contact .backtotop svg {
  fill: none;
  stroke: var(--fontcolor-1);
}

.contact .logo {
  display: none;
}

.darkmode {
  background: #101010;
}

.darkmode .nav {
  background: rgba(16, 16, 16, .6);
}

.darkmode .other .list, .darkmode .other .list:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.darkmode .other .list {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.darkmode .other .list:nth-child(2) {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

@keyframes toploading {
  to {
    transform-origin: center center;
    transform: rotate(-180deg);
  }
}

@keyframes bottomloading {
  to {
    transform-origin: center center;
    transform: rotate(-180deg);
  }
}

@keyframes loadingfinish {
  to {
    height: 0;
  }
}