*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: zhongdeng;
    font-weight: bold;
}
body{
    background-color: #faf7f8;
}
#logo{
    height: 30px;
    /* background-color: aquamarine; */
    transform: translateY(8px);
}
#my{
    position: relative;
    bottom: 0;
    height: 30px;
    /* background-color: blue; */
    transform: translateY(8px);
}
main{
    width: 100%;
    height: 100vh;
}
.banner{
    width: 100%;
    height: 100vh;
    background-image: url(../img/sofa.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.banner::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #706d6d80;
}
header{
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    /* background-color: rgb(97, 207, 12); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
header ul>li{
    list-style: none;
    display: inline-block;
    margin-left: 20px;
    height: 30px;
    line-height: 30px;
    width: 70px;
     position: relative;
     text-align: center;

    
}
header ul li a:hover{
    color: hsl(119, 55%, 22%);
}
header ul li a:hover .list{
    display: block;
}
header ul li a{
    text-decoration: none;
    color: white;
    display: inline-block;
    /* background-color: #2872b3; */
    line-height: 30px;
    height: 30px;
}
/* .nav-list{
    position: relative;
} */
.list{
    display: none;
    position: absolute;
    top: 30px;
    left: -20px;
    color: azure;
}
.list>li{
    display: block;
}
.list>li:hover{
   color: hsl(143, 82%, 22%);
}
#san3{
    width: 0px;
    height: 0px;
    border:5px solid transparent;
    border-top: 5px solid white;
    position: relative;
    top: 15px;
    left: 5px;
}
header ul li a:hover #san3{
    border: 5px solid transparent;
    border-bottom: 5px solid white;
    position: relative;
    top: -15px;
    left: 5px;
}
@font-face {
    font-family: "zongyi";
    src: url(../font/汉仪综艺体简.ttf);
}
@font-face {
    font-family: "zhongdeng";
    src: url(../font/汉仪中等线简.ttf);
}
h1{
    font-family: zongyi;
    color: white;
}
#slogen{
    position: absolute;
    top: 38%;
    left: 15%;
    z-index: 3;
    font-size: 50px;
    /* color: rgba(255, 255, 255, 0.716); */
}
.container-img{
    position: absolute;
    top: 600px;
    /* border: 1px solid black; */
    display: flex;
    width: 100%;
    height: 400px;
    /* background-color: #d6dbda; */
}
.left-box{
    flex: 1;
    /* background-color: aquamarine; */
}
.center-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 950px;
    height: 400px;
    /* background-color: blueviolet; */
}
.right-box{
    flex: 1;
    height: 400px;
    /* background-color: blue; */
}
.center-box>img{
    width: 280px;
}
.content{
    display: flex;
}
.left{
    flex: 1;
    height: 400px;
    /* background-color: #d6dbda; */
}
.center{
    width: 940px;
    height: 400px;
    display: flex;
    /* background-color: black; */
}
.right{
    flex: 1;
    height: 400px;
    /* background-color: hsl(168, 95%, 48%); */
}
.box1{
    flex: 1;
    height: 400px;
    /* background-color: hsl(249, 97%, 56%); */
    display: flex;
    justify-content: left;
    align-items: center;
}
.box2{
    flex: 1;
    height: 400px;
    /* background-color: #d6dbda; */
    display: flex;
    justify-content: right;
    align-items: center;
}
.box1>div{
    width: 80%;
    /* background-color: darkorange; */
    height: 80%;
    margin-top: 50px;
}
.box2>img{
    width: 90%;
}
.box1>div>p{
    line-height: 30px;
    font-size: 18px;
}
.btn-t{
    text-decoration: none;
    color: black;
    border-bottom: 2px solid #d9e016;
    padding-bottom: 5px;
}
h2{
    font-family: zhongdeng;
}
.btn-t:hover{
    color: goldenrod;
    border-bottom: 2px solid #d9e016;
}
.box1>img{
    width: 80%;
}
.box2>div>p{
    line-height: 30px;
    font-size: 18px;
}  
.box2>div{
    text-align: right;
    width: 80%;
    /* background-color: darkorange; */
    height: 80%;
    margin-top: 50px;
}
.content-img{
    display: flex;
    height: 405px;
}
.left-img{
    flex: 1;
}
.center-img{
    width: 940px;
    display: flex;
    justify-content: space-between;
}
.right-img{
    flex: 1;
}
.center-img>img{
    height: 405px;
}
.left-img>img{
    height: 405px;
    width: 100%;
}
.center>img{
    height: 300px;
}
.btn-2{
    height: 30px;
    display: inline-block;
    margin-top: 3px;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid #d9e016;
}
.btn-2:hover{
    color:goldenrod;
     border-bottom: 2px solid #d9e016;
}
footer{
    display: flex;
    background-color: #f2f2f2;
}
.footer-left,.footer-right{
    flex: 1;
    height: 200px;
    /* background-color: aquamarine; */
}
.footer-center{
    width: 940px;
    height: 200px;
    /* background-color: blue; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}
.footer-center h1{
    font-size: 50px;
    color: black;
}
.nav{
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}
.nav-item{
    text-decoration: none;
    color: black;
    padding: 0px 30px;
    border-right: 1px solid black;
}
.nav-item:last-child{
    border-right: none;
}
.nav-item:hover{
    color: goldenrod;
}
#backtop{
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 50px;
    height: 50px;
    background-color: hwb(69 88% 9%);
    border-radius: 5px;
    border: 1px solid lab(32.07% 0.83 0.29 / 0.288);
    box-shadow: 1px 2px 2px hsla(0, 1%, 27%, 0.716);
    display: none;
}
#backtop:hover{
    background-color: hwb(64 39% 18%);
    cursor: pointer;
    color: white;
}




