:root {
  --color1: white;
  --color2: black;
}

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

body {
  background-color: whitesmoke;
  color: black;
  font-family: "Roboto", sans-serif;
}

.container {
  width: 80%;
  margin-left: 0;
}

.logo {
  font-size: 40px;
}

.white {
  color: var(--color1);
}

.products {
  display: flex;
  gap: 1em;
  flex-direction: column;
}
.titulo{
  text-align: center;
  justify-content: center;
  padding: 10px;
}
.product {
  background-color: #e6e6e6;
  padding: 1em;
  border-radius: 1em;
  max-width: 250px;
  
}

.product .product_img {
  width: 200px;
  background-color: rgb(81, 112, 112);
  
}

.product .product_img img {
  width: 100%;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  position: fixed;
  padding: 50px;
  width: 100%;
  background-color: #95989c;
  font-weight: bold;
  font-size: 25px;
  
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
}
.bar-right {
  list-style: none;
  display: flex;
  gap: 20px;
}
.bar-right li i {
  font-size: 20px;
  
}
.bx bxs-cart-alt bx-md {
  float: right;

}

.menu {
  position: fixed;
  background-color: var(--color1);
  left: 0;
  width: 100%;
  top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 0.5rem;
  transform: translateX(200%);
  transition: transform 0.5s;
}

.menu_show {
  transform: translateX(0);
}

.icon_menu {
  cursor: pointer;
  display: inline-block;
  font-size: 1.5rem;

}

.menu li {
  list-style: none;
  
}

.menu a {
  text-decoration: none;
  color: var(--color3);
  font-size: large;
}

.icon_menu {
  cursor: pointer;
  display: inline-block;
  font-size: 1.5rem;
  color: var(--color3);

}

.menu_show {
  transform: translateX(0);
}

.menu .active {
  color: hsl(354, 78%, 60%);
  font-weight: bold;
}

.menu a:hover {
  background-color: var(--color2);
  color: var(--color1);
  border-radius: 5%;
  transition: ease-in 0.4s;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  transition: opacity 0.5s transform 0.5s;
  background-color:  #292c30;
  color: black;

}

button:hover {
  opacity: 0.7;
  background-color: white;
}

button:active {
  transform: scale(0.9);
}

.btn {
  margin-top: 5px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 7px;
  background-color: rgb(117, 57, 185);
}

.cartShopping {
  cursor: pointer;
  transition: opacity 0.5s;
}

.amountProduct {
  padding: 3px;
  background-color: rgb(243, 241, 241);
  border-radius: 30%;
  font-size: medium;
  font-family: "Times New Roman", Times, serif;
}

.content__cartShopping {
  position: relative;
}

.content__cartShopping span {
  position: absolute;
}

.sidebar_cart {
  width: 40%;
  height: 100vh;
  background-color: #efecf0;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  margin-right: -100%;
  transition: margin-right 0.5s;
}

.cartShopping {
  z-index: 200;
  cursor: pointer;
}

.show_sidebar_cart {
  margin-right: 0;
}
.container-price {
  width: 50%;
  float: left;
  font-size: 20px;
}
.container-stock {
  width: 50%;
  float: left;
  font-size: 25px;
  border-left: 3px solid rgb(112, 89, 89);
  padding-left: 10px;
 background-color:rgba(220, 243, 226, 0.342);
}
.name {
  font-size: 25px;
}

.footer {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;


}

.About {
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  align-items: center;
}
.titulo {
  font-size: x-large;
 
}

.content {
  font-size: small;
}

.home {
  padding-top: 200px;
  text-align: center;
  margin-bottom: 40px;
}

.home_titulo p {
  margin-top: 35px;
}

.home_titulo h2 {
  margin-top: -30px;

}

.productos {
  padding: 50px;
}

.piso {
  font-size: 20px;
  padding: 50px;
  text-align: center;
  background-color: rgba(255, 140, 0, 0.849);
  margin-bottom: 5px;

}


.content_shopping {
  height: 80%;
  padding: 1em;
}

.content_total {
  height: 20%;
  background-color: #e6e6e6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.shopping__img {
  width: 70px;
}

.shopping__img img {
  width: 100%;
}

.shopping {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 20%;
}

.shopping__header {
  display: flex;
  gap: 3em;
  align-items: center;
  justify-content: center;
}

.shopping__actions {
  font-size: large;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.shopping__actions button {
  width: 50px;
  height: 20px;
}

.rest,
.add,
.del {
  cursor: pointer;
}

.btnBuy {
  width: 50px;
}

@media (min-width: 700px) {
  .icon_menu {
    display: none;
  }
  .navbar {
    justify-content: flex-start;
  }

  .navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 30px;
    width: 60%;
  }
  .menu {
    position: static;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    padding: 0;
    width: auto;
    gap: 4rem;
    transform: translateX(0);
  }
  .products {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
  }
  .footer .footer-content {
    padding: 50px;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }

  .sidebar_cart {
    width: 25%;
  }
  .cartShopping {
    cursor: pointer;
    transition: opacity 0.5s;
    position: fixed;
  }
}

@media (max-width: 700px) {
  .footer-content {
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 40px;
  }
}
