/* 引入网络字体：Poppins */
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*{
    font-family: "Poppins";
    transition: 0.6s;
}
h2{
    color:rgba(56, 56, 56, 0.486);
    text-align: center;
    line-height: 8px;
}
/* 空白盒子  不加导航栏会挡住图片 */
.kon{
    height: 98px;
    width: 100%;
}
body{
    background-color: #818181;
}
/* 顶部装logo和导航栏的盒子 */
header{
    /* 固定位置 */
    position: fixed;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;   
    margin: 0 auto;
    border: 0px solid rebeccapurple;
    /* 动画过渡 */
    transition: 0.9s;
    z-index: 2;
    /* 粘性定位  使用粘性定位整个盒子固定住往下拉不变色*/
    /* position: sticky; */
    top: 0;
    /* background-color: rgb(255, 255, 255); */
}
/* 下拉的时候导航栏变色 */
header.sticky{
    width: 100%;
    height: 100px;
    background-color: #9393936c;
}
/* 下拉的时候导航栏字体变色 */
header.sticky .logo a,header.sticky .PCdaohang a{
    color: #ffffff;
}
/* LOGO部分 */
.logo{
    width: auto;
    height: auto;
    border: 0px solid saddlebrown;
    flex-grow: 3;
    display: flex;
    justify-content: center;
}
.logo a{
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.logzi{
    font-size: 12px;
    line-height: 0;
    font-weight: bold;
}
.logo h1{
    margin-top: 45px;
    line-height: 8px;
}
/* 导航栏部分 */
.PCdaohang{
    display: flex;
    /* border: 1px solid palegreen; */
    flex-grow: 1;
}

/* 隐藏移动端设置 */
.MOVEdaohang{
    display: none;
}

.PCdaohang a {
    font-size: 20PX;
    padding: 0 15px;
    width: 120px;
    height: 100px;
    text-align: center;
    /* 上下居中 */
    line-height: 100px;
    /* 下滑线最重要的部分  不加的话线是全局显示，加了后才精确到每一个a标签   相对定位 */
    position: relative; 
    color: rgb(0, 0, 0);
    text-decoration: none;
    /* 字间距 */
    letter-spacing: 5px;
    /* 动画效果 */
    transition: 0.6s;  
    font-weight: 550;
    /* border: 1px solid saddlebrown; */
}
.PCdaohang a:after{
  content: "";
  /* 绝对定位 */
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  width: 0%;
  /* 线的颜色 */
  border-bottom: 3px solid rgb(255, 255, 255);
  opacity: 0.5;
  transition: all linear 0.5s;
}
.PCdaohang a:hover{
    color: rgb(255, 255, 255);
}
.PCdaohang a:hover::after{
  left: 0;
  width: 100%;
  /* 不透明度 */
  opacity: 1.0;
  /* 效果过度速度 */
  transition: all linear 0.5s;
}

/* 大张可视图 */
#main{
    width: 100%;
    height: 600px;
    border-radius: 15px;
    border: 0px solid salmon;
}
#main img{
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
/* 公司主要经营项目 */
.container{
    position: relative;
    /* 弹性布局 水平+垂直居中 */    
    display: flex;
    justify-content: center;
    align-items: center;
    /* 让弹性盒元素在必要的时候拆行 */
    flex-wrap: wrap;
    z-index: 1;
    /* background-color: #939393; */
    height: 650px;
    border: 0px solid salmon;
}

.container .card{
    /* 相对定位 */
    position: relative;
    height: 400px;
    width: 10%;
    background-color: rgba(255, 254, 255,0.1);
    margin: 30px;
    border-radius: 15px;
    /* 阴影 */
    box-shadow: 20px 20px 50px rgba(92, 92, 92, 0.5);
    /* 溢出隐藏 */
    overflow: hidden;
    /* 弹性布局 水平+垂直居中 */    
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 254, 255,0.5);
    border-left: 1px solid rgba(255, 254, 255,0.5);
    /* 背景模糊 */
    backdrop-filter: blur(5px);
}

.container .card .content{
    padding: 20px;
    text-align: center;
    /* 默认下移+隐藏 */
    transform: translateY(30px);  
    opacity: 0.8;  
    transition: 0.5s;
}

.container .card:hover .content{
    /* 鼠标移入，上移+显示 */
    transform: translateY(0);    
    opacity: 1;
}

.container .card .content h2{
    position: absolute;
    top: -80px;
    right: 25px;
    font-size: 128px;
    color: rgba(218, 62, 224, 0.664);
}

.container .card .content h3{
    font-size: 28px;
    color: rgb(0, 0, 0);
}

.container .card .content p{
    font-size: 16px;
    color: rgb(0, 0, 0);
    font-weight: 300;
    margin: 10px 0 15px 0;
}

.container .card .content a{
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-top: 15px;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0,0.2);
}

/* 关于我们 */
#us{
    margin-top: 50px;
    /* background-color: rgba(248, 250, 249, 0.342); */
    width: 100%;
    height: 850px;
    border: 0px solid salmon;
}
.introduce{
    width: 60%;
    height: 80%;
    margin: 0 auto;
    display: flex;              /*管理两个子盒子的排列方式*/
    justify-content: space-around;    /*管理两个子盒子的排列方式*/
    /* background-color: aquamarine; */
}

/* 粉色框 */
.pink{
    width: 30%;
    height: 80%;
    border-radius: 25px;
    background-color: #ebd482;
    /* display: flex;
    justify-content: space-around; */
} 
/* 图片 */
.five{
    margin-top: 50px;
    margin-left: 9%;
    width: 80%;
    height: 200px;
    /* border: 1px solid saddlebrown; */
}
.five img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
.six{
    margin-top: 20px;
    margin-left: 9%;
    width: 80%;
    height: 200px;
    /* border: 1px solid saddlebrown; */
}
.six img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
/* 蓝色框 */
.blue{
    width: 50%;
    height: 80%;
    border-radius: 25px;
    background-color: #1e3b7a;
    font-weight: bold;
}
.blue p{
    margin-top: 20px;
    margin-left: 30px;
    margin-right: 30px;
    line-height: 27px;
}
/* 成功案例 */
#successful{
    width: 80%;
    height: 850px;
    margin: 0 auto;
    border-radius: 25px;
    /* background-color: aquamarine; */
}
/* 具体内容 */
.chenggong{
    width: 30%;
    height: 500px;
    margin: 0 auto;
    border-radius: 25px;
    /* background-color: rgb(21, 130, 255); */
}

/* 项目详细介绍文字部分 */
.text{
    width: 90%;
    height: 400px;
    text-align: center;
    margin: 0 auto;
    margin-top: 30px;
    /* background-color: rgb(67, 180, 255); */
}
hr{
    color: rgba(119, 117, 117, 0.514);
    width: 90%;
}

/* 结束部分 */
#end{
    width: 80%;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    /* background-color: rgb(163, 89, 89); */
}
#end div:nth-child(1){
    width: 50%;
    height: 300px;
    margin-top: 20px;
    /* background-color: aquamarine; */
}
#end div:nth-child(2){
    width: 30%;
    height: 300px;
    
    /* background-color: rgb(51, 95, 80); */
}
#end div:nth-child(3){
    width: 50%;
    height: 300px;
    line-height: 300px;
    text-align: center;
    /* background-color: blueviolet; */
}
#end div:nth-child(3) img{
    width: 34%;
    height: 30%;
    object-fit: cover;
}
.endend{
    height: 20px;
    width: 80%;
    margin: 0 auto;
    /* background-color: bisque; */
    text-align: center;
    color:#ffffff;
}
.endend a{
    text-decoration:none;
    display:inline-block;
    color:#ffffff;
}
.gongan{
    color:#ffffff;
}
.gongan a{
    color:#ffffff;
}