@import 'style.css';
@import '/css/fontawesome/css/all.css';
@import '/css/jquery-ui.css';
@import 'sidebar-content.css';

.categories{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  padding: 50px 4%;
  box-sizing: border-box;
}

.categories h2{
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
  margin: 0 0 40px;
}

.categories .category{
  width: 32%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0 0 15px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 0 5px 1px #00000057;
  border-radius: 8px;
  margin-bottom: 30px;
}

.categories .category img{
  width: 100%;
  height: 200px;
}

.categories .category h3{
  width: 100%;
  padding: 0 4%;
  font-size: 1.2rem;
  margin: 20px 0 0;
}

.categories .category p{
  width: 100%;
  padding: 0 4%;
  font-size: 1rem;
}

.categories .category a{
  width: 92%;
  text-align: center;
  background: #6abfed;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 44px;
  border-radius: 8px;
  margin: 10px 0;
}

.cats{
  display: flex  ;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 30px 4% 10px;
  margin: 0;
  background: #fff;
}

.cats .cat{
  width: 24%;
  text-align: center;
  margin-bottom: 20px;
}

.cats .cat img{
  width: 100%;
  max-width: 220px;
}

.cats .cat h4{
  font-size: 1rem;
}

.products {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #014317;
  margin: 0;
  padding: 30px 4% 50px;
  box-sizing: border-box;
  color: #fff;
  flex-direction: row-reverse;
}
.products h2 {
  width: 100%;
  padding: 10px 0;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  margin: 0 auto 30px;
}
.products .des{
  width: 70%;
  font-size: 1.2em;
  padding: 0 4%;
  box-sizing: border-box;
}
.products .whyImg{
  width: 30%;
  text-align: center;
}
.products .whyImg img{
  width: 100%;
  max-width: 300px;
}

.products2 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #fff;
  margin: 0;
  padding: 30px 4% 50px;
  box-sizing: border-box;
  color: #000;
  align-items: center;
}

.products2 h2 {
  width: 100%;
  padding: 10px 0;
  font-size: 2rem;
  color: #333;
  font-weight: 800;
  text-align: center;
  margin: 0 auto 30px;
}

.products2 .des{
  width: 70%;
  font-size: 1.2em;
  padding: 0 4%;
  box-sizing: border-box;
}
.products2 .whyImg{
  width: 30%;
  text-align: center;
}
.products2 .whyImg img{
  width: 100%;
}


.product {
  float: left;
  width: 22%;
  margin: 0 1.5% 30px;
  box-shadow: 0 0 5px 0px #000;
  border-radius: 7px !important;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}
.product .img {
  padding: 0;
}
.product img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product h4 {
  color: #15b1d4;
  font-size: 1rem;
  font-weight: 900;
  background: #ffffff;
  padding: 10px 0;
  margin: 0;
}

.product h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 15px 0;
  color: #6abfed;
  background: #222;
  margin: 0;
}
.products > a {
  float: left;
  width: 180px;
  margin: 10px calc(50% - 90px) 25px;
  color: #ffffff;
  background: linear-gradient(88deg, rgb(34 34 34) 0%, #185e97 45%, #6abfed 100%);
  border-radius: 5px;
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
}

@media (max-width: 768px) {
  #slider{
    margin: 70px 0 0;
  }

  .categories {
    padding: 20px 4%;
  }

  .categories .category{
    width:100%;
  }

  .categories .category img{
    height: 150px;
  }

  .cats .cat {
    width: 48%;
  }

  
  .products {
    width: 100%;
  }
  .products h2 {
    font-size: 1.5rem;
  }
  .products .des{
    width: 100%;
  }
  .products .whyImg{
    width: 100%;
  }
  .products .whyImg img{
    width: 100%;
  }

  .products2 {
    width: 100%;
  }
  .products2 h2 {
    font-size: 1.5rem;
  }
  .products2 .des{
    width: 100%;
  }
  .products2 .whyImg{
    width: 100%;
  }
  .products2 .whyImg img{
    width: 100%;
  }

  .product {
    width: 90%;
    margin: 0 5% 40px;
  }

  .product h3{
    font-size: 1rem;
  }
}
