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

a {
  text-decoration: none;
}

body {
  margin: 0;
  background-image: var(--bg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  font-family: Source Han Serif CN VF;
  padding: 2vh 5vw;
  overflow: hidden;
}

html::-webkit-scrollbar {
  display: none;
}

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

.row {
  height: 100vh;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.cardbody {
  color: rgb(225, 225, 225);
  width: min(90vw, max(420px, 25vw));
  height: clamp(160px, 25vh, 200px);
  margin-top: clamp(25px, 3vh, 45px);
  margin-bottom: 2vh;
  border-radius: 20px;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.4);
  border-right: 1px solid hsla(0, 0%, 100%, 0.4);
  box-shadow: -1px -1px 5px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  text-align: center;
  backdrop-filter: blur(2px);
  scale: 1;
  transition: all 0.3s;
}

@media (max-width: 1400px) {
  body {
    overflow: auto;
  }
}


@media (max-width: 768px) {
  .cardbody {
    width: min(360px, 90vw);

  }
}

.cardbody:hover {
  background-color: rgba(17, 20, 30, 0.8);
  scale: 1.02;
}

.dh {
  position: relative;
  text-align: center;
  top: -2em;
  cursor: default;
  letter-spacing: 5px;
  font-size: 1.2em;
  text-wrap: nowrap;
  font-family: Maple Mono CN ExtraBold;
}

.dhth {
  letter-spacing: 3px;
  border-radius: 20px;
  color: white;
  top: -4.2vh;
  background-color: rgba(17, 20, 30, 0.5);
}

.cardnr {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.cardnr::-webkit-scrollbar {
  display: none;
}

.cardnr span {
  flex: 0 0 33.3%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.cardnr a {
  font-size: clamp(8px, 8px + 1.11vw, 15px);
  color: inherit;
  background: linear-gradient(to right, #1f589f, #1f589f) no-repeat;
  background-size: 0 2px;
  background-position: right bottom;
  transition: background-size .5s ease;
}

.cardnr a:hover {
  color: #528bcc;
  background-size: 100% 2px;
  background-position: left bottom;
}

.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__backInDown {
  -webkit-animation-name: backInDown;
  animation-name: backInDown
}

@-webkit-keyframes backInDown {
  0% {
    -webkit-transform: translateY(-1200px) scale(.7);
    transform: translateY(-1200px) scale(.7);
  }

  80% {
    -webkit-transform: translateY(0) scale(.7);
    transform: translateY(0) scale(.7);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes backInDown {
  0% {
    -webkit-transform: translateY(-1200px) scale(.7);
    transform: translateY(-1200px) scale(.7);
  }

  80% {
    -webkit-transform: translateY(0) scale(.7);
    transform: translateY(0) scale(.7);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

