/* 重置样式 */

@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: SourceHanSansSC-VF;

  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-image: url(../image/background2.jpg);
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat;
}


.container {
  text-align: center;
}

/* 标题样式 */
.header {
  margin-bottom: 120px; /* 增加标题与分区的间距 */
}

.header h1 {
  font-size: 7.5rem; /* 增大标题字体 */
  color: #444;
  font-weight: bold;
  font-style:italic;
}

.header h2 {
  font-size: 1.5rem; /* 增大标题字体 */
  margin-top: 70px;
}

/* 分区样式 */
.sections {
  display: flex;
  justify-content: center;
  gap:130px; /* 增加分区之间的间距 */
}

.section {
  width: 400px; /* 增大分区宽度 */
  height: 400px; /* 增大分区高度 */
  background-color: #ffffff8e;
  border: 1px solid #ddd;
  border-radius: 15px; /* 增大圆角 */
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

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

.section p {
  font-family: bbch;
  text-decoration: none;
  color: #333;
  font-size: 3.5rem; /* 增大分区内文字 */
}

@media (max-width: 600px) {
  body {
    background-image: url(../image/background3.jpg);
  }
  .header {
    margin-bottom: 120px; 
  }
  .header h1 {
    font-size: 3.2rem; 
  }
  .header h2 {
    font-size: 0.8rem;
    margin-top: 30px;
  }
  .sections {
    gap:20px;
  }
  .section {
    width: 100px;
    height: 100px;
  }
  .section p {
    font-size: 1.5rem;
  }
}