/* 全局样式 */
body {
    background: linear-gradient(45deg, #e4efe9 0%, #b4bfd8 100%);

    }
/*下拉按钮样式*/
.dropbtn {    
    color: rgb(1, 1, 1);
    padding: 14px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    }

/*下拉按钮 下拉内容样式*/
.dropdown {
    position: fixed;
    top: 10px;
    right: 10px;
    display: inline-block;
    }
    
/*下拉内容列表样式*/
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0);
    ;}

/* 下拉内容中的链接样式 */
.dropdown-content a {
    color: rgb(38, 62, 113);
    padding: 12px ;
    font-size: 18px;
    text-decoration: none;
    display: block;}

/* 当鼠标悬停时 改变链接的背景颜色 */
.dropdown-content a:hover {color: #0dfa7f}

/* 当鼠标悬停在下拉菜单上时，显示下拉内容 */
.dropdown:hover .dropdown-content {
    display: block;
    }

/* 当鼠标悬停在按钮上时，改变背景颜色 */
.dropdown:hover .dropbtn {
    background-color: #fefefe;
    }

h1 {
    color: #0a92b8;
    text-align: center;
    font-size: 48px;
    font-family: 'MyCustomFont', sans-serif;
    margin-top: 140px;
    }
.custom-line {
    border: none;
    height: 1px;
    background-color: black;
    margin: 20px 0;
    }
h2 {
    
    text-align: center;
    font-size: 30px;
    margin-top: 50px;
    }
h3{
    text-align: center;
    font-size: 15px;
    }
p { 
    font-size: 25px;
    line-height: 1.5;
    text-align: center;
    }
a {
    color: #000000;
    text-decoration: none;
    }
@font-face {
    font-family: 'MyCustomFont'; /* 自定义字体名称 */
    src: url('DMSerifDisplay-Italic.ttf') format('woff2'), /* 字体文件的路径 */
         url('DMSerifDisplay-Regular.ttf') format('woff'); /* 字体文件的路径 */
    }
button {
    font-family: 'MyCustomFont', sans-serif; /* 使用自定义字体 */
    }

@media screen and (max-width: 800px) {
    .dropbtn {    
        color: rgb(1, 1, 1);
        padding: 8px;
        font-size: 14px;
        cursor: pointer;
        border-radius: 6px;
        }
    
    /*下拉按钮 下拉内容样式*/
    .dropdown {
        position: fixed;
        top: 5px;
        right: 5px;
        display: inline-block;
        }
        
    /*下拉内容列表样式*/
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: rgba(255, 255, 255, 0);
        ;}
    
    /* 下拉内容中的链接样式 */
    .dropdown-content a {
        color: rgb(38, 62, 113);
        padding: 6px ;
        font-size: 14px;
        text-decoration: none;
        display: block;}
    
    /* 当鼠标悬停时 改变链接的背景颜色 */
    .dropdown-content a:hover {color: #0dfa7f}
    
    /* 当鼠标悬停在下拉菜单上时，显示下拉内容 */
    .dropdown:hover .dropdown-content {
        display: block;
        }
    
    /* 当鼠标悬停在按钮上时，改变背景颜色 */
    .dropdown:hover .dropbtn {
        background-color: #fefefe;
        }
    
    h1 {
        color: #0a92b8;
        text-align: center;
        font-size: 30px;
        font-family: 'MyCustomFont', sans-serif;
        margin-top: 60px;
        }
    .custom-line {
        border: none;
        height: 1px;
        background-color: black;
        margin: 20px 0;
        }
    h2 {
        
        text-align: center;
        font-size: 20px;
        margin-top: 30px;
        }
    h3{
        text-align: center;
        font-size: 10px;
        }
    p { 
        font-size: 18px;
        line-height: 1.5;
        text-align: center;
        }
}