header {
  height: 83vh;
  width: 100%;
  background-image: url("../img/AllProducts/allProdBG.png") !important;
  background-size: cover;
  border-bottom: none !important;
}

header #main {
  height: 83vh;
  background-color: rgb(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

header #main h1 {
  text-align: center;
  font-size: 50px;
  text-shadow: 1px 1px 5px rgb(20, 20, 20);
}

#greenBox {
  width: 100%;
  height: 6px;
  background-color: #00ae84;
}

#provideBestDiv {
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #353535;
}

#provideBestDiv h1 {
  width: 50%;
  text-align: center;
  font-size: 35px;
  /* line-height: 22px; */
}

#provideBestDiv h1::after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: #00774cd9;
  margin: auto;
  margin-bottom: 25px;
  margin-top: 25px;
}

#provideBestDiv p {
  width: 50%;
  text-align: center;
  font-size: 17px;
  line-height: 22px;
}

#mainProd {
  background: linear-gradient(178.21deg,
      rgba(249, 253, 255, 0.63) 1.52%,
      rgba(243, 250, 255, 0.3675) 67.84%,
      rgba(244, 243, 255, 0) 160.7%);
  text-align: center;
  padding: 0px 60px;
  color: #353535;
}

#wirelessMachineDiv {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

#wirelessMachineDiv>h1 {
  font-size: 34px;
  margin-top: 60px;
}

#wirelessMachineDiv>h1::after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: #00774cd9;
  margin: 15px auto;
}

#wirelessMachineDiv>p {
  font-size: 18px;
  margin-bottom: 20px;
}

#prodList {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 60px 0px;
}

#prodList>div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 320px;
  height: 34vh;
  text-align: left;
  background-color: #fff;
  box-shadow: 1px 1px 3px 1px rgb(201, 201, 201);
  padding: 10px 15px;
  border-radius: 20px;
  margin: 10px 20px;
  cursor: pointer;
}

.posProdList>div {
  width: 400px !important;
}

#prodList>div:hover {
  background-color: #e2f3ff;
  border: 1px solid #003d69;
}

#prodList>div h1 {
  font-size: 20px;
}

#prodList>div p {
  font-size: 15px;
}

#prodList>div img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

@media screen and (max-width: 1100px) {
  #mainProd {
    padding: 0px 10px;
  }

  #prodList>div {
    width: 250px;
  }

  #prodList>div img {
    width: 80px;
    height: 80px;
  }
}

@media screen and (max-width: 900px) {
  #provideBestDiv {
    padding: 0% 30px;
  }

  #provideBestDiv h1 {
    font-size: 24px;
    width: fit-content;
  }

  #provideBestDiv p {
    font-size: 20px;
    width: fit-content;
  }

  #prodList>div {
    width: 230px;
  }

  #prodList>div h1 {
    font-size: 20px;
  }

  #prodList>div p {
    font-size: 14px;
  }


  #prodList>div img {
    width: 100px;
    height: 100px;
  }


  #mainProd {
    padding: 0px;
  }

  .posProdList>div {
    width: 300px !important;
  }

  header#headerInAllPro {
    height: 40vh !important;
  }

  header #main {
    height: 40vh !important;
  }

  header #main h1 {
    padding: 0px 20px;
    font-size: 28px !important;
  }

  #prodList>div {
    width: 250px;
  }
}

@media screen and (max-width: 600px) {
  header #main h1 {
    font-size: 30px;
  }

  #provideBestDiv {
    padding: 0% 10px;
  }

  #provideBestDiv h1 {
    font-size: 22px;
    width: fit-content;
  }

  #provideBestDiv p {
    font-size: 18px;
    width: fit-content;
  }

  #mainProd {
    padding: 0px;
  }

  #prodList {
    align-items: flex-start;
    margin: 10px 0px;
  }

  #prodList>div {
    width: 300px;
    padding: 10px 0px;
    height: fit-content;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: flex-start; */
    text-align: center;
    margin: 10px 0px;
  }

  #prodList>div h1 {
    font-size: 16px;
    margin-top: 10px;
  }

  #prodList>div p {
    font-size: 12px;
  }

  #prodList>div img {
    width: 100px;
    height: 100px;
  }

  #wirelessMachineDiv>h1 {
    font-size: 28px;
  }

  #wirelessMachineDiv>p {
    font-size: 13px;
    width: 80%;
    margin-left: 10%;
  }

  .posProdList>div {
    width: 300px !important;
  }
}