@charset "utf-8";
* {
  padding: 0;
  margin: 0;
}
*::selection {
  background-color: rgba(0, 174, 255, 0.2);
}
*::-moz-selection {
  background-color: rgba(0, 174, 255, 0.2);
}
*::-webkit-selection {
  background-color: rgba(0, 174, 255, 0.2);
}
html {
  height: 100%;
  width: 100%;
}
body {
  background-position: center center;
  /* background-image: url(../images/site/bg_extra_large.jpg); */
  background-color: rgb(15, 23, 42);
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0 0 1em 0;
  /* height:100%; */
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.spin {
  animation: spin 2s linear infinite;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}
.pulse {
  animation: spin 1s steps(8) infinite;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/*加载界面*/
#loading {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 99999;
  background-color: rgba(30, 30, 30, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 4rem;
  color: #a4fae7;
  opacity: 0.5;
}
/*顶栏*/
.nav {
  height: 3.125rem;
  background-color: rgba(30, 30, 30, 0.9);
  width: 100%;
  text-align: center;
}
.nav_title {
  position: absolute;
  left: 50%;
  margin-left: -6.5rem;
  text-align: center;
  line-height: 3.125rem;
  font-size: 1.375rem;
  font-weight: bold;
  color: #a4fae7;
  display: inline-block;
  text-decoration: none;
}
.nav_title:hover {
  text-decoration: none;
  color: #a4fae7;
}
/*翻转logo*/
.logo_front {
  height: 4.375rem;
  width: 4.375rem;
  border-radius: 50%;
  background: #bd27e2 url(/images/site/avatar.png);
  background-size: auto 100%;
  position: fixed;

  transition-duration: 0.15s;
  transition-delay: 0.15s;

  text-align: center;
  font-size: 1.625rem;
  line-height: 4.375rem;
  color: white;
  z-index: 998;
}
.logo_back {
  height: 4.375rem;
  width: 4.375rem;
  border-radius: 50%;
  background-color: blueviolet;
  position: fixed;

  transition-duration: 0.15s;
  transition-delay: 0s;
  transform: rotateY(-90deg);

  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.1875rem;
  color: #a5fae7;
  z-index: 998;
}
.logo_back > i {
  padding: 10px;
  z-index: 998;
}
#logo:hover > .logo_back {
  transition-delay: 0.15s;
  transition-duration: 0.15s;
  transform: rotateY(0deg);
}
#logo:hover > .logo_front {
  transition-duration: 0.15s;
  transition-delay: 0s;
  transform: rotateY(90deg);
}
.logo_front_list {
  transform: rotateY(180deg);
}
/*菜单*/
.menu_content > a {
  margin: 20px;
  padding: 5px;
  color: white;
  display: list-item;
  font-weight: bold;
  transition-duration: 0.5s;
  text-decoration: none;
}
.menu_content > a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transition-duration: 0.5s;
}
.menu_content > a > i {
  margin-right: 10px;
}
/*大屏幕*/
@media (min-width: 768px) {
  #logo {
    margin: 10px 0 0 10px;
    height: 4.375rem;
    width: 4.375rem;
    padding: 0;
    display: inline-block;
    position: fixed;
    z-index: 999;
  }
  .menu {
    width: 33.33%;
    height: 100%;
    position: fixed;
    overflow: hidden;
    transition-duration: 0.5s;
    text-align: center;
    z-index: 99;
  }
  .menu > * {
    opacity: 0.2;
    transition-duration: 0.5s;
  }
  .menu:hover > * {
    opacity: 1;
    transition-duration: 0.5s;
  }
  #menu1 {
    background-color: #2d355f;
    left: 0%;
    transition-delay: 0s;
  }
  #menu1:hover {
    background-color: #1d254f;
  }
  #menu2 {
    background-color: #42d6b6;
    left: 33.33%;
    transition-delay: 0.1s;
    vertical-align: middle;
    line-height: 100vh;
  }
  #menu2:hover {
    background-color: #22be9d;
    transition-delay: 0s;
  }
  #menu3 {
    background-color: #bf5d7d;
    left: 66.66%;
    transition-delay: 0.2s;
  }
  #menu3:hover {
    background-color: #c04971;
    transition-delay: 0s;
  }
  .menu_list-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.1875rem;
    font-weight: bold;
    line-height: 100vh;
    transition-duration: 0.5s;
  }
  .menu:hover > .menu_list-title {
    color: rgba(255, 255, 255, 0.8);
    line-height: 25vh;
    transition-duration: 0.5s;
  }
  .menu_content {
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition-duration: 0.5s;
    list-style-type: none;
    padding: 20px;
  }
  .menu:hover > .menu_content {
    height: 75vh;
    opacity: 1;
    transition-duration: 0.5s;
  }
  .menu-open {
    bottom: 0;
  }
  .menu-close {
    bottom: 100%;
  }
}
/*小屏幕*/
@media (max-width: 767px) {
  #logo {
    margin: 10px 0 0 10px;
    height: 4.375rem;
    width: 4.375rem;
    padding: 0;
    right: 10px;
    display: inline-block;
    position: fixed;
    z-index: 999;
  }
  .menu {
    width: 100%;
    height: 33.33%;
    position: fixed;
    overflow: hidden;
    transition-duration: 0.5s;
    text-align: center;
    z-index: 99;
  }
  #menu1 {
    background-color: #2d355f;
    top: 0%;
    transition-delay: 0s;
  }
  #menu1:hover {
    background-color: #1d254f;
  }
  #menu2 {
    background-color: #42d6b6;
    top: 33.33%;
    transition-delay: 0.1s;
    vertical-align: middle;
    line-height: 33vh;
  }
  #menu2:hover {
    background-color: #22be9d;
    transition-delay: 0s;
  }
  #menu3 {
    background-color: #bf5d7d;
    top: 66.66%;
    transition-delay: 0.2s;
  }
  #menu3:hover {
    background-color: #c04971;
    transition-delay: 0s;
  }
  .menu_list-title {
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    font-size: 2.1875rem;
    font-weight: bold;
    line-height: 33vh;
    width: 33vw;
    left: 50%;
    margin-left: -16.5vw;
    transform: rotate(0deg) translateY(0vw);
    transition-duration: 0.5s;
    display: inline-block;
  }
  .menu:hover > .menu_list-title {
    color: rgba(255, 255, 255, 0.8);
    transform: rotate(-90deg) translateY(-25vw);
    transition-duration: 0.5s;
  }
  .menu_content {
    width: 50vw;
    height: 33.33vh;
    background-color: rgba(255, 255, 255, 0.05);
    opacity: 0;
    position: absolute;
    right: -50vw;
    transition-duration: 0.5s;
    list-style-type: none;
    padding: 20px;
  }
  .menu:hover > .menu_content {
    height: 50vh;
    right: 0;
    opacity: 1;
    transition-duration: 0.5s;
  }
  .menu-open {
    right: 0;
  }
  .menu-close {
    right: 100%;
  }
}
/*时间栏*/
.cur_time {
  color: rgba(255, 255, 255, 0.8);
  font-size: 3rem;
  font-weight: bold;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.cur_date {
  height: 1.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  font-weight: bold;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.menu > .cur_time_date {
  display: inline-block;
  line-height: 1.2;
}
.menu-open > .cur_time_date {
  opacity: 1;
}
/*底栏*/
footer {
  background-color: rgba(30, 30, 30, 0.7);
  text-align: center;
  padding: 0;
  width: 100%;
  z-index: 1;
  position: absolute;
  bottom: 0;
}
footer > * {
  margin: 0;
  color: white;
}
footer > a:hover {
  text-decoration: none;
  color: #a4fae7;
}
/*侧边助手*/
.side_helper_box {
  position: fixed;
  bottom: 20%;
  left: 0px;
  width: 3.125rem;
  height: 3.125rem;
  transition-duration: 0.5s;
}
.side_helper_box:hover {
  width: 5rem;
  transition-duration: 0.5s;
}
.side_helper {
  display: inline-block;
  height: 3.125rem;
  width: 3.125rem;
  border-radius: 50%;
  background-color: #1c1c1e;
  opacity: 0.4;
  text-align: center;
  transition-duration: 0.5s;
}
.side_helper_box:hover > .side_helper {
  opacity: 1;
  text-decoration: none;
  transition-duration: 0.5s;
}
.side_helper > i {
  font-size: 1.625rem;
  line-height: 3.125rem;
  color: white;
}
#music_volume {
  background-color: #4e7acc;
  -webkit-appearance: none;
  width: 5rem !important;
  height: 0.625rem;
  border-radius: 0.3125rem;
  transform: rotate(-90deg);
  background: -webkit-linear-gradient(#333, #333) no-repeat;
  background-size: 0% 100%;
  border: 2px solid #333;
  position: absolute;
  right: -20px;
  bottom: 20px;
  display: none;
}
.side_helper_box:hover > #music_volume {
  display: inline-block;
}
#music_volume:focus {
  -webkit-appearance: none;
  outline: none;
}
#music_volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 1rem;
  width: 1rem;
  background: #557af1;
  border: 4px solid #333;
  border-radius: 50%;
}
#music_volume::-webkit-slider-runnable-track {
  height: 1rem;
}
/*内容框*/
#main {
  background-color: rgba(37, 40, 48, 0.95);
  color: #9da5b4;
  border: 1px solid #21252b;
  border-radius: 3px;
  box-shadow: 0 0 3px 1px #21252b;
  margin: 25px auto 75px auto;
  min-height: 500px;
  overflow: hidden;
  padding: 0;
  position: relative;
}
#main > .container_title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 25px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#main > .container_content {
  padding: 10px;
}
.container_title > img {
  float: left;
  height: 20px;
  width: 20px;
  margin: 2px 0 0 2px;
}
.close_button {
  line-height: 25px;
  width: 48px;
  text-align: center;
  float: right;
}
.close_button:hover {
  background-color: #d51325;
}
.close_button > i {
  transition-duration: 0.5s;
  display: inline-block;
  color: #c0c7d3;
}
.close_button:hover > i {
  transition-duration: 0.5s;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  background-color: transparent;
  color: white;
}
.title_text {
  color: #9da5b4;
  font-size: 0.5rem;
}
#main p {
  color: #abb2bf;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.content_title {
  color: #d6d9dc;
  margin-top: 20px;
}
.content_title:hover > .anchor_link {
  opacity: 1;
  transition-duration: 0.25s;
}
.anchor_link:hover {
  color: #7899d3;
}
.anchor_link {
  opacity: 0;
  color: #6b7ea0;
  transition-duration: 0.25s;
  text-decoration: none;
}
/*cavans下雨特效*/
#rain {
  position: fixed;
  z-index: -99;
  height: 100%;
  width: 100%;
}

.card {
  padding: 0;
  display: inline-block;
}
/*Highlight.js*/
pre {
  border-radius: 5px;
}
code::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
code::-webkit-scrollbar-thumb {
  border-radius: 4px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #535353;
}
code::-webkit-scrollbar-track {
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
}
.hljs ol {
  margin: 0 0 0 30px !important;
  padding: 0;
}
.hljs li {
  border-left: 1px solid #353a47 !important;
  padding: 2px 5px !important;
  margin: 0 !important;
  line-height: 14px;
  width: 100%;
  box-sizing: border-box;
}

canvas {
  position: fixed;
  z-index: -1;
}
