@font-face {
    font-family:'sysans_reg';
    src: url('https://www.yanyn.cn/fonts/SourceHanSansSC-Regular-2.woff2') format("woff2");
}

body {
    background-color: #E0E0E0;
}
/* 导航栏 */
nav {
    background-color: white;
    padding: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: black;
    text-decoration: none;
    padding: 25px 100px;
    display: block;
    font-family: 'sysans_reg', Sans-Serif;
    font-size: 19px;
}

/* 鼠标悬停效果 */
nav ul li a:hover {
    background-color: #00B3FF;
}

/* 响应式设计 */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        display: block;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        padding: 10px;
    }

}

about ul {
    background-color: white;
    font-family: 'sysans_reg', Sans-Serif;
    align-items: left;
    margin: 0;
    padding: 0;
    display: flex;
}

about h1 {
    font-size: 32px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 0.25s ease-in forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

footer {
  display: flex;
  justify-content: center;
  padding: 5px;
  position: fixed;
  width: 100%;
  bottom: 0;
  background-color: #1E1E1E;
  color: white;
  font-family: 'sysans_reg', Sans-Serif;
}

