@font-face {
    font-family: 'ENFA';
    src: url('./font/enA.ttf') format('truetype');
    unicode-range: U+0000-007F;
}
@font-face {
    font-family: 'ENFB';
    src: url('./font/enB.ttf') format('truetype');
    unicode-range: U+0000-007F;
}
@font-face {
    font-family: 'ZHFA';
    src:url('./font/zhA_main.woff2') format('woff2');
}

.header {
    display: flex;
    align-items: center; 
    background-color: #f9faff;
    overflow: hidden;
    margin: 0;
    padding: 0 20px;
}
.header h1 {
    float: left;
    color: #000000;
    text-align: center;
    font-size: 24px;
    margin-right: 20px;
    font-family: "ZHFA", sans-serif;
}
.header a {
    float: left;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}


.main{
    background-color: #f9faff;
    padding: 100px 90px;
}
.main .text {
    font-size: 78px;
}
.main .text .textA {
    color: #494949;
    font-family: "ZHFA", sans-serif;
}
.main .text .textB {
    color: #587efd;
    font-family: "ENFA", sans-serif;
}

.main button{
    vertical-align: middle; 
    width: 130px;
    height: 45px;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 15px;
    text-align: center;
}
.main .buttonA{
    background-color: #007bff;
    color: white;
    margin-right: 15px;
}
.main .buttonB{
    background-color: #ffffff;
    color: #000000;
}

.background{
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    margin: 25px 0;
}
.projects{
    display: block;
    justify-content: flex-start;
}
.projects h2{
    font-size: 34px;
    color: #0f9050;
    font-family: "ZHFA", sans-serif;
}
.blocks{
    display: flex;
    gap: 30px;
    justify-content: center; 
    margin-bottom: 55px;
}
.blocks .inner{
    box-sizing: border-box;
    border: 1px solid #b1b1b1;
    border-radius: 10px; 
    width: 400px;
    padding: 20px;
    transition: background-color 0.7s ease;
}
.blocks .inner img,
.blocks .inner h1 {
    display: inline-block;
    font-family: "ENFB", sans-serif;
}
.blocks .inner:hover {
    background-color: #eaeefd;
    transition: background-color 0.7s ease;
}

.info {
    background-color: #f9faff;
    padding: 25px 90px;
    padding-bottom: 15px;
    font-size: 22px;
    /*font-family: "ZHFB", sans-serif;*/
}
.info .quote{
    margin: 20px 0;
    font-size: 26px;
    font-family: "ZHFA", sans-serif;
}

.news{
    width: 1240px;
    justify-content: flex-start;
    margin-bottom: 40px;
    font-size: larger;
}
.news h2{
    font-size: 34px;
    color: #d58113;
    font-family: "ZHFA", sans-serif;
}

.footer {
    padding: 25px 16px;
    background-color: #001c37;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    overflow: hidden;
}
.footer a {
    color: #ffffff;
    text-decoration: none;
}

.page404{
    background-color: #f9faff;
    overflow: hidden;
    padding: 200px 0;
}
.page404 h1{
    text-align: center;
}
.page404 .text{
    display: flex;
    justify-content: center;
}
.page404 .text button{
    vertical-align: middle; 
    width: 200px;
    height: 40px;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    line-height: 15px;
    text-align: center;
    background-color: #007bff;
    color: white;
    margin-right: 15px;
}