@font-face{
    font-family: webFont;
    src: url(font.ttf) ;
  }
  
@font-face{
    font-family: Genshin;
    src: url(genshin.ttf) ;
}
  
@font-face{
    font-family: Hkrpg;
    src: url(hkrpg.ttf) ;
}
  
@font-face{
    font-family: ZZZ;
    src: url(zzz.ttf) ;
    font-weight: 500;
}

html,button{
    font-family: webFont, sans-serif;
}

.overlay{
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    top: 200px;
    background-color: rgb(241 241 241 / 25%);;
    backdrop-filter: blur(5px);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

  
#sidebar-button{
    height: 3.1rem;
    width: 3.1rem;
    padding: 3.3rem;
    transition:background-color 0.5s ease;
    border-radius: 50px;
    margin-left: 5%;
}

.sidebar-button:hover{
    background-color: hwb(0deg 83.13% 16.87% / 48%);
}

#topbar{
    background-color: hwb(0 97% 3% / 0.616);
    backdrop-filter: blur(10px);
    height: 180px;
    top:1%;
    align-items: center;
    position: fixed;
    display: flex;
    border-radius: 70px;
    left: 30px;
    right: 30px;
}

#title{
    display: flex;
    font-size:4rem;
    padding: 3rem;
    align-items: center;
}

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

#appicon{
    margin-top: 250px;
    height: 15%;
    justify-content: center;
    display: flex;
    clear: both;
}

#apptitle{
    font-size: 5rem;
    margin-bottom: 50px;
}

.content-div{
    margin-right: 30px;
    margin-left: 30px;
    margin-bottom: 50px;
    background: whitesmoke;
    padding: 30px;
    border-radius: 130px;
    border: 2px solid #d1cdcdd7;
}

.content-h1{
    font-size: 3rem;
    padding-left: 30px;
    font-weight: normal;
}

.content-p{
    font-size: 3rem;
    padding-left: 90px;
}

.linkbt{
    border-radius: 70px;
    font-size: 2.5rem; 
    padding: 30px;
    margin-left: 50px;
}

.sidebar {
    position: fixed;
    top: 200px;
    bottom: 0;
    left: -50rem; 
    width: 45%;
    background: #ffffff;
    transition: left 0.3s;
    font-size: 3rem;
    justify-content: center;
    border: 2px solid #d1cdcdd7;
    border-radius: 70px;
    padding: 30px;
    overflow-y: scroll;
    z-index: 1000;
}
  
#sidebar-list{
    list-style-type:none ;
    padding-left: 0;
    margin-bottom: 0;
}
  
#sidebar-list li{
    padding: 2rem 0px;
    width:100%;
    display: flex;
    justify-content: center;
    border: 2px solid #e9e9e9;
    margin-bottom: 50px;
    border-radius: 70px;
    transition:background-color 0.5s ease;
}

#sidebar li:hover {
    background-color: #e4e4e4;
} 
  
.close {
    position: absolute;
    top: 10px;
    right: 10px;
}

#fontList {
    display: block;
    background-color: #ffffff;
    min-width: 160px;
    z-index: 1;
    opacity: 0; 
    transition: opacity 0.5s ease; 
    list-style-type:none ;
    border-radius: 30px;
    padding-left: 0;
    text-align: center;
    overflow: hidden;
    border-radius: 90px;
    border: 2px solid #d1cdcdd7;
}
  
/* 列表项 */
#fontList li {
    padding:12px 16px;
}
  
/* 鼠标悬停效果 */
#fontList li:hover {
    transition:all 0.25s;
    background-color: #e4e4e4;
} 
  
#fontList ul {
    list-style-type: none;
    padding-left: 0;
}
  
/* 列表需要显现时，添加类 */
#fontList.visible {
    display: block;
    opacity: 1;
    
}

