
/* 导航栏开始 */
:root{
    --color-primary:rgb(114, 120, 99);/* 鼠标指上去换色 */
    --color-white:rgb(252, 252, 252);/* 字体颜色 */
    --color-black:rgb(0, 0, 0);/* 背景颜色 */
    --color-black-l:rgb(255, 0, 153);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'open-sans','sans-serif';
}

li{
    list-style: none;
    white-space: nowrap;
    
}
a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    
}

a:hover{
    color:blue;
}
header{
    position: relative;
    padding: 0 2rem;
    background-color: var(--color-black);
    border: 1px solid rgb(100, 146, 215);
} 


.navbar{
    width: 100%;
    height: 60px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo img{/* 艾登堡logo */
    width: 200px;
    height: 150px;
}
.navbar .logo a{
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar .links{
    display: flex;
    gap: 2rem;
  
}

.navbar .toggle_btn{
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}
 .action-btn{
    background-color: blueviolet;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
} 
.action-btn:hover{
    scale: 1.0s;
    color:#fff;
}

.action-btn:active{
    scale: 0.9s;
}


 .dropdown_menu{
  /*   position: absolute;  */
    display: none;
    /* right: 1rem; */
    /* top: 60px; */
    height: 0;
    width: 100%;  /* 缩小栏大小  */
    background: #000000;
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32,1.275);
} 

.dropdown_menu.open{
    height: 240px;
 
}

.dropdown_menu li{
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown_menu .action-btn{
    width: 100%;
    display: flex;
    justify-content: center;
}

section#hero{
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}




 @media (max-width:700px){
    .navbar .links,
    .navbar .action-btn{
        display: none;
    }
    .navbar .toggle_btn{
        display: block;
    }

    .dropdown_menu{
        display: block;
    }
}

@media (max-width:500px){
    .dropdown_menu{
        left: 2rem;
        width: unset;
    }
}
 





.navbar{   
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: relative;

}
.navbar ul{
    list-style: none;
    display: flex;
}
.navbar ul li{
    padding: 10px 30px;
    position: relative;
}
.navbar ul li a{
    font-size: 20px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s;
}
 .navbar ul li a:hover{
    color:rgba(170, 170, 170, 0.626);
} 
.fas{
    float:right;
    margin-left: 10px;
    padding-top: 3px;
}
.dropdown-menu{
    display: none;
    z-index: 8;
} 
.navbar ul li:hover .dropdown-menu{
    display: block;
    position: absolute;
    left: 0;
    top:100%;
    background-color: var(--color-black);
}
.navbar ul li:hover .dropdown-menu ul{
    display: block;
    margin: 10px;
}
.navbar ul li:hover .dropdown-menu ul li{
    width: 150px;
    padding-left: 15px;
    
}
.dropdown-menu-1{
    display: none;
}
.navbar ul li:hover .dropdown-menu-1{
display: block;
position: absolute;
left: 150px;
top:0;
background-color: var(--color-black);
}
.navbar ul li:hover .dropdown-menu-2{
    display: block;
    position: absolute;
    left: 0;
    top:100%;
    background-color: var(--color-black);
}
.dropdown-menu-2{
    display: none;
    z-index: 8;
}
.navbar ul li:hover .dropdown-menu-2 ul{
    display: block;
    margin: 10px;
}
.navbar ul li:hover .dropdown-menu-2 ul li{
    width: 150px;
    padding-left: 40px;
}

.navbar ul li:hover .dropdown-menu-4{
    display: block;
    position: absolute;
    left: 0;
    top:100%;
    background-color: var(--color-black);
}
.dropdown-menu-4{
    display: none;
    z-index: 8;
}
.navbar ul li:hover .dropdown-menu-4 ul{
    display: block;
    margin: 10px;
}
.navbar ul li:hover .dropdown-menu-4 ul li{
    width: 150px;
    padding-left: 20px;
}

.btn a{
    padding-right: 45px;
}

/* 导航栏结束*/

/* 轮播图开始 */

#header{
    width: 100%;
    height: 130px;
    position: fixed;
    z-index: 99999;
}
#nav a{
    color: white;
    font-size: 18px;
    text-decoration: none;
}
#banner{
   
    width: 100%;
}
 .swiper-wrapper img{
    width: 100%;
  
   
} 
/* 轮播图结束 */

/*  热销产品开始  */
.main{
	width:100%;
	margin-top:40px;
}
.main .tag{
	margin:0 auto;
	width:200px;
	font-size:28px;
	border-bottom:1px solid #878787;
	text-align:center;
	margin-bottom:20px;
}
.main .images{	
	margin:0 auto;
 	width:1300px; 
/*  list-style: none;
 overflow: hidden;	 */
}
.main .images .mid{
	float: left;
	margin:5px;
   
   /*  height: 300px; */
	
}		
.main .images .mid img{
	width:250px;
	height:300px;

}	
.gengduo p a{
padding-left: 90%;
}

.main p a{/* 更多 */
    text-decoration: none;
    color: rgb(110, 124, 112);
    font-size: 13px;
    margin-right: 50px;/* 更多 */
    
}
.wenzi a{
text-decoration: none;
color: black;
}
.wenzi{
text-align: center;
background-color: #4c4c4e;
}


.wenzi p{
    color: #ccc;
}
 /* 热销产品结束 */ 

/* 简介开始 */
.title-2{
    padding-top: 50px;/* 整体简介 */
}

.tu img{ /* 关于公司图片 */
 width: 88%;
/*  height: 650px; */
 padding-top: 20px;
 margin-left: 90px;
 
}


.title-3 p{
   /* 关于公司 */
    margin:0 auto;
	width:200px;
	font-size:28px;
	border-bottom:1px solid #878787;
	text-align:center;
	margin-bottom:20px;
}
.title-4{
    padding-top: 20px;
    margin-left: 90px;
    font-size: 16px;
    
}

.title-5{
    margin-left: 90px;
    padding-right: 80px;
    font-size: 16px;
    margin-top: 15px;
}

/* 简介结束 */


/* 新闻开始 */
.xw p{/* 新闻资讯 */
    
    margin:0 auto;
	width:200px;
	font-size:28px;
	border-bottom:1px solid #878787;
	text-align:center;
	margin-bottom:20px;
    padding-top: 50px;
}
.news-list{
    position: relative;
    width: 980px;
    margin: 0px auto;
    padding-top: 50px;
    
}
.news-list ul li{
min-height: 100px;
padding: 20px 0;
border-bottom: 1px dashed #ccc;

}
.news-list ul li img{
    float: left;
    width: 150px;
    height: 100px;
    margin-right: 20px;
   padding-bottom: 20px;
}
.news-list ul li h3{
    color: #333;
    
    font-size: 20px;
    line-height: 40px;
    overflow: hidden;
    white-space: nowarp;
    text-overflow: ellipsis;
}
.news-list ul li h3 span{
    float: right;
    color:#fff;
    font-size: 16px;
    font-weight: normal;
}
.news-list ul li p{
    padding-top: 5px;
    color: #999;
    font-size: 14px;
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* 新闻结束 */



/* 页脚开始 */
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins" , sans-serif; 
   
}


footer{
    position:relative;
    background: rgb(0, 0, 0);
    width: 100%;
    bottom:0;
    left: 0;
    padding-top: 20px;
}
footer::before{
    content: '';
    position: absolute;
    left: 0;
    top: 100px;
    height: 1px;
    width: 100%;
    background: #AFAF86;
}
footer .content{
    background: rgb(0, 0, 0);
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
}
footer .content .top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;

  
}
.content .top .logo-details{
    color: #fff;
    font-size: 30px;
    
}
.content .top .media-icons{
    display: flex;
 
}
.content .top .media-icons a{
    height: 40px;
    width: 40px;
    background: rgb(232, 10, 10);
    margin: 0 8px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.4s ease;
  
}

.top .media-icons a:nth-child(1){
background: #db1b1b;
}
.top .media-icons a:nth-child(1):hover{
     color:#4267B2;
    background: #fff;
   
}

.top .media-icons a:nth-child(2){
    background: #1DA1F2;
    }
.top .media-icons a:nth-child(2):hover{
        color:#1DA1F2;
        background: #fff;
    }
    
.top .media-icons a:nth-child(3){
        background: #E1306C;
        }
.top .media-icons a:nth-child(3):hover{
            color:#E1306C;
            background: #fff;
        }    

 .top .media-icons a:nth-child(4){
            background: #0077b5;
            }
.top .media-icons a:nth-child(4):hover{
                color:#0077b5;
                background: #fff;
            }   
            
.top .media-icons a:nth-child(5){
                background: #FF0000;
                }
.top .media-icons a:nth-child(5):hover{
                    color:#FF0000;
                    background: #fff;
 }  
footer .content .link-boxes{
    width: 100%;
    display: flex;
    justify-content: space-between;
   
}
footer .content .link-boxes .box{
background: rgb(0, 0, 0);
width: calc(100% / 5 - 10px);
}
.content .link-boxes .box .link_name{
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
    
}
/* .logo_name img{
    width: 200px;
    height: 125px;
} */
.link-boxes .box .link_name::before{/*新皋智能下划线*/
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
}
.content .link-boxes .box
.content .link-boxes .box li{
    margin: 6px 0;
    list-style: none;
    
}
.content .link-boxes .box li a{
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease;
}
.content .link-boxes .box li a:hover{
opacity: 1;
text-decoration: underline;
}
.content .link-boxes .input-box{
    margin-right: 55px;
    
}
.link-boxes .input-box input{
    height: 40px;
    width: calc(100% + 55px);
    outline:none;
    border: 2px solid #AFAFB6;
    background: #000000;/*email背景  */
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    color: #fff;
    margin-top: 5px ;
}
.link-boxes .input-box input::placeholder{
    color: #AFAF86;
    font-size: 16px;
}
.link-boxes .input-box input[type="button"]{
    background:#fff;
    color: #000000;
    border: none;
    font-size: 18px;
    font-weight: 500;
    margin: 4px 0;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.4s ease;
}
.input-box input[type="button"]:hover{
    opacity: 1;
}

footer .bottom-details{
    width: 100%;
    background: #01063c;/* 尾部 */
}
footer .bottom-details .bottom_text{
    max-width: 1250px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
}
.bottom-details .bottom_text span,
.bottom-details .bottom_text a{
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}
.bottom-details .bottom_text a:hover{
    opacity: 1;
    text-decoration: underline;
}

.bottom-details .bottom_text a{
    margin-right: 10px;
}
@media (max-width: 900px){
    footer .content .link-boxes{
        flex-wrap: wrap;
    }
    footer .content .link-boxes .input-box{
        width: 40%; 
        margin-top: 10px;
    }
}
@media (max-width: 700px){
  footer{
    position: relative;
  }
    .content .top .logo-details{
    font-size: 26px;
  }
  .content .top .media-icons a{
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }
  footer .content .link-boxes .box{
    width: calc(100% / 3 - 10px);
    }
    footer .content .link-boxes .input-box{
        width: 60%;
    }
    .bottom-details .bottom_text span,
    .bottom-details .bottom_text a{
        font-size: 12px;
    }
}
@media (max-width: 520px){
    footer::before{
        top: 145px;
    }
    footer .content .top{
      flex-direction: column;
    }
    .content .top .media-icons{
        margin-top: 16px;
    }
    footer .content .link-boxes .box{
        width:  calc(100% / 2 - 10px);
    }
    footer .content .link-boxes .input-box{
        width: 100%;
    }
}
/* 页脚结束 */