
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Karla&display=swap');
html {
    scroll-behavior: smooth;
}
.nav-top{
    background-color: hsl(210,8%,95%);
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
    z-index: 100;
}
.main{
    position: relative;
    width: 100%;
    top: 80px;
    height: calc(100% - 80px);
}
.nav-top a {
    display: block;
    float: left;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}
.nav-top .nav-text.active{
    background-color: #333;
    color: #fff;
}
.nav-sub .active, .nav-sub2 .active{
    background-color: #333;
}
.nav-sub .active .nav-text, .nav-sub2 .active .nav-text{
    color: #fff;
}
.nav-top .nav-img{
    padding: 0px 20px 0px 20px;
}
.nav-top .nav-text{
    padding: 30px 20px 30px 20px;
    color: #333;
}
.nav-top .nav-text:hover{
    background-color: rgb(102, 101, 101);
    color: #fff;
}
.nav-sub, .nav-sub2{
    position: fixed;
    opacity: 0;
    pointer-events: none;
    top: 80px;
    width: 100%;
    background-color: hsl(210,8%,95%);
    height: 80px;
    overflow: hidden;
    z-index: 100;
}
.nav-sub li, .nav-sub2 li {
    padding: 30px 20px 30px 20px;
    display: block;
    float: left;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}
.nav-sub li:first-child {
    margin-left: 437px;
}
.nav-sub2 li:first-child {
    margin-left: 343px;
}
.nav-sub li a, .nav-sub2 li a{
    color: black;
    font-weight: bold;
    text-decoration: none;
}
.nav-sub.open, .nav-sub2.open{
    opacity: 1;
    pointer-events: visible;
}
.nav-sub li:hover, .nav-sub2 li:hover{
    background-color: rgb(102, 101, 101);
}
.nav-sub li:hover a, .nav-sub2 li:hover a{
    color: #fff;
}
.product.hover, .product2.hover{
    background-color: rgb(102, 101, 101);
    color: #fff;
}
#footer{
    background-color: #000;
    width: 100%;
}
.explore a, .contact a, .cond a{
    display: block;
    font-size: 12px;
    color: #adb5bd;
    text-decoration: none;
    line-height: 80%;
}
.explore a:hover, .contact a:hover, .cond a:hover {
    color: #8f9499;
}
#myBtn{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 30px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 5px 10px 5px 10px;
}
.footer-logo{
    display: block;
    margin: auto;
}
.nav-sub0{
    position: fixed;
    top: 80px;
    width: 250px;
    background-color: hsl(210,8%,95%);
    height: 80vh;
    overflow: hidden;
    z-index: 100;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: none;
    border-bottom: 1px solid #333;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    opacity: 0;
    pointer-events: none;
}
.nav-sub0 ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.nav-sub0 li{
    padding: 10px 10px 10px 50px;
}
.nav-sub0 ul li{
    padding: 10px 10px 10px 70px;
}
.nav-sub0 li a{
    text-decoration: none;
    color: #000;
}
.nav-sub0 li:hover{
    background-color: rgb(102, 101, 101);
}
.nav-sub0 li:hover a{
    color: #fff;
}
.nav-sub0 li.active{
    background-color: #333;
}
.nav-sub0 li.active a{
    color: #fff;
}
.bx-menu{
    color: black;
    opacity: 0;
    font-size: 20px;
}
@media only screen and (max-width: 768px) {
  .nav-top .nav-text{
    display: none;
  }
  .nav-top .nav-img{
      pointer-events: visible;
      cursor: pointer;
  }
  .nav-top .nav-img i{
      opacity: 1;
  }
  .nav-sub0{
      opacity: 1;
      pointer-events: visible;
      cursor: pointer;
    }
    .bx-menu{
        opacity: 1;
    }
}
@media only screen and (max-width: 1000px) {
    .footer-logo{
        width: 100px;
    }
}
