/* #region general */

body {
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
  background-color: #d7be82;
}

/* #endregion general */

/* #region header and nav */

header {
  width: 90%;
  max-width: 1300px;
  margin: 1.5em auto 2em;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1em;
}

.logo-container {
  width: 15%;
}

nav {
  width: 50%;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1em;
}

nav li {
  font-size: 2rem;
}

nav li a {
  color: #7a4419;
}

nav li a.active-page {
  color: #a115e2;
}

nav li a:focus,
nav li a:hover {
  color: rgb(110, 95, 10);
}

.icons {
  display: none;
}

.close-btn {
  display: none;
  cursor: pointer;
}

/* #endregion header and nav */

/* #region slideshow */

.slideshow {
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(circle farthest-side, #fceabb, #f8b500);
  width: 40%;
  margin: 4em auto;
  border-radius: 10px;
  cursor: pointer;
}

.slide-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.slideshow figure {
  width: 30%;
}

.slideshow img {
  border-radius: 50%;
}

.slideshow p.title {
  text-align: center;
  margin: 1em 0 auto;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-family: "Bungee Spice", cursive;
  font-size: 2.5rem;
  color: blue;
}

.slideshow .new-product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 1em;
  width: 50%;
}

.slideshow p.new-product-description {
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 1.8rem;
  color: #a115e2;
}

.slideshow .new-product-price {
  color: #fff;
  background: rgb(223, 232, 9);
  background: linear-gradient(
    90deg,
    rgba(223, 232, 9, 1) 0%,
    rgba(146, 207, 117, 0.8407738095238095) 14%,
    rgba(0, 254, 255, 1) 100%
  );
  padding: 0 1em;
  font-size: 2rem;
  border-radius: 5px;
}

.slideshow p span {
  display: block;
}

/* #endregion slideshow */

/* #region cart display */
.cart-container,
.cart-container a {
  display: flex;
  justify-content: end;
  margin-left: 1em;
  font-size: 3rem;
  color: #573d1c;
  position: relative;
  cursor: pointer;
}

.cart-container-hidden {
  display: none;
}

.qty-display {
  font-size: 2rem;
  position: absolute;
  left: 1.4em;
  top: -0.7em;
  color: #a115e2;
}

.total-price {
  font-size: 1.5rem;
  position: absolute;
  left: 0.4em;
  top: 2em;
  color: #fff;
}

/* #endregion cart display */

/* #region product container (main) */
.products-container {
  width: 90%;
  max-width: 1300px;
  margin: 2em auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
}

.product {
  border: 1px solid #cead60;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-img {
  cursor: pointer;
}

.product-desc {
  color: #423fcf;
  padding: 0 0.5em;
  cursor: pointer;
}

.price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  margin-left: 0.5em;
  color: #a115e2;
}

/* #endregion product-container */

/* #region product-container (buttons) */
.add-btn {
  margin-right: 0.5em;
  background-color: #d7be82;
  color: #a115e2;
  border: 1px solid #666597;
  padding: 0.5em 1em;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.add-btn:hover {
  background-color: #a115e2;
  color: white;
}

.add-btn:active {
  background-color: #a115e2;
  box-shadow: 0 4px #333;
  transform: translateY(4px);
}

.add-btn-hide {
  visibility: hidden;
}

.quantity-btns {
  display: flex;
  align-items: center;
  gap: 0.1em;
  margin-right: 0.5em;
}

.quantity-btns button {
  background-color: #d7be82;
  color: #515a47;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}

.quantity-btns button:hover {
  color: #75bb25;
}

.quantity-btns span {
  color: #a115e2;
}

/* #endregion product-container (buttons) */

/* #region footer */
footer {
  margin: 2em auto;
}

footer hr {
  border: 0;
  height: 1px;
  background: rgb(120, 9, 121);
  background: linear-gradient(
    90deg,
    rgba(120, 9, 121, 1) 0%,
    rgba(200, 143, 19, 1) 35%,
    rgba(120, 9, 121, 1) 100%
  );
}

footer .footer-lists {
  display: flex;
  justify-content: center;
  gap: 10em;
}

footer ul {
  list-style-image: url("../img/shirt.png");
}

footer li.women-clothes {
  list-style-image: url("../img/pumps.png");
}

footer li.men-clothes {
  list-style-image: url("../img/suit.png");
}

footer li.about {
  list-style-image: url("../img/about.png");
}

footer li.contact {
  list-style-image: url("../img/contact.png");
}

footer li + li {
  margin-top: 1em;
}

footer li a {
  color: #7a4419;
}

footer li a:focus,
footer li a:hover {
  color: rgb(110, 95, 10);
}

footer p {
  text-align: center;
  color: #573d1c;
}

/* #endregion footer */

/* #region media queries */

@media (max-width: 768px) {
  /* header and nav */
  header {
    padding-top: 1em;
    width: 100%;
    position: relative;
  }

  .header-mobile-menu {
    background-color: #515a47;
  }

  .logo-container {
    width: 30%;
    margin-left: 1em;
  }

  .logo-container-mobile-menu {
    display: none;
  }

  nav ul {
    display: none;
  }

  .nav-list-mobile {
    display: flex;
    flex-direction: column;
  }

  ul.link-mobile-design li a {
    color: #fff;
  }

  ul.link-mobile-design li a.active-page {
    color: #adacd1;
  }

  .icons {
    display: flex;
    gap: 1em;
    margin-right: 1em;
    color: #7a4419;
  }

  .fa-bars {
    color: #515a47;
    cursor: pointer;
  }

  .icons-mobile-menu {
    display: none;
  }

  .close-btn {
    font-size: 3rem;
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 0.2em;
    margin-right: 0.3em;
  }

  .close-btn-mobile-menu {
    display: block;
  }

  /* products-container */

  .products-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
  }

  /* Slideshow */
  .slideshow {
    width: 80%;
    margin: 3em auto;
  }

  .slide-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
  }

  .slideshow figure {
    width: 90%;
  }

  .slideshow img {
    border-radius: 50%;
  }

  .slideshow p.title {
    margin: 1em 0 auto;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-family: "Bungee Spice", cursive;
    font-size: 1.5rem;
  }

  .slideshow p.product-description {
    letter-spacing: 0.1em;
    font-size: 1.5rem;
    width: 100%;
  }

  .slideshow p span {
    display: inline;
  }

  /* footer */

  footer .footer-lists {
    display: flex;
    justify-content: center;
    gap: 2em;
  }
}

/* #endregion media queries */
