:root {
  --bg: url(https://api.dujin.org/bing/1920.php);
  --animate-duration: 1s;
  --animate-delay: 1s;
  --animate-repeat: 1
}

html,
body {
  margin: 0;
  padding: 0;
  background-image: var(--bg);
  object-fit: cover;
  background-repeat: no-repeat;
  height: 100vh;
  font-family: Source Han Serif CN VF;
  font-weight: 400;
  color: white;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  top: 0;
  left: 0;
  z-index: 0;
}

a {
  text-decoration: none;
}


.con {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  height: 100vh;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.tx {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tx img {
  --wh: 110px;
  width: var(--wh);
  height: var(--wh);
  transition: transform 0.5s;
  transform: rotateY(0deg);
  border-radius: 50%;
  transform-origin: left center;
  border: 3px solid rgba(255, 255, 255, 0.5);
  z-index: 1;
}

.tx:hover img {
  --f: 1.08;
  transform: rotateY(-180deg);
}

.txt {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 99%;
  height: 99%;
  color: white;
  background-color: rgba(46, 46, 46, 0.7);
  border-radius: 50%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-content: space-between;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}

.txt div {
  display: flex;
  justify-content: center;
  margin: 5px;
  font-size: 1.5em;
}

.txt div:nth-child(2) {
  font-size: .6rem;
  color: rgb(146, 146, 146);
}


.mz {
  font-size: 2em;
  font-family: Maple Mono CN ExtraBold;
  font-weight: 600;
  margin: 10px;
}

.ts {
  font-size: 1.3em;
  font-weight: lighter;
  font-style: oblique;
  letter-spacing: 1px;
  opacity: 0.5;
}

.hrcs {
  width: 320px;
  margin: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.item {
  display: flex;
  font-size: 1em;
  gap: 8px;
  margin-top: 10px;
}

.item span {
  height: 25px;
  width: 60px;
  opacity: .8;
  display: flex;
  font-weight: 600;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 5px;
  border-radius: 30px;
  border: 1px solid white;
}

.item span:hover {
  opacity: 1;
}

.hitokoto {
  display: inline-block;
  font-size: 1.1em;
  text-align: center;
  opacity: 0.8;
  height: auto;
  margin-bottom: 10px;
  min-height: 1.5em;
  width: clamp(350px, 30vw, 700px);
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hitokoto span {
  position: relative;
}

.hitokoto span::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #fff;
  animation: blink 1s linear infinite;
}

.hitokoto.typing-done span::after {
  display: none;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.animate__animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-duration: var(--animate-duration);
  animation-duration: var(--animate-duration);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both
}

.animate__fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0)
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0)
  }

  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
  }
}