@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500&display=swap');

body {
 font-family: 'Rajdhani', sans-serif;
  background-color: #000000;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 20px;
  padding: 100px 2px;
  line-height: 1.6;

.category-title {
  width: 1000px;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  color: #ff4b4b;
  font-size: 24px;
  font-weight: bold;
  padding: 0px 20px;


}


/*formato para el contenido*/
}
.product-container {
  width: 500px;
  background-color: #1c1c1c;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 5px;
  display: flex;
  
  gap: 15px;
  position: relative;
  overflow: hidden;
}
.product-info {
  flex: 1;
  position: relative;
}
.product-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 5px;
  text-transform: uppercase;
}
.product-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  
}
.product-description {
  font-size: 12px;
  color:rgb(197, 191, 191);
  margin-bottom: 10px;
  padding-left: 5px;
}
.product-prices {
  font-size: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  padding-left: 5px;
}
.price-normal {
  text-decoration: line-through;
  color: #999;
}
.price-promo {
  color: #ffffff;
  font-weight: bold;
  font-family:Roboto,sans-serif;
}
.favorite-button {
 
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.favorite-button:hover {
  background-color: #ff4b4b;
}

/* Botón flotante de inicio */
    .btnInicio {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 1000;
      background-color: #ff0400;
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0,0,0,0.3);
      transition: background-color 0.3s ease;
    }

    .btnInicio:hover {
      background-color: #0056b3;
    }
/*aqui empieza formato para el menu de navegacion*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  z-index: 1000;
  overflow-x: auto;
  white-space: nowrap;
}

nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
}

nav li {
  display: inline-block;
}

nav a {
  display: inline-block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

nav a.active {
  background-color: #555;
  color: #fff;
}

nav a:hover {
  background-color: #f3ecec;
  color: #000000;
  
}

/* Secciones */
main section {
  padding: 10px 20px;
  height: 100vh;
  border-bottom: 1px solid #ddd;
  color: #ffffff;
}
section h2{
  color: #ffffff;
  
}

#section1 { background: #f4f4f4; }
#section2 { background: #eaeaea; }
#section3 { background: #dcdcdc; }
#section4 { background: #cfcfcf; }
#section5 { background: #bfbfbf; }
