@font-face {
    font-family: 'bt';
    src: url('../font/优设标题黑.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}
body{
    margin: 0;
    padding: 0;
    list-style: none;
    background:url(../image/bg.jpg);
}
.dyp{
    background-image: url(../image/dp2.png); 
      background-size: cover;/*背景图覆盖整个容器 */
     background-position: center; /*背景图居中 */
     background-attachment: scroll;/* 固定背景图 */
}
.header {
    background-color: #132017; /* 深绿色 */
    color: #eaeaea;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
}
.logo {
    display: flex;
    align-items: center; 
}
.logo img {
    height: 28px; /* Logo 图标高度 */
    margin-right: 10px; /* Logo 与品牌名称之间的间距 */
}
.brand-name {
    font-family: 'bt';
    font-size: 20px;
    font-weight: 100;
}
ul,li{
    padding: 0;
    margin: 0;
    list-style: none;
}
.box-nav{
    width: 60%;
    display: flex;
    left: 40%; 
}
.nav{
    z-index: 50;
    width: 900px;
    height: 6vh;
    margin-left: auto;
    display: flex;
}
.nav a{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #eaeaea;
}
.nav>.item{
    width: 20%;
    height: 100%;
    position: relative;
    transform: .4s;
}
.list{
    position: absolute;
    top: 90%;
    width: 100%;
    overflow: hidden;
    max-height: 0px;
    transition: .4s;
    border-radius: 0 0 10px 10px;
    background-color: #132017;
    z-index: 1;
}
.itemTwo{
    height: 65px;
}
.nav>.item:hover{
    background-color: #32ab0a;
}
.nav>.item:hover>.list{
    max-height: 500px;
}
a{
    text-decoration: none;
}
.itemTwo:hover{
    background-color: #32ab0a;
}
.tupian {
    height: 94vh;/*  占据屏幕高度的80%，确保大屏显示效果 */
    display: flex;
    align-items: center; /* 文字居中 */
    justify-content: center;
    position: relative;
}
.tupian img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 94%;
    object-fit: cover; /* 确保图片覆盖整个容器 */
    z-index: 1; /* 确保图片在背景图之上 */
}
.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1; /* 确保文字在图片之上 */
    color: white; /* 设置文字颜色以便在背景图上显示 */
    text-align: center;
}
.text-overlay1{
    position: absolute;
    top: 20%;
    text-align: center;
}
.text-overlay1 h1 {
    color: #70DA5D;
    font-family: 'bt';
    font-size: 10rem;
    font-weight: 100;
    text-transform: uppercase;
    text-align: center;
}
.tupian p{
    color: #e3f0de;
    z-index: 2;
    text-align: center;
    width: 80%;
    padding-top: 25%;
    animation:slideInFromBottom2 1.5s ease-in-out;
}

/* 定义滑入式动画 */
@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideInFromBottom2 {
    0% {
        transform: translateY(40%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* 应用滑入式动画到 .text-overlay1 */
.text-overlay1 {
    animation: slideInFromBottom 1.5s ease-in-out;
}

/* .text-overlay h3 {
    font-family: 'bt';
    font-size: 50px;
    margin: 0;
}
.text-overlay h1{
    font-family: 'bt';
    font-size: 150px;
    text-align: center;
    color: #84cf6a;
    font-weight: 100;

}
.text-overlay p{
    width: 50%;
    font-family: 'bt';
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
    color: #d9e8d4;
    font-weight: 100;

} */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url(../image/bg.png) fixed no-repeat center/cover;
}
/* ::-webkit-scrollbar{
    width: 20px;
}
::-webkit-scrollbar-track{
    background-color: #444c47;
} */
