* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  /* scroll-behavior: smooth; */
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #000;
  overflow-x: hidden;
}

/* ***************************** */
/* GENERAL COMPONENTS */
/* ***************************** */

/* ***************************** */
/* REUSABLE CODE */
/* ***************************** */

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

.grid {
  display: grid;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.hot {
  position: absolute;
  top: 2rem;
  left: 0rem;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background-color: #c92a2a;
  padding: 0.5rem 1rem;
}

.gallery-item-sale::after {
  content: "Sale";
  position: absolute;
  top: 2rem;
  left: 0rem;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background-color: #000;
  padding: 0.5rem 1rem;
}

/* ***************************** */
/* HEADER */
/* ***************************** */

.header {
  padding: 0 17rem;
  background-color: #f5f5f5;
  position: relative;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
}

.title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 3rem;
  height: 1.6rem;
}

.logo-title {
  font-size: 3rem;
}

.header-shop {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search:link,
.search:visited {
  color: #000;
  height: 2rem;
  width: 2rem;
}

.search:hover,
.search:active {
  cursor: pointer;
  color: #495057;
}

.search-1 {
  color: #000;
  height: 2rem;
  width: 2rem;
}

.icon-header:link,
.icon-header:visited {
  display: flex;
  color: #000;
  text-decoration: none;
  align-items: center;
  font-size: 1.4rem;
  gap: 0.6rem;
}

.icon-header:hover,
.icon-header:active {
  cursor: pointer;
  color: #495057;
}

.icon {
  height: 1.8rem;
  width: 1.8rem;
}

.line {
  border: 1px solid #e5e5e5;
}

/* MOBILE HEADER */

.header-logo {
  width: 3rem;
  height: 1.5rem;
}

.header-logo-title {
  font-size: 3rem;
}

.header-link {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-header {
  display: none;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
}

.line-mobile-header {
  border: 1px solid #e5e5e5;
  display: none;
}

/* ***************************** */
/* NAVIGtion */
/* ***************************** */

.main-nav-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #000;
  font-size: 1.2rem;
  transition: all 0.3s;
  padding: 3rem 0;
}

.main-nav-link:hover,
.main-nav-link:active {
  cursor: pointer;
  color: #495057;
}

/* MOBILE */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #343a40;
  position: relative;
  z-index: 2;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/*  STICKY NAVIGATION */

.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 14rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 5;
}

.sticky .section-hero {
  margin-top: 8rem;
}

/* ***************************** */
/* HERO SECTION */
/* ***************************** */

.section-hero {
  padding: 2rem 0 6rem 0;
  background-color: #f5f5f5;
  position: relative;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 2rem 16rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 6rem;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 16rem;
  content: "";
  background-image: url(../img/Vector.webp);
  background-size: cover;
  width: 12rem;
  height: 16rem;
}

.hero::before {
  position: absolute;
  left: 0;
  bottom: 14rem;
  content: "";
  background-image: url(../img/Frame.webp);
  background-size: cover;
  width: 11rem;
  height: 9rem;
}

.heading-primary {
  font-size: 5.4rem;
  font-weight: 300;
  margin-bottom: 4.2rem;
  margin-top: 6rem;
}

.hero-description {
  font-size: 2.4rem;
  line-height: 4.6rem;
  margin-bottom: 5rem;
}

.btn:link,
.btn:visited {
  display: inline-block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  padding: 1.6rem 2rem;
}

.btn:hover,
.btn:active {
  cursor: pointer;
  background-color: #343a40;
}

.shop-btn {
  height: 1.8rem;
  width: 1.8rem;
  padding-right: 1rem;
}

.hero-img-box {
  display: inline-block;
  position: relative;
}

.hero-img-box::before {
  bottom: -2rem;
  right: -2rem;
  width: 100%;
  height: 100%;
  border: 2px solid #ced4da;
  content: "";
  position: absolute;
  border-radius: 115px 0px;
}

.hero-img {
  width: 100%;
  border-radius: 115px 0px;
  position: relative;
  z-index: 1;
}

/* ***************************** */
/* HOW IT WORKS*/
/* ***************************** */

.section-featured {
  padding: 9.6rem 0 0 0;
}

.brand {
  display: flex;
  justify-content: space-around;
}

.brand img {
  height: 5rem;
}

.hot-category {
  display: block;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5rem;
  position: relative;
}

.gallery-text {
  font-size: 2.4rem;
  font-weight: 400;
  color: #000;
  transform: rotate(-90deg);
  position: absolute;
  bottom: 28rem;
  left: -22rem;
}

.hot-photo img {
  width: 100%;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  position: relative;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.gallery-item-sticker::after {
  content: "Sale";
  position: absolute;
  top: 1rem;
  left: 0;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background-color: #000;
  padding: 0.5rem 1rem;
}

/* ***************************** */
/* PRODUCTS */
/* ***************************** */

.products {
  padding: 9.6rem 0 3.2rem 0;
}

.product-heading {
  font-size: 3.4rem;
  letter-spacing: 0.75px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4rem;
  color: #000;
}

.product {
  display: flex;
  justify-content: space-between;
  padding: 2rem 5rem;
}

.main-product-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.main-product-link:link,
.main-product-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #495057;
  font-weight: 600;
  font-size: 1.2rem;
}

.main-product-link.main-cta:link,
.main-product-link.main-cta:visited {
  color: #000;
}

.main-product-link.main-cta:hover,
.main-product-link.main-cta:active {
  color: green;
  cursor: pointer;
}

.filter-name {
  display: flex;
  text-decoration: none;
  gap: 0.5rem;
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
}

.product-gallery {
  column-gap: 6rem;
  row-gap: 2rem;
  position: relative;
  position: relative;
  position: relative;
}

.gallery-item-img::after {
  content: "Sale";
  position: absolute;
  top: 2rem;
  left: 0rem;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background-color: #000;
  padding: 0.5rem 1rem;
}

.gallery-item {
  position: relative;
}

.product-gallery img {
  width: 100%;
}

.product-test {
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
  padding: 1.6rem 0;
}

.product-price {
  display: flex;
  justify-content: space-between;
}

.product-name {
  color: #495057;
  font-size: 1.2rem;
}

.price {
  font-size: 1.2rem;
}

.price-color-g {
  font-size: 1.2rem;
  color: #495057;
}

.price-color {
  color: #e03131;
  padding-left: 0.5rem;
}

/* ***************************** */
/* BANNER */
/* ***************************** */

.banner {
  padding: 9.6rem 0 3.2rem 0;
  position: relative;
  max-height: 70%;
}

.banner-container {
  margin: 0 auto;
  height: 40vw;
  position: relative;
  background-image: url(../img/background.webp);
  background-size: cover;

  overflow: hidden;
}

.banner-box {
  margin: 0 auto;
  max-width: 120rem;
  position: absolute;
  left: 73%;
  top: 56%;
  transform: translate(-50%, -50%);
}

.banner-container::after {
  position: absolute;
  right: 0;
  top: 4rem;
  content: "";
  background-image: url(../img/Zara_Logo\ 1.webp);
  background-size: cover;
  width: 45rem;
  height: 21rem;
}

.banner-heading {
  margin-bottom: 3rem;
}

.logo-img {
  width: 14rem;
}

.banner-description {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.5px;
  margin-bottom: 4rem;
  color: #fdfdfd;
}

.btn-banner:link,
.btn-banner:visited {
  display: inline-block;
  background-color: #fdfdfd;
  color: #343a40;
  text-decoration: none;
  font-size: 2.2rem;
  padding: 1.8rem 2.4rem;
  /* margin-bottom: 4.8rem; */
}

.btn-banner:hover,
.btn-banner:active {
  cursor: pointer;
}

/* ***************************** */
/* SLIDER PRODUCTS */
/* ***************************** */

.slider-products {
  padding: 4.8rem 0 9.6rem 0;
}

/* ***************************** */
/* NEWSLETTER INSTAGRAM */
/* ***************************** */

.newsletter-instagram {
  padding: 9.6rem 0;
  background-color: #f5f5f5;
}

.insta-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  margin-bottom: 4rem;
}

.insta-gallery-item img {
  width: 100%;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.email {
  width: 50rem;
}

.cta-form input {
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;

  border-bottom: 2px solid #000;
  background-color: transparent;
}

.cta-form input:focus {
  outline: none;
  border-bottom: 2 solid #000;
}

/* ***************************** */
/* FOOTER */
/* ***************************** */

.footer {
  padding: 9.6rem 0 4.8rem 0;
}

.grid-footer {
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 6.4rem;
  padding-bottom: 6rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.logo-title-footer {
  font-size: 2.4rem;
}

.logo-f {
  width: 2.4rem;
}

.footer-text {
  font-size: 1.4rem;
  line-height: 1.8;
  padding: 3.4rem 0;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 4.6rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.2rem;
  color: #000;
  transition: all 0.3sec;
}

.footer-link:hover,
.footer-link:active {
  cursor: pointer;
}

.social-icon {
  height: 2.2rem;
  width: 2.2rem;
}

.footer-heading {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #000;
}

.payment img {
  width: 100%;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-end {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.footer-end-color {
  background-color: #000;
  padding: 1rem 0;
}
