:root {
    --white: #fff;
    --black: #222;
    --pink: #f60091;
    --grey: #444;
    --grey2: #959595;
    --grey-alt: #d1e2e9;
    --yellow: #ffd800;
    --green: #59b210;
  }
  
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
  }
  
  html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-size: 62.5%;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    background-color: #fff;
    color: #000;
    position: relative;
    z-index: 1;
  }
  
  h1,
  h2,
  h3,
  h4 {
    font-weight: 500;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
  }
  
  li {
    list-style: none;
  }
  
  .container {
    max-width: 120rem;
    margin: 0 auto;
  }
  
  .container-md {
    max-width: 100rem;
    margin: 0 auto;
  }
  
  @media only screen and (max-width: 1200px) {
    .container {
      padding: 0 3rem;
    }
  
    .container-md {
      padding: 0 3rem;
    }
  }
  
  i {
    font-size: 2.5rem;
    color: white;  
  
  }
  /* Header */
  .header {
    position: relative;
    width: 100%;
    min-height: 10vh;
    background-color: #000;
    overflow: hidden;
    color: #fff;
  }
  
  .nav {
    padding: 1.6rem 0;
  }
  
  .nav.fix-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  
  .nav.fix-nav .nav-link,
  .nav.fix-nav .logo,
  .nav.fix-nav .cart-icon,
  .nav.fix-nav .hamburger {
    color: #fff;
  }
  
  .navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo h1 {
    font-size: 2.5rem;
  }
  
  .nav-list {
    display: flex;
    align-items: center;
  }
  
  .nav-item:not(:last-child) {
    margin-right: 0.5rem;
  }
  
  .nav-link:link,
  .nav-link:visited {
    padding: 0.8rem 1rem;
    transition: all 300ms ease-in-out;
  }
  
  .nav-link.icon {
    font-size: 3rem;
  }
  
  .top-nav {
    display: none;
  }
  
  .hamburger {
    display: none;
  }
  
  .cart-icon {
    display: none;
  }
  
  @media only screen and (max-width: 768px) {
    .menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      max-width: 40rem;
      height: 100%;
      background-color: #fff;
      transition: all 500ms ease-in-out;
      z-index: 100;
      color: #000;
    }
  
    .menu.show {
      left: 0;
    }
  
    .top-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: #000;
      padding: 1rem 1.6rem;
    }
  
    .top-nav .logo {
      color: #fff;
    }
  
    .top-nav .close {
      color: #fff;
      font-size: 3rem;
      padding: 1rem;
      cursor: pointer;
    }
  
    .cart-icon {
      display: block;
      font-size: 3rem;
    }
  
    .hamburger {
      display: block;
      font-size: 3rem;
      padding: 0.5rem;
      cursor: pointer;
    }
  
    .nav-link:link,
    .nav-link:visited {
      display: block;
      font-size: 1.7rem;
      padding: 1rem 0;
    }
  
    .nav.fix-nav .nav-link {
      color: #243a6f;
    }
  
    .nav-list {
      flex-direction: column;
      align-items: start;
      padding: 1rem 1.6rem;
    }
  
    body.show::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 4;
    }
  
    .nav.show {
      background-color: rgba(0, 0, 0, 0.8);
    }
  
    .nav-link.icon {
      display: none;
    }
  }
  
  /* Hero */
  .header .hero-img {
    position: absolute;
    bottom: -10%;
    right: -5%;
    height: 70rem;
    object-fit: contain;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    transform: translate(25%, -50%);
  }
  
  .hero-content h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .hero-content .discount {
    color: #fbb419;
  }
  
  .hero-content h1 span {
    color: #253b70;
    font-size: 6rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    text-shadow: 3px 3px 0 #f1f1f1, 4px 4px 0 #f1f1f1;
  }
  
  .btn {
    display: inline-block;
    background-color: #fc7c7c;
    padding: 1.2rem 4rem;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 3rem;
  }
  
  @media only screen and (max-width: 1200px) {
    .header .hero-img {
      right: -20%;
    }
  
    .hero-content {
      transform: translate(20%, -50%);
    }
  
    .hero-content h2 {
      font-size: 2rem;
    }
  
    .hero-content h1 span {
      font-size: 5rem;
    }
  }
  
  @media only screen and (max-width: 996px) {
    .header {
      min-height: 5vh;
    }
  
    .header .hero-img {
      height: 40rem;
      right: -10%;
    }
  }
  
  @media only screen and (max-width: 567px) {
    .header {
      min-height: 4vh;
      justify-content: space-around;
    }
  
    .header .hero-img {
      height: 40rem;
      bottom: -15%;
    }
  
    .hero-content {
      top: 40%;
      transform: translate(15%, -50%);
    }
  
    .header .hero-img {
      right: 0%;
    }
  
    .hero-content h2 {
      font-size: 1.8rem;
    }
  
    .hero-content h1 span {
      font-size: 4rem;
    }
  
    .hero-content a {
      padding: 1rem 3rem;
    }
  }
  
  /* Adverts */
  .section {
    padding: 10rem 0 5rem 0;
  }
  
  .advert-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
  }
  
  .advert-box {
    position: relative;
    color: #fff;
    height: 27rem;
    border-radius: 1rem;
    padding: 1.6rem;
    overflow: hidden;
    z-index: 1;
  }
  
  .advert-box img {
    position: absolute;
    bottom: 0%;
    left: -20%;
    height: 100%;
    width: 35rem;
    z-index: -1;
  }
  
  .advert-box:nth-child(1) {
    background-color: #f5c5d1;
  }
  
  .advert-box:nth-child(2) {
    background-color: #a1d1df;
  }
  
  .advert-box:nth-child(3) {
    background-color: #e5bc00;
  }
  
  .advert-box .dotted {
    position: relative;
    height: 100%;
    border: 2px dashed #f1f1f1;
    border-radius: 1rem;
  }
  
  .advert-box .content {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(0, -50%);
  }
  
  .advert-box .content h2,
  .advert-box .content h4 {
    text-shadow: 5px 6px 0px rgba(37, 59, 112, 0.1);
  }
  
  .advert-box .content h2 {
    line-height: 1.2;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .advert-box .content h4 {
    font-size: 1.5rem;
    text-transform: capitalize;
  }
  
  /* Featured Products */
  
  .title {
    margin: 4rem 0 7rem 0;
    text-align: center;
  }
  
  .title h1 {
    font-size: 3rem;
    display: inline-block;
    position: relative;
    z-index: 0;
  }
  
  .title h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20%;
    transform: translate(-50%, -50%);
    background-color: var(--pink);
    width: 50%;
    height: 0.4rem;
    z-index: 1;
  }
.search {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 45px;
  transition: 0.5s;
  border: 2px solid #000;
  overflow: hidden;
}
.search .icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  border-radius: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}
.search.active {
  width: 300px;
}
.search .icons::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: translate(-4px,-4px);
  background-color: #fff;
}
.search .icons::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  transform: translate(6px,6px) rotate(315deg);
}
.search .input{
  position: relative;
  width: 300px;
  height: 45px;
  left: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search .input input {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 18px;
  padding: 10px 0;
}
.clear {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  right: 15px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.clear::before {
  position: absolute;
  content: '';
  width: 1px;
  height: 15px;
  background: #000;
  transform: rotate(45deg);
}
.clear::after {
  position: absolute;
  content: '';
  width: 1px;
  height: 15px;
  background: #000;
  transform: rotate(315deg);
}
footer {
  padding: 2rem 0;
  border-top: 1px solid #000;
}

.newsletter__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newsletter__data h3 {
  font-size: 2.4rem;
  font-weight: inherit;
  margin-bottom: 1rem;
}

.newsletter__data p {
  font-size: 1.5rem;
  color: var(--black2);
}

.newsletter__email {
  font-size: 1.4rem;
  display: inline-block;
  width: 37rem;
  padding: 1.6rem;
  background-color: var(--primaryColor);
  border: none;
  text-indent: 1rem;
}

.newsletter__email:focus {
  outline: none;
}

.newsletter__link:link,
.newsletter__link:visited {
  display: inline-block;
  padding: 1.4rem 3rem;
  margin-left: -0.5rem;
  background-color: #000;
  color: #fff;
  transition: 0.3s;
}

.newsletter__link:hover {
  background-color: #000;
}

/*
======================
Newsletter Media Query
======================
*/
@media only screen and (max-width: 998px) {
  .newsletter {
    padding: 6rem 4rem;
  }

  .newsletter__content {
    flex-direction: column;
    align-items: center;
  }

  .newsletter__email {
    width: 45rem;
  }

  .newsletter__data {
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 768px) {
  .newsletter__content {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .newsletter__email {
    width: 45rem;
    display: block;
    margin-bottom: 1.6rem;
  }
}

@media only screen and (max-width: 568px) {
  .newsletter__email {
    width: 23rem;
    font-size: 1.2rem;
  }

  .newsletter__data h3 {
    font-size: 1.6rem;
  }

  .newsletter__data p {
    font-size: 1rem;
  }

  .newsletter__link:link,
  .newsletter__link:visited {
    padding: 1.2rem 2rem;
    margin-left: 0;
  }
}
.container {
  max-width: 117rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}


.blogs {
  display: grid;
  grid-template-columns: auto;
  height: 100%;
  width: 100%;
  background-color: #fff;
  padding: 9px 0;
  box-shadow: 0 0.5rem 1rem 0 rgb(250, 250, 250);
  padding-bottom: 0px;
  margin-bottom: 0;
  padding: 15px;

}
.blogs h1 {
  font-size: 3rem;
  font-weight: 500;
  color: #0d0d0e;
}
.blog-contain {
  display: flex;
  padding:10px 0;
  font-size: 2rem;
  color: #000;
  margin: 5px 0;
  letter-spacing: 2px;
  box-shadow: 0 4px 10px 0 rgba(34,68,123,0.23);
  background-color: #fff;
  margin-bottom: 0px;
  padding-left: 1rem;
  cursor: pointer;
}
.blog-contain h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #0d0d0e;
}

.section {
  padding: 8rem 0 4rem 0;
}

.advert-center {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
}

.advert-box {
  position: relative;
  color: #fff;
  height: 27rem;
  border-radius: 1rem;
  padding: 1.6rem;
  overflow: hidden;
  z-index: 1;
}

.advert-box i {
  position: absolute;
  left: 34%;
  z-index: -1;
  top: 31%;
  color: #fff;
  font-size: 10rem;
}

.advert-box:nth-child(1) {
  background-color: #eb154b;
}

.advert-box:nth-child(2) {
  background-color: #12b3e4;
  text-align: left;
}

.advert-box:nth-child(3) {
  background-color:  #5219ee;

}

.advert-box .content {
  position: absolute;
  top: 90%;
  left: 40%;
  transform: translate(0, -50%);
}

.advert-box .content h2 {
  line-height: 1.2;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.advert-box .content h4 {
  font-size: 1.5rem;
  text-transform: capitalize;
}

@media only screen and (max-width: 768px) {
  .section {
    padding: 6rem 0 3rem 0;
  }
  
  .advert-center {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
  }
  
  .advert-box {
    position: relative;
    color: #fff;
    height: 20rem;
    width: 20rem;
    border-radius: 1rem;
    padding: 1.2rem;
    overflow: hidden;
    z-index: 1;
  }
  
  .advert-box i {
    position: absolute;
    left: 28%;
    z-index: -1;
    top: 31%;
    color: #fff;
    font-size: 8rem;
  }
  
  .advert-box:nth-child(1) {
    background-color: #eb154b;
  }
  
  .advert-box:nth-child(2) {
    background-color: #12b3e4;
  }
  
  .advert-box:nth-child(3) {
    background-color: #5219ee;
  }
  
  .advert-box .content {
    position: absolute;
    top: 90%;
    left: 37%;
    transform: translate(0, -50%);
  }
  
  .advert-box .content h2 {
    line-height: 1.2;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .advert-box .content h4 {
    font-size: 1rem;
    text-transform: capitalize;
  }
}
