:root {
  --theme-color: #f78725;
}

/* @font-face {
  font-family: 'EFont';
  src: url('/fonts/杨任东竹石体-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'wqywmh';
  src: url('/fonts/wqywmh.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} */


@font-face {
  /* Specifies the name of the font */
  font-family: 'monaco';
  /* Specifies the URL of the font file and its format */
  src: url('/fonts/Monaco.ttf') format('truetype');
  /* Specifies the weight of  font */
  font-weight: normal;
  /* Specifies the style of the font */
  font-style: normal;
}

body::before {
  content: "";
  background-image: url('/imgs/bg/science-fiction-gc8463d019_1920_1.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  z-index: -1;
}

/* body {
  font-family: 'EFont', sans-serif;
} */



/* 背景宇宙星光  */
#lgcanvas {
  display: block;
  position: fixed;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  left: 0;
  top: 0;
  background: #000000;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

#nav .site-name {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  font-weight: bold;
  font-size: 22px;
}

#page-header,
#page-header:before {
  background: 0 0 !important;
}

#page-header #site-title {
  background-image: linear-gradient(to right, #d7dd7b, #25f920);
  /*background-image: linear-gradient(to right, #ecf4c2, #78e975);*/
  -webkit-background-clip: text;
  color: transparent;
}

#page-header #site-subtitle {
  color: #ffc38d;
}

#footer {
  background-color: #152c3e87;
}

#page-header {
  opacity: 0.76 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
}


#nav a {
  /*color: #f5f30d;*/
  color: #fd871f;
}

#nav a:hover {
  color: #fdc21f;
}

#menus span {
  font-size: 17px;
}

/*#live2d-widget {
  left: 0px;
}*/



#site-title {
  animation-name: jump;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes jump {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  60% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(-10%);
  }

  100% {
    transform: translateY(0);
  }
}




#waifu-tips {
  color: #fd9521 !important;
}

#waifu-tips span {
  color: #7ae648 !important;
}


/*
#article-container.post-content h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {
  -webkit-animation: avatar_turn_around 1s linear infinite;
  -moz-animation: avatar_turn_around 1s linear infinite;
  -o-animation: avatar_turn_around 1s linear infinite;
  -ms-animation: avatar_turn_around 1s linear infinite;
  animation: avatar_turn_around 1s linear infinite;
}
*/

/* 文章页H1-H6图标样式效果 */
/* 控制风车转动速度 4s那里可以自己调节快慢 */
h1::before,
h2::before,
h3::before,
h4::before,
h5::before,
h6::before {
  -webkit-animation: ccc 3s linear infinite;
  animation: ccc 3s linear infinite;
}

/* 控制风车转动方向 -1turn 为逆时针转动，1turn 为顺时针转动，相同数字部分记得统一修改 */
@-webkit-keyframes ccc {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(-1turn);
    transform: rotate(-1turn);
  }
}

@keyframes ccc {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(-1turn);
    transform: rotate(-1turn);
  }
}

/* 设置风车颜色 */
#content-inner.layout h1::before {
  color: #ef50a8;
  margin-left: -1.55rem;
  font-size: 1.3rem;
  margin-top: -0.23rem;
}

#content-inner.layout h2::before {
  color: #fb7061;
  margin-left: -1.35rem;
  font-size: 1.1rem;
  margin-top: -0.12rem;
}

#content-inner.layout h3::before {
  color: #ffbf00;
  margin-left: -1.22rem;
  font-size: 0.95rem;
  margin-top: -0.09rem;
}

#content-inner.layout h4::before {
  color: #a9e000;
  margin-left: -1.05rem;
  font-size: 0.8rem;
  margin-top: -0.09rem;
}

#content-inner.layout h5::before {
  color: #57c850;
  margin-left: -0.9rem;
  font-size: 0.7rem;
  margin-top: 0rem;
}

#content-inner.layout h6::before {
  color: #5ec1e0;
  margin-left: -0.9rem;
  font-size: 0.66rem;
  margin-top: 0rem;
}

/* s设置风车hover动效 6s那里可以自己调节快慢*/
#content-inner.layout h1:hover,
#content-inner.layout h2:hover,
#content-inner.layout h3:hover,
#content-inner.layout h4:hover,
#content-inner.layout h5:hover,
#content-inner.layout h6:hover {
  color: var(--theme-color);
}

#content-inner.layout h1:hover::before,
#content-inner.layout h2:hover::before,
#content-inner.layout h3:hover::before,
#content-inner.layout h4:hover::before,
#content-inner.layout h5:hover::before,
#content-inner.layout h6:hover::before {
  color: var(--theme-color);
  -webkit-animation: ccc 1s linear infinite;
  animation: ccc 1s linear infinite;
}