@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: 'Josefin Sans', sans-serif;
}
.wrapper{
  display: flex;
  position: relative;
}

#logo {
width: 240px;
height: 45px;
position: relative;
left: 5px;
bottom: 15px;
border-radius: 7px;
}

.wrapper .sidebar{
  width: 250px;
  height: 100%;
  background: #4b4276;
  padding: 30px 0px;
  position: fixed;
  z-index: 999;
}
.sub-menu li {
  line-height: 4rem;
}
.sub-menu {
  width: 20rem;
  display: block;
  position: absolute;
  border-top: 3px solid var(--main-color);
  background-color: #191919;
  top: 16rem;
  transition: all 250ms ease;
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  -ms-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  opacity: 0;
}

.sub-menu::before {
  content: '';
  position: absolute;
  top: -2.5rem;
  left: 3rem;
  border: 1.2rem solid transparent;
  border-bottom: 1.2rem solid var(--main-color);
}

.sub-menu .sub-menu::before {
  top: .9rem;
  left: -2.5rem;
  border: 1.2rem solid transparent;
  border-right-color: var(--main-color);
}

.sub-menu .sub-menu {
  border-top: none;
  border-left: 3px solid var(--main-color);
  top: 0;
  left: 160%;
}
.nav-list li:hover>.sub-menu {
  top: 8rem;
  opacity: 1;
  visibility: visible;
}

.sub-menu li:hover>.sub-menu {
  top: 0;
  left: 100%;
}

li.move-right {
  margin: auto 0 auto auto;
  line-height: initial;
}
.wrapper .sidebar h2{
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
}

.wrapper .sidebar ul li{
  padding: 15px;
  border-bottom: 1px solid #bdb8d7;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  border-top: 1px solid rgba(255,255,255,0.05);
}    

.wrapper .sidebar ul li a{
  color: #fff;
  display: block;
}

.wrapper .sidebar ul li a .fas{
  width: 25px;
}

.wrapper .sidebar ul li:hover{
  background-color: #594f8d;
}
    
.wrapper .sidebar ul li:hover a{
  color: #fff;
}
 
.wrapper .sidebar .social_media{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.wrapper .sidebar .social_media a{
  display: block;
  width: 45px;
  padding-top: 10px;
  background: #594f8d;
  height: 50px;
  line-height: 45px;
  text-align: center;
  margin: 0 5px;
  color: #bdb8d7;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.wrapper .main_content{
  width: 100%;
  height: 550px;
  margin-left: 250px;
}
.fa-brands {
  font-size: 30px;
}
.fa-regular{
  font-size: 30px;
}
#crystalViedo{
  position:relative;
  bottom:180px;
  width: 100%;
  height: 490px;
  background-color:rgba(228, 224, 224, 0.644) ;
}
.wrapper .main_content .header{
  background: #fff;
  color: #717171;
  border-bottom: 1px solid #e0e4e8;
}
.header{
  padding-top: 25px;
  padding-left: 20px;
}
.wrapper .main_content .info{
   color: white;
   margin-top: 18%;
   line-height: 25px;
}
footer{
  position: relative;
  width: 80%;
  margin-left: 20%;
  height: auto;
  padding: 50px 60px;
  background: #00026d;
}
footer .container1{
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  grid-gap: 10px;
}
footer .container1 .sec h2{
  position: relative;
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
}

footer .container1 .sec h2::before{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #ff008c;
}
footer .container1 .sec p{
  font-size: 16px;
  line-height: 26px;
  color: #fff;
}
.socila-icon{
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 40px);
  grid-gap: 10px;
}
.socila-icon li{
  list-style: none;
}
.socila-icon li a{
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  height: 40px;
  width: 40px;
  display: inline-block;
  background: #e4571f;
  border-radius: 50%;
  display: grid;
  align-content: center;
  justify-content: center;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.socila-icon li a::before{
  content: '';
  position: absolute;
  height: 40px;
  width: 0;
  top: 0;
  left: 0;
  background: #1589d6;
  transition: 0.5s;
  z-index: -1;
}
.socila-icon li a:hover::before{
  width: 40px;
}
.usefullinks{
  position: relative;
}
.usefullinks li{
  list-style: none;
}
.usefullinks li a{
  text-decoration: none;
  font-size: 16px;
  list-style: none;
  line-height: 30px;
  color: #fff;
  transition: 0.3s;
}
.usefullinks li a:hover{
  color: #ff008c;
}
.shop{
  position: relative;
}
.shop li{
  list-style: none;
}
.shop li a{
  text-decoration: none;
  font-size: 16px;
  list-style: none;
  line-height: 30px;
  color: #fff;
  transition: 0.3s;
}
.shop li a:hover{
  color: #ff008c;
}
.info{
  position: relative;
}
.info li{
  display: grid;
  grid-template-columns: 35px 1fr;
  margin-bottom: 20px;
}
.info li span{
  color: #fff;
  font-size: 16px;
  line-height: 26px;
}
.info li span i{
  color: #fff;
  font-size: 20px;
}
.info li span i.bx{
  margin-top: 4px;
}
footer .container1 .sec p a{
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
footer .container1 .sec p a:hover{
  color: #ff008c;
}
.copyright{
  position: relative;
  padding: 16px 20px;
  background: #000151;
  width: 80%;
  margin-left: 20%;
}
.copyright p{
  font-size: 14px;
  color: #fff;
  text-align: center;
}

#ourproducts{
  background-color:rgb(248, 240, 240);
  height: 1080px;
  border: 2px solid transparent;
}
.container2{
 border:2px solid transparent ;
 width: 70%;
 margin-left:25% ;
}
.container2 .heading1{
  text-align: center;
   padding-top: 8%;
  color:#252424;
  font-size: 35px;
  font-weight: 600;
  font-family: sans-serif;
}
.container2 .box-container1{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:40px;
  margin-top: 5%;
}

.container2 .box-container1 .box1{
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
  border-radius: 5px;
  background: #fff;
  text-align: center;
  padding:12px 0px;
}
.container2 .box-container1 .box1:hover{
  background-color: gainsboro;
}
.container2 .box-container1 .box1 img{
  height: 150px;
  width: 150px;
  border: 0.5px solid rgb(224, 224, 231);
}

.container2 .box-container1 .box1 h3{
  color:#444;
  font-size: 18px;
  padding:5px 0;
}

.container2 .box-container1 .box1 p{
  color:#777;
  font-size: 15px;
  line-height: 1.8;
}
.box1 a{
   text-decoration: none;
}
.box1 button{
  padding: 8px 10px;
  border: none;
  background-color: #d1cce7;
  font-size: 18px;
  border-radius: 10px;
  margin-top: 10px;
}
.container2 .box-container1 .box1 .btn{
  margin-top: 10px;
  display: inline-block;
  background:#333;
  color:#fff;
  font-size: 17px;
  border-radius: 5px;
  padding: 8px 20px;
}

.container2 .box1-container2 .box1 .btn:hover{
  letter-spacing: 1px;
}

.container2 .box1-container2 .box1:hover{
  box-shadow: 0 10px 15px rgba(0,0,0,.3);
  transform: scale(1.03);
}

#subMenu{
  display: block;
 }
 #contact{
  margin-left: 80%;
  position: relative;
  bottom: 10px;
 }
 #contact a{
  color: black;
 }
 .bx{
  font-size: 20px;
 }

 .copyright span a{
  text-decoration: none;
  color: #e0e4e8;
  }

@media screen and (320px <= width <= 480px){
  .wrapper .sidebar{
    background-color:#4b4276;
    height: 100%;
    width: 90px;
    position: fixed;
    z-index: 999;
  }

  .wrapper .sidebar ul li{
    font-size: 8px;
    padding: 7px;
  }

  .wrapper .sidebar ul{
    position: relative;
    bottom: 5%;
  }
  
  .sidebar #logo{
    height: 26px;
    width: 80px;
    position: relative;
    left: 5%;
    bottom: 4.8%;
    border-radius: 3px;
  }

  .wrapper .main_content{
    margin-left: 90px;
    height: 300px;

  }
  .wrapper .main_content .header{ 
    padding-top: 0;
    padding-left: 0;
    height: 60px;
  }

  .wrapper .main_content .header h2{
    font-size: 13px;
    display: inline-block;
    margin-top: 10px;
  }

  .wrapper .main_content .header p{
    font-size: 10px;
    position: absolute;
    right: 23%;
    top: 10%;
    width: max-content;
  }

  
  .wrapper .main_content .header p a i{
    font-size: 12px;
    
  }
  .wrapper .sidebar .social_media{
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
  }

  .wrapper .sidebar .social_media i{
    font-size: 13px;
    position: relative;
    bottom: 22px;
  }

  .wrapper .sidebar .social_media a{
    width: 16px;
    height: 17px;
  }

  .wrapper .main_content .info{
    height: 200px;
    margin-top: 0;
    line-height: 1;
  }

  .wrapper .main_content .info #crystalViedo{
    height: 250px;
    position: relative;
    top: 0;
    }

  #ourproducts{
    height: 70rem;
  }

  #ourproducts .container2 .heading1{
    font-size: 16px;
  }
 
  .container2 .box-container1 .box1{
    padding: 5px 0px;
  }

  .container2 .box-container1{
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap:15px;
  }

  .container2 .box-container1 .box1 h3{
    font-size: 15px;

  }
  .container2 .box-container1 .box1 img{
    height: 80px;
    width: 80px;
  }

  .container2 .box-container1 .box1 button{
    padding: 5px 6px;
    font-size: 12px;
    margin-top: 5px;
  }

  footer{
    width: 78%;
    margin-left: 22%;
    margin-top: 1%;
    padding: 15px 20px;
  }

  footer .container1{
   display: grid;
   grid-template-columns: repeat(1,1fr);
   grid-gap: 10px;
  }

  footer .container1 .sec h2{
    font-weight: 200;
    font-size: 15px;
  }

  footer .container1 .sec h2::before{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 55px;
    height: 3px;
    background: #ff008c;
  }


  footer .container1 .sec p{
    font-size: 12px;
    line-height: 12px;
  }

  .socila-icon li a{
    height: 25px;
    width: 25px;
  }

  .usefullinks, .shop{
    display: none;
  }

 footer .contact ul li span{
font-size: 12px;
 }

 footer .contact ul li span i{
  font-size: 13px;
 }

 footer .contact ul li p a{
  font-size: 6px;
 }

 .shop ul li a, .usefullinks ul li a{
  font-size: 14px;
 }
  .copyright{
    width: 78%;
    margin-left: 22%;
    padding: 12px 14px;
  }
  
  .copyright p{
    font-size: 13px;
  }
}

 
