@font-face {
  font-family: cubic_11;
  src: url("../font_face/Cubic_11.ttf");
}
@font-face {
  font-family: "PMingLiU";
  src: url("PMingLiU.ttf");
  font-weight: normal;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  position: relative;
  scrollbar-color: #8ab5ff #e6efff;
  scrollbar-width: thin;
  word-wrap: break-word;
}

a {
  display: inline-block;
  text-decoration: none;
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

i::before {
  display: block;
}

@media (max-width: 1200px) {
  .post-toc-container {
    display: none;
  }
  #loading-circle img {
    display: none;
  }
}
.cornerbtn-container a {
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 0 3em 3em 0;
  background-color: aqua;
  color: #000;
  border: 3px dashed grey;
  border-radius: 100%;
  width: 3vw;
  height: 3vw;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
}
.cornerbtn-container a i {
  font-size: 2vw;
}

.post-toc-container {
  position: fixed;
  left: 5%;
  top: 10%;
  width: 15%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.post-toc-container #toc ul, .post-toc-container #toc ol {
  padding-left: 1em;
  margin: 0;
  font-size: small;
  white-space: nowrap;
}
.post-toc-container #toc ul .toc-link, .post-toc-container #toc ol .toc-link {
  color: #8d8c8c;
}

#toc, .toc, .toc-child {
  list-style: none;
}

.post-change-container {
  display: flex;
  justify-content: space-between;
  align-content: center;
}
.post-change-container .post-change-item {
  border-radius: 0.5em;
  background: no-repeat center 20%/cover url("https://s1.1zoom.me/big3/74/403635-sepik.jpg");
  width: 40%;
}
.post-change-container .post-change-item .post-change-prev,
.post-change-container .post-change-item .post-change-next {
  height: calc(100% - 2em);
  display: block;
  border-radius: 0.5em;
  padding: 1em;
  backdrop-filter: blur(2px);
  color: #fff;
}
.post-change-container .post-change-item .post-change-prev {
  text-align: right;
}
.post-change-container .post-change-item .post-change-next {
  text-align: left;
}
.post-change-container .post-change-item i {
  font-weight: bold;
}

.card-poetry {
  padding: 0.5em;
  border-top: #cdcdcd solid 1px;
  margin: 0 auto;
  width: 85%;
}
.card-poetry #poem_sentence p {
  margin: 0;
}
.card-poetry #poem_info {
  margin-top: 0.5em;
  font-weight: bold;
}

.leftcard {
  display: flex;
  flex-direction: column;
  gap: 1em;
  overflow-y: hidden;
}
.leftcard::-webkit-scrollbar {
  display: none;
}

.card-calendar {
  width: 90%;
  border-top: #cdcdcd solid 1px;
  margin: 0 auto;
}

h1 {
  font-family: cubic_11;
  color: #030303;
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.13em 0;
  font-size: 50px;
  letter-spacing: 0;
  line-height: 1;
  background-image: linear-gradient(40deg, hsl(240, 100%, 20%) 0%, hsl(259, 100%, 23%) 11%, hsl(279, 100%, 27%) 22%, hsl(298, 100%, 30%) 33%, hsl(318, 100%, 33%) 44%, hsl(337, 100%, 37%) 56%, hsl(357, 100%, 40%) 67%, hsl(16, 100%, 43%) 78%, hsl(36, 100%, 47%) 89%, hsl(55, 100%, 50%) 100%);
  z-index: 999;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 10s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
#ytTitle {
  font-family: cubic_11;
  text-align: center;
  margin: 0 0 0.13em 0;
  font-size: 16px;
  line-height: 1.2;
  padding: 0.5em;
  background-image: linear-gradient(40deg, hsl(240, 100%, 20%) 0%, hsl(259, 100%, 23%) 11%, hsl(279, 100%, 27%) 22%, hsl(298, 100%, 30%) 33%, hsl(318, 100%, 33%) 44%, hsl(337, 100%, 37%) 56%, hsl(357, 100%, 40%) 67%, hsl(16, 100%, 43%) 78%, hsl(36, 100%, 47%) 89%, hsl(55, 100%, 50%) 100%);
  z-index: 999;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.YTplayer_controlboard {
  border-top: #cdcdcd solid 1px;
  margin: 10px auto;
  padding-top: 10px;
  width: 85%;
}

.yt-btn-board {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.yt-btn {
  font-size: 16px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.yt-btn:hover {
  background-color: aliceblue;
}

.yt-volume-input {
  width: 25%;
  cursor: pointer;
}

#yt-volume-val {
  flex-basis: 15%;
}

/* card */
.card-num {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.card-num-text {
  display: block;
}