* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}
/* 全局滚动条样式 */
::-webkit-scrollbar {
    width: 10px;          /* 垂直滚动条宽度 */
    height: 10px;         /* 水平滚动条高度 */
  }
  
  ::-webkit-scrollbar-track {
    background: transparent;  /* 轨道透明 */
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: #4b55636e;      /* 滑块颜色 */
    border-radius: 10px;
    border: 2px solid rgba(200, 25, 25, 0);  /* 白色边框 */
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #374151;      /* 悬停颜色 */
  }
body {
    width: 100%;  
    display: flex;
    background-image: url(../images/background/body.jpg) ;
    background-size: cover;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    overflow-y: overlay;      /* 关键：滚动条覆盖模式 */
}


#nav {
    position: relative;
    border: none;
    border-radius: 10em;
    display: flex;
    list-style: none;
    background: #f5f5f5;
    box-shadow: 20px 40px 40px #00000033;
    padding: 10px;
    margin: 10px auto;

}

#nav li a {
    position: relative;
    padding: 15px 50px;
    font: 500 24px "微软雅黑";
    border: none;
    outline: none;
    color: rgb(70, 100, 100);
    display: inline-block;
    text-decoration: none;
    z-index: 4;
}

.slide1,
.slide2 {
    position: absolute;
    display: inline-block;
    height: 60px;
    border-radius: 10em;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1.05);
}

.slide1 {
    background-color: rgb(170, 190, 255);
    z-index: 3;
}

.slide2 {
    opacity: 0;
    background-color: rgba(170, 190, 255, .5);
    z-index: 2;
    box-shadow: 0 0 20px #ffffffaa inset;
}

.squeeze {
    transform: scale(0.9);
}

.router {
    width: 90%;
    /* height: 15%; */
    text-align: center;
    font-size: x-large;
    margin: 1% 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.nav {
    padding: 5px 10px;
    border-radius: 20%;
    background-color: aqua;

}

.nav:hover {
    box-shadow: 0px 15px 15px 10px rgba(0, 0, 0, 0.5);
    ;
}

.nav:hover {
    background-color: beige;
    color: blue;
}

.content {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

.content .link {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
    background-color: rgba(206, 214, 224, 0.5);
    border-radius: 20px;
    box-shadow: 0px 10px 20px 5px rgba(0, 0, 0, 0.5);

}

.content .link .link_content {
    text-align: center;
    margin: 0 auto;
    display: inline-flex;
}

.link:link {
    color: black;
}

.link:visited {
    color: black;
}