@import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/tokyo-night-dark.min.css');
@import url('https://unpkg.com/mouse-follower@1/dist/mouse-follower.min.css');
@import url('Cursor.css');
@import url('index.css');
@import url('BackGrund.css');
@import url('Home.css');
@import url('Blog.css');
@import url('Project.css');
@import url('Thanks.css');
@import url('MarkdownStyle.css');

@font-face {
  font-family: 'CaskaydiaCove Nerd Font';
  src: url('../font-family/CaskaydiaCoveNerdFont-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SmileySans-Oblique';
  src: url('../font-family/SmileySans-Oblique.otf.woff2') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html {
  cursor: none;
  letter-spacing: 0.18vh;
  /* 调整字间距 */
}

body {
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  margin: 0;
  background-color: white;
  font-size: 2.5vh;
  color: black;
  font-family: 'SmileySans-Oblique';
}

a {
  cursor: none;
  text-decoration: none;
  /* 去掉下划线 */
  color: inherit;
  /* 继承父元素的颜色 */
}

img {
  pointer-events: none;
}

button {
  user-select: none;
  /* 禁止文字选择 */
  cursor: none;
  border: none;
  /* 无边框 */
  text-decoration: none;
  /* 去掉下划线 */
}

code {
  font-family: 'CaskaydiaCove Nerd Font', 'SmileySans-Oblique';
}

/*--------------------------------*/
/* 顶部导航样式 */

/* 导航按钮 */
#Nav_Button {
  white-space: nowrap;
  position: fixed;
  top: 2vh;
  right: 1vw;
  z-index: 1;
  border-radius: 1.5vh;
  height: 5vh;
  width: 5vh;
  display: flex;
  transform: translateY(-10vh);
  justify-content: center;
  pointer-events: auto;
  background-color: white;
  user-select: none;
  box-shadow: 0px 0px 2.5vh rgba(0, 0, 0, 0.35);
  font-family: 'SmileySans-Oblique';
}

.Nav_Options {
  color: black;
  margin-left: 3vh;
  height: 3vh;
  font-weight: bold;
}

#Nav_Main_Options {
  height: 100%;
  width: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  pointer-events: none;
  opacity: 0;
}

#Nav_Line {
  border-radius: 1.5vh;
  height: 5vh;
  width: 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
}

#Nav_Line_1,
#Nav_Line_2 {
  height: 0.3vh;
  width: 2.5vh;
  border-radius: 1vh;
  margin: 0.475vh;
  background-color: black;
}


/*--------------------------------*/
/*其他元素*/
#Anime,
#Main {
  position: fixed;
  /* 固定定位 */
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0);
  /*background-color: black;*/
  display: flex;
  flex-direction: column;
  /* 设置主轴为垂直方向 */
  align-items: center;
  /* 垂直居中对齐 */
  justify-content: center;
  /* 水平居中对齐 */
  pointer-events: none;
}

#Anime {
  background-color: white;
  z-index: 1;
}


/*--------------------------------*/
/*文字元素*/
.Text_Line_Black {
  background: linear-gradient(to right, black, black) no-repeat right bottom;
}

.Text_Line_White {
  background: linear-gradient(to right, #FFFFFF, #FFFFFF) no-repeat right bottom;
}


.Text_Line_Black,
.Text_Line_White {
  background-size: 0 0.25vh;
  transition: background-size 0.5s;
  text-decoration: none;
}

.Text_Line_Black:hover,
.Text_Line_White:hover {
  background-position: left bottom;
  background-size: 100% 0.25vh;
}

.Page,
.Page_Level {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.Page_Level {
  flex-direction: row;
  /* 水平排列 */
}
