* {
  padding: 0;
  margin: 0;
  color: #3c4043;
}

body {
  width: 100%;
  min-width: 400px;
}

/*id for html tag- will scroll to the top from footer*/
#top,
#category {
  scroll-behavior: smooth;
}

/*id for category section- will scroll to the top from footer*/
#ftrcategory {
  scroll-behavior: smooth;
}

/*Specifies all text element*/
h1,
h2,
h4,
a,
p,
li {
  font-family: "Poppins", sans-serif;
}

/*Specifies all p element*/
p {
  font-size: 18px;
}

.menuwrapper {
  margin-bottom: 0;
}

#logores {
  display: flex;
}

#logores p {
  font-size: 16px;
  padding-left: 3px;
}

/*For banner*/
.bannerwrapper {
  width: 100%;
  background-color: #e7f1ec;
}

.banner {
  width: 90%;
  text-align: center;
  padding: 10px 0;
  margin: 0px auto;
  margin-bottom: 30px;
  background-color: #e7f1ec;
  display: flex;
  justify-content: space-evenly;
}

.banner img {
  width: 38%;
  margin: 0 auto;
  margin-left: 40px;
  display: block;
  height: auto;
}

.banner h1 {
  text-align: left;
}

.herotext {
  display: flex;
  width: 410px;
  flex-direction: column;
  margin: 0 auto;
  margin-right: 40px;
  justify-content: center;
}

.banner button {
  background-color: #3c4043;
  color: white;
  width: 150px;
  padding: 15px 20px;
  border-radius: 5px;
  margin-top: 30px;
  font-size: 18px;
  float: left;
}

.banner button:hover {
  background-color: #464b4f;
}

/*For  welcome section for home.html*/

.welcome {
  width: 90%;
  box-sizing: border-box;
  left: 0px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: space-between;
}

.welcomeright {
  width: 50%;
  display: flex;
  justify-content: center;
}

.welcomeleft {
  width: 50%;
  position: relative;
}

.welcomeright img {
  width: 600px;
  display: flex;
}

.welcome h1 {
  font-weight: 1000;
  font-size: 50px;
  margin-bottom: 20px;
}

.welcome p {
  margin-top: 20px;
}
/*For category section*/
.category {
  margin: 30px auto 0px;
  width: 100%;
  padding-bottom: 70px;
}

.category > div {
  display: flex;
  width: 90%;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  margin: 0 auto;
  margin-top: 40px;
}

.category img {
  max-width: 254px;
}

.category h1 {
  text-align: center;
  font-weight: 1000;
  font-size: 35px;
  margin: 0px;
  padding-top: 40px;
}

.category h4 {
  font-weight: semibold;
  border-radius: 5px 5px 5px 5px;
  margin-bottom: 20px;
}

.browse {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #eaeaeb;
  padding-bottom: 10px;
  width: 90%;
  margin: 0 auto;
  padding-top: 60px;
}

.browseleft {
  display: flex;
  align-items: end;
}

.browse a {
  padding: 8px 20px;
  border-radius: 0 15px;
  background-color: #ede3d9;
  transition: all 0.1s ease-in-out;
}

.browse a:hover {
  padding: 12px 24px;
  transition: all 0.1s ease-in-out;
}

.category h4 a {
  text-decoration: none;
}

.category p {
  padding-top: 10px;
  font-weight: 500;
}

.hcare,
.scare,
.bcare,
.icare,
.ocare {
  border-radius: 0px 25px;
  overflow: hidden;
  width: 200px;
  height: 230px;
}

.browseallresp {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.browseallresph4 {
  display: none;
}

.hcarehov,
.scarehov,
.bcarehov,
.icarehov,
.ocarehov {
  width: 200px;
  height: 230px;
  position: relative;
  margin-bottom: 10px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.carewrapper {
  padding: 20px;
  border-radius: 0px 25px;
  overflow: hidden;
  box-shadow: 0px 0px 29px -11px #ceced1;
  cursor: pointer;
}

.carewrapper:hover {
  transition: all 0.3s ease-in-out;
  background: #e7f1ec;
  box-shadow: none;
}

.hcarehov {
  background-image: url("./Pictures/h1.png");
}

.scarehov {
  background-image: url("./Pictures/h2.png");
}

.bcarehov {
  background-image: url("./Pictures/h3.png");
}

.icarehov {
  background-image: url("./Pictures/h4.png");
}

.ocarehov {
  background-image: url("./Pictures/h5.png");
}

.carewrapper:hover .hcarehov,
.carewrapper:hover .scarehov,
.carewrapper:hover .bcarehov,
.carewrapper:hover .icarehov,
.carewrapper:hover .ocarehov {
  transform: scale(1.05, 1.05);
  transition: all 0.3s ease-in-out;
}

.hcare:hover,
.scare:hover,
.bcare:hover,
.icare:hover,
.ocare:hover {
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 0px 29px -11px #ceced1;
}

.hcare:hover p,
.scare:hover p,
.bcare:hover p,
.icare:hover p,
.ocare:hover p {
  transition: all 0.3s ease-in-out;
}

/*For featured products*/

.featurewrapper {
  background-color: #f6f9fe;
  padding: 55px 0 40px;
  margin-bottom: 30px;
}

.featuredp {
  width: 90%;
  padding-bottom: 1px;
  margin: 0px auto;
}

.featuredp h1 {
  font-weight: 1000;
  font-size: 35px;
  margin: 0px;
}

.featuredp > div {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}

.featuredp h4 {
  padding: 10px;
  text-align: center;
  font-weight: semibold;
  background-color: white;
  margin: 2px;
}
.featuredp img {
  max-height: 230px;
}

.featuredp h4:hover {
  transition: 0.3s ease;
  background: #e9edf5;
}
.featuredp h4:hover .acnebhov,
.featuredp h4:hover .gentlebhov,
.featuredp h4:hover .thickbhov,
.featuredp h4:hover .colorbhov,
.featuredp h4:hover .fembhov,
.featuredp h4:hover .moistbhov {
  transform: scale(1.02, 1.02);
  transition: all 0.3s ease-in-out;
}

.featuredp p {
  font-weight: 500;
  text-align: center;
  margin: 0 auto;
}

.featuredp .price {
  color: #327559;
  margin-bottom: 15px;
}

.acneb,
.gentleb,
.thickb,
.colorb,
.femb,
.moistb {
  border-radius: 5px;
  overflow: hidden;
  height: 200px;
  margin: 0 auto;
}

.acnebhov,
.gentlebhov,
.thickbhov,
.colorbhov,
.fembhov,
.moistbhov {
  height: 200px;
  width: 200px;
  border-radius: 5px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.acnebhov {
  background-image: url("./Pictures/acnebar2.png");
}

.thickbhov {
  background-image: url("./Pictures/thickbar1.png");
}

.colorbhov {
  background-image: url("./Pictures/clrpreservebr.png");
}

.gentlebhov {
  background-image: url("./Pictures/gentlebar1.png");
}

.moistbhov {
  background-image: url("./Pictures/moisturebar.png");
}

.middle {
  transition: 0.2s ease;
  opacity: 0;
  text-align: center;
  position: relative;
  width: 150px;
  margin: 0 auto;
  margin-top: -110px;
  background: #3c4043;
  border-radius: 5px;
}

.textwrap {
  background: #327559;
  width: 0%;
  height: 100%;
  position: absolute;
  transition: all 0.1s ease-in-out;
  border-radius: 5px;
}

.carewrapper .middle {
  margin-top: -120px;
}

.carewrapper:hover .middle {
  margin-top: -140px;
}

.carewrapper:hover .middle {
  opacity: 0;
}

.carewrapper:hover .middle:hover .textwrap,
.featuredp h4:hover .middle:hover .textwrap {
  width: 100%;
  transition: all 0.2s ease-in-out;
}

.featuredp h4:hover .middle {
  margin-top: -120px;
}

.featuredp h4:hover .acnebhov,
.featuredp h4:hover .gentlebhov,
.featuredp h4:hover .thickbhov,
.featuredp h4:hover .colorbhov,
.featuredp h4:hover .fembhov,
.featuredp h4:hover .moistbhov {
  opacity: 0.5;
}

.carewrapper:hover .hcarehov,
.carewrapper:hover .scarehov,
.carewrapper:hover .bcarehov,
.carewrapper:hover .icarehov,
.carewrapper:hover .ocarehov {
  opacity: 1;
}

.featuredp h4:hover .middle {
  opacity: 1;
}

.text {
  color: white;
  font-size: 16px;
  padding: 16px;
  position: relative;
}

/*For reviews section*/

.revtitle h1 {
  font-weight: 1000;
  font-size: 35px;
  margin: 0px;
  text-align: center;
  padding-top: 40px;
}

.revtitle {
  margin: 10px 0 40px;
}

#reviews {
  /*background-color: #c1d7df;
  padding: 50px 0;*/
  width: 70%;
  margin: 0px auto;
  padding: 0 50px;
  padding-bottom: 40px;
}
#slider {
  width: 90%;
  margin: 0 auto;
  padding-left: 0px;
  padding-bottom: 20px;
}

#slider li {
  margin: 0px 5px;
  padding: 15px;
}

button {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.prev-arrow {
  left: -20px;
  width: 55px;
  height: 55px;
  font-size: 20px;
  background-color: white;
  border-radius: 50%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 40%;
  z-index: 99;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgb(66 63 63 / 30%),
    0px 1px 3px 1px rgb(66 63 63 / 15%);
}
.next-arrow {
  right: -20px;
  width: 55px;
  height: 55px;
  font-size: 20px;
  border-radius: 50%;
  text-align: center;
  background-color: white;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 40%;
  z-index: 99;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgb(66 63 63 / 30%),
    0px 1px 3px 1px rgb(66 63 63 / 15%);
}

/*For Fast fact section*/
.fastfact {
  width: 90%;
  height: 500px;
  margin: 0px auto;
  background: #a8cabc;
  background-image: url("./Pictures/fastfact4.jpg");
  background-position: bottom;
  background-size: cover;
  border-radius: 5px;
  text-align: right;
  padding-right: 30px;
  box-sizing: border-box;
  margin-bottom: 50px;
  margin-top: 60px;
}

.fastfact h1 {
  font-weight: 1000;
  font-size: 70px;
}

.fastfact p {
  font-size: 40px;
  margin-left: auto;
  width: 60%;
}

.fastfact a {
  text-decoration: none;
}

.featuredp a {
  text-decoration: none;
}

/*CARD STYLES*/
h2 {
  font-size: 20px;
}

.checked {
  color: orange;
}

.reviewcard {
  width: 100%;
  height: 330px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  box-shadow: 4px 4px 29px -11px #ceced1;
  border-radius: 0px 20px;
  box-sizing: border-box;
}

.reviewleft {
  display: flex;
  height: 330px;
  background-color: #ede3d9;
  border-radius: 0px 20px 0px 20px;
  align-items: center;
}

.reviewcard .reuserdetail {
  margin-left: 10px;
}
.reviewcard p {
  font-size: 14px;
  margin-top: 10px;
}

.reviewleft img {
  display: flex;
  width: auto;
  height: 280px;
}

.reviewright img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.revcolorpreserve img {
  margin-top: -35px;
}

.revrepair img {
  margin-top: -20px;
}

.reviewright {
  margin: 0 20px;
}

.revuser {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
}

.revuser h6 {
  color: #919191;
}

.reviewwrapper {
  width: 90%;
  margin: 0 auto;
  align-items: center;
}

/*For tips button*/
.tips {
  text-align: right;
  margin-top: 30px;
  margin-left: auto;
}

#tipsbtn {
  font-size: 20px;
  padding: 10px 15px;
  font-weight: 600;
  width: fit-content;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  background-color: #3c4043;
  color: white;
}

#tipsbtn:hover {
  transition: all 0.3s ease-in-out;
  transform: scale(1.05, 1.05);
}

/*Specifies only the .container-btm p element*/
.container-btm p {
  font-size: 14px;
}

.prodnameresp {
  display: none;
}

@media (max-width: 1390px) {
  .hcare,
  .scare,
  .bcare,
  .icare,
  .ocare {
    width: 170px;
    height: 200px;
  }

  .hcarehov,
  .scarehov,
  .bcarehov,
  .icarehov,
  .ocarehov {
    width: 170px;
    height: 200px;
  }

  #reviews {
    width: 80%;
  }
}

@media (max-width: 1200px) {
  .hcare,
  .scare,
  .bcare,
  .icare,
  .ocare {
    width: 150px;
    height: 180px;
  }

  .hcarehov,
  .scarehov,
  .bcarehov,
  .icarehov,
  .ocarehov {
    width: 150px;
    height: 180px;
  }

  .carewrapper {
    padding: 15px;
  }

  #reviews {
    width: 90%;
  }

  .banner h1 {
    font-size: 28px;
  }
}

@media (max-width: 1260px) {
  .featuredp {
    width: 95%;
  }

  .acneb,
  .gentleb,
  .thickb,
  .colorb,
  .femb,
  .moistb {
    height: 170px;
  }

  .acnebhov,
  .gentlebhov,
  .thickbhov,
  .colorbhov,
  .fembhov,
  .moistbhov {
    height: 160px;
    width: 160px;
  }

  .featuredp p {
    font-size: 16px;
  }

  .welcomeright img {
    margin-left: -66px;
  }
}

@media (max-width: 1050px) {
  .category p {
    margin: 0 auto;
    font-size: 15px;
  }

  .category > div {
    display: grid;
    grid-template-columns: repeat(5, 20%);
    box-sizing: border-box;
    grid-gap: 5px;
  }

  .carewrapper {
    overflow: hidden;
  }

  .hcare,
  .scare,
  .bcare,
  .icare,
  .ocare {
    width: 100%;
  }

  .banner img {
    width: 400px;
    margin-left: 0;
  }

  .banner .herotext {
    margin-right: 0px;
  }

  .banner {
    width: 80%;
  }
}

@media (max-width: 1000px) {
  .banner {
    width: 100%;
  }
}

@media (max-width: 990px) {
  .carewrapper {
    padding: 0px;
    margin: 0 auto;
    padding-bottom: 10px;
  }
}

@media (max-width: 950px) {
  .welcomeright img {
    width: 100%;
    margin-right: -70px;
  }

  .welcomeleft {
    width: 60%;
  }

  .hcarehov,
  .scarehov,
  .bcarehov,
  .icarehov,
  .ocarehov {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 1090px) {
  .featuredp {
    width: 99%;
  }

  .featuredp > div {
    grid-template-columns: repeat(5, 20%);
    box-sizing: border-box;
  }

  .featuredp h1 {
    text-align: center;
  }
}

@media (max-width: 920px) {
  .acneb,
  .gentleb,
  .thickb,
  .colorb,
  .femb,
  .moistb {
    height: 155px;
  }

  .acnebhov,
  .gentlebhov,
  .thickbhov,
  .colorbhov,
  .fembhov,
  .moistbhov {
    height: 145px;
    width: 145px;
  }
}

@media (max-width: 900px) {
  .banner img {
    width: 40%;
  }
  .banner {
    overflow: hidden;
  }

  .viewall {
    padding-bottom: 20px;
  }

  .category > div {
    grid-template-columns: repeat(5, 18%);
    width: 95%;
    box-sizing: border-box;
  }

  .herotext {
    max-width: 350px;
  }

  .banner h1 {
    font-size: 24px;
  }
}

@media (max-width: 801px) {
  .featuredp > div {
    grid-template-columns: repeat(2, 50%);
  }

  .featuredp {
    width: 90%;
  }

  .acneb,
  .gentleb,
  .thickb,
  .colorb,
  .femb,
  .moistb {
    height: 190px;
    margin: 20px 0 10px;
  }

  .acnebhov,
  .gentlebhov,
  .thickbhov,
  .colorbhov,
  .fembhov,
  .moistbhov {
    height: 170px;
    width: 170px;
  }

  .featuredp p {
    width: 80%;
  }

  .browseallresph4 {
    display: block;
  }

  .category > div {
    grid-template-columns: repeat(3, 32%);
    width: 90%;
    box-sizing: border-box;
  }

  .carewrapper {
    padding: 10px;
    height: 288px;
    margin-bottom: 10px;
  }

  .hcare,
  .scare,
  .bcare,
  .icare,
  .ocare,
  .hcarehov,
  .scarehov,
  .bcarehov,
  .icarehov,
  .ocarehov {
    height: 230px;
  }

  .category h4 {
    margin-bottom: 0px;
  }

  .browseleft {
    display: none;
  }

  .browse {
    justify-content: center;
  }

  .browseallresph4 p {
    padding: 20px 35px;
    background-color: #3c4043;
    color: white;
    border-radius: 0px 25px;
  }

  .browseallresp {
    margin-top: 10px;
    cursor: pointer;
  }
}

@media (min-width: 721px) and (max-width: 836px) {
  .fastfact {
    height: 590px;
    padding: 15px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 720px) {
  p {
    font-size: 20px;
  }

  .menu ul li {
    font-size: 15px;
    margin: 0px;
    box-sizing: border-box;
  }

  .banner img {
    width: 55%;
    margin: 0 auto;
    margin-top: 10px;
  }
  .banner {
    overflow: hidden;
    flex-direction: column-reverse;
    padding-bottom: 40px;
  }

  .banner .herotext {
    margin: 0 auto;
  }

  .banner h1 {
    text-align: center;
  }

  .banner a {
    display: flex;
    justify-content: center;
  }

  .banner button {
    margin-top: 10px;
  }

  .category p {
    font-size: 16px;
  }

  .category h1,
  .welcome h1,
  .featuredp h1,
  .revtitle h1,
  .browse h1 {
    font-size: 25px;
  }

  .category h1 {
    width: 70%;
    margin: 0px auto;
  }

  .category h4 {
    margin-left: 6px;
    margin-right: 6px;
  }

  .welcome p {
    font-size: 16px;
    margin: 0;
  }

  .welcome {
    padding: 15px;
    width: 90%;
    background: none;
    box-shadow: none;
  }

  .welcome h1 {
    font-size: 35px;
  }

  .featuredp h1 {
    margin-bottom: 20px;
  }

  .featuredp {
    margin-bottom: 25px;
  }

  .fastfact h1 {
    font-size: 30px;
    padding-right: 0px;
    text-align: left;
  }

  .fastfact p {
    font-size: 20px;
    width: 100%;
    margin-left: 0;
    text-align: left;
  }

  .tips {
    margin-top: 10px;
  }

  #tipsbtn {
    font-size: 16px;
    padding: 10px;
    font-weight: 100;
  }

  .fastfact {
    height: 250px;
    padding: 15px;
    margin-top: 30px;
  }

  .herotext {
    margin-top: 10px;
    z-index: 1;
  }
}

@media screen and (max-width: 700px) {
  .hcare,
  .scare,
  .bcare,
  .icare,
  .ocare,
  .hcarehov,
  .scarehov,
  .bcarehov,
  .icarehov,
  .ocarehov {
    height: 200px;
  }

  .category > div {
    width: 90%;
  }

  .carewrapper {
    height: 255px;
  }
}

@media screen and (max-width: 650px) {
  .welcomeright {
    display: none;
  }

  .welcomeleft {
    width: 100%;
  }
}

@media screen and (max-width: 590px) {
  .category > div {
    grid-template-columns: repeat(2, 50%);
    width: 75%;
    box-sizing: border-box;
  }

  .carewrapper {
    height: 250px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 590px) {
  .category > div {
    grid-template-columns: repeat(2, 50%);
    width: 85%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 550px) {
  .featuredp p {
    width: 100%;
  }

  .banner h1 {
    font-size: 20px;
  }

  .banner img {
    width: 66%;
  }

  .banner button {
    padding: 10px 15px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 500px) {
  .acneb,
  .gentleb,
  .thickb,
  .colorb,
  .femb,
  .moistb {
    height: 165px;
  }

  .acnebhov,
  .gentlebhov,
  .thickbhov,
  .colorbhov,
  .fembhov,
  .moistbhov {
    height: 155px;
    width: 155px;
  }

  .category > div {
    margin-top: 0;
  }

  .category {
    margin-top: 10px;
  }

  .browse {
    border-bottom: none;
  }
}

@media screen and (max-width: 440px) {
  .hcare,
  .scare,
  .bcare,
  .icare,
  .ocare,
  .hcarehov,
  .scarehov,
  .bcarehov,
  .icarehov,
  .ocarehov {
    height: 160px;
  }

  .carewrapper {
    height: 215px;
  }

  .banner h1 {
    font-size: 18px;
  }
}

@media screen and (max-width: 420px) {
  .browse {
    text-align: center;
  }
}

@media screen and (max-width: 400px) {
}

@media screen and (max-width: 360px) {
  .menu ul li {
    font-size: 10px;
    margin: 0px;
  }

  .menu ul {
    width: 90%;
    margin-top: 5px;
    margin-left: -20px;
  }
}

/*for Reviews slider Media Queries*/

@media screen and (max-width: 1090px) {
  #revieww {
    width: 100%;
  }

  #slider {
    width: 100%;
  }

  .prev-arrow {
    left: -20px;
  }

  .next-arrow {
    right: -20px;
  }
}

@media screen and (max-width: 1000px) {
  .reviewwrapper {
    width: 100%;
  }

  #reviews {
    padding: 0 10px;
  }

  .reviewleft img {
    height: 230px;
  }
}

@media screen and (max-width: 720px) {
  .reviewleft img {
    height: 170px;
  }
}

@media screen and (max-width: 630px) {
  .reviewleft {
    display: none;
  }

  .prodnameresp {
    display: block;
  }

  .revstars {
    margin-top: 10px;
  }

  .revuser {
    margin-bottom: 15px;
  }

  .reviewcard {
    height: 380px;
  }
}

@media screen and (max-width: 460px) {
  .reviewcard {
    height: 420px;
  }
}
