/* 重置样式 */

@font-face {
  font-family: arcanista;
  src: url("../fonts/arcanista.ttf");
}


@font-face {
  font-family: bbch;
  src: url("../fonts/bbch.ttf");
}

@font-face {
  font-family: SourceHanSansSC-VF;
  src: url("../fonts/SourceHanSansSC-VF.ttf");
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "arcanista";
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url(../image/background2.jpg);
  /* background-size: cover;  */
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.to-index {
  display: flex;
  text-align: center;
  align-items: center;
  
  position: fixed;
  top: 100px;
  left: 150px;
  text-decoration: none;
  height: 25px;
}

.to-index p {
  color: black;
  font-size: 3rem;
  font-family: "arcanista";
}

.container {
  position: absolute;
  text-align: center;
}

/* 
.section a:hover {
  color: #007BFF;
} */

/* 主要部分 */

.main {
  background-color: rgba(207, 207, 207, 0.329);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45vw;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}


/* 列表样式 */
.lines {
  /* margin-top: 35px; */
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.line {
  opacity: 0.9;
  border-style: none;
  width: 42vw; /* 增大列表宽度 */
  height: 210px; /* 增大列表高度 */
  /* border: 3px solid #d0d6cc; */
  background-color: #ffffff;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  align-items: center; 
  text-align: center;
  text-decoration: none;
}



.line:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* 增大阴影 */
}

.line h2 {
  margin-top: 45px;
  font-family: "STXihei", 华文细黑, STHeiti, MingLiu;
  color: #333;
  font-size: 2.3rem; /* 增大列表内文字 */
}

.line h1 {
  border-style: none;
  /* margin-left: 60px; */
  margin-top: 45px;
  font-family: "STXihei", 华文细黑, STHeiti, MingLiu;
  text-decoration: none;
  color: #333;
  font-size: 2.3rem; /* 增大列表内文字 */
  transition: color 0.4s ease;
  text-decoration: none;
}

.line h1:hover {
  color: #a2c6e1;
}

.line p {
  color: #333;
  margin-top: 25px;
  /* margin-left: 65px; */
  font-family: consolas;
}


.line button {
  font-size: large;
  font-family: "STXihei", 华文细黑, STHeiti, MingLiu;
  /* background-color:antiquewhite; */
  position: absolute;
  margin: 120px;
  align-items: center; 
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.line button:hover {
  
  /* transform: translateY(-5px); */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* 增大阴影 */
}

footer p {
  color: #ffffff;
  font-size: large;
  font-family: consolas;
}

@media (max-width: 600px) {
  body {
    background-image: url(../image/background3.jpg);
    text-align: center;
  }
  .to-index {
    display: none;;
  }
  .to-index p {
    font-size: 2rem;
  }
  .main {
    margin-bottom: 100px;
    width: 66vw;
  }
  .line {
    opacity: 0.9;
    text-decoration: none;
    border-style: none;
    width: 62vw; 
    height: 100px; 
  }
  .line h1 {
    border-style: none;
    margin-top: 10px;
    font-size: 1.2rem;
  }
  .line p {
    color: #333;
    margin-top: 10px;
    font-size: 0.8rem;
    font-family: consolas;
  }

  .line h2 {
    margin-top: 25px;
    font-family: "STXihei", 华文细黑, STHeiti, MingLiu;
    color: #333;
    font-size: 2.3rem; /* 增大列表内文字 */
  }  

  .line button {
    font-size: medium;
    font-family: "STXihei", 华文细黑, STHeiti, MingLiu;
    /* background-color:antiquewhite; */
    position: absolute;
    margin: 50px;
    align-items: center; 
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .line button:hover {
    
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* 增大阴影 */
  }
}