*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
a:hover{
    text-decoration: none!important;
}
#main{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#nav,.nav2,.nav3{
    display: flex;
    width: 100%;
    height: 50px;
   opacity: 0.7;
    z-index: 100;
}
#nav{
    position: absolute;
    background-color: #4F4F4F;
}
.nav2{
    position:sticky;
    background-color: black;
}
.logo{
    width: 40%;
    height: 100%;
}
.logo-link{
    display: block;
    color: white;
    text-align: center;
    font-size: 18px;
    line-height: 50px;
}
.bar{
    width: 60%;
    height: 100%;
}
.bar-item{
    position: relative;
    width: 20%;
    float: left;
    height: 100%;
    color: white;
}
.bar-item:hover .bar-second{
    display: block;
}
.bar-item:hover #san{
    display: block;
}
.link{
    display: block;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 15px;
}
.link:hover{
    color: white;
    /*animation:mymove 5s infinite;
    border-bottom: 5px solid #FF6347;*/
    
}
.bar-second{
    position: absolute;
   z-index: 100!important;
    left: 0;
    top: 46px;
    width: 100%;
    background-color: white;
    display: none;
    border-radius: 10px;
}
#san{/*三角形*/
    position: absolute;
    top: 30px;
    left: 0;
    width: 0;
    height: 0;
    margin-left: 42%;
    border:10px solid transparent;
    border-bottom-color: white;
    display: none;
}
.bar-second-item{
    margin-top: 10px;
}
.link-second:hover{
    background-color: #FF6347;
    color: white;
}
.link-second{
    display: block;
    font-size: 14px;
    text-align: center;
    color:black;
    padding: 5px;
}
#carouselExampleIndicators{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.carousel-inner,.carousel-item{
    height: 100%;
}
#btn-right{
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: 0;
    background-color: black;
    border-style: none;
    color: white;
    opacity: 0.6;
    z-index: 100;
    display: none;
}
.move-bar{
    position: absolute;
    width: 50px;
    top: 50px;
    right: 0;
    z-index: 100;
    background-color: black;
    display: none;
  }
  #s{
    font-size: 12px;
    line-height: 30px;
  }
  

 /*移动端*/
 @media screen and (max-width:760px) and (min-width:375px){
    .bar{
      display: none;
    }
    .logo{
      width: 100%;
    }
    #btn-right{
        display: block;
    }
    
 }
 /*移动端*/
 @media screen and (max-width:375px) and (min-width:200px) {
   .bar{
     display: none;
   }
   .logo{
     width: 100%;
   }
   .logo{
    width: 100%;
  }
  #btn-right{
      display: block;
  }
   
 }
