:root{
    --moradito: purple;
}

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

html{
    font-size: 10px;
    /* background-image: url("../img/3607424.jpg"); */
    /* background-size: cover; */
    background-size: 100%;
    background-repeat: no-repeat;
}
h1,h2,h3,h4,h5,h6{
    font-family: sans-serif;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #111;
    padding: 1rem 2rem;
    position: relative;
    height: 12rem;
  }
  
  .header__logo{
    display: flex;
    align-items: center;
  }
  /*input form*/
  
  .header__formulario{
    position: relative;
    
    width: 30rem;
  }
  .header__formulario-input{
    padding: 1rem 3rem 1rem 1rem;
    border-radius: 1rem;
    width: 100%;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;

    
    
  }
  
  .header__formulario-btn{
    
    position: absolute;
    cursor: pointer;
    right: 1rem;
    font-size: 1.7rem;
    top: 25%;
    border: none;
    color: #333;     
    background: transparent;
  }
  /* end */

  
  
  .header__menu {
    display: flex;
    gap: 2rem;
  }
  
  .menu__link {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    transition: border-bottom 0.4s cubic-bezier(0.4, 0, 0.2,1); 
  }
  .menu__link:hover{
    border-bottom: 2px solid orange;
   
  }
  
  /* Esto hace el diseño de la hamburguesa */
  .hamburguer {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    cursor: pointer;
  }
  
  .hamburguer__bar {
    width: 100%;
    height: 3px;
    background-color: #888;
  }

  .section__container{
    width: 100%;
    height: 70vh;
    background-image: url("https://amara-marketing.com/wp-content/uploads/Imagen-Ecommerce.png.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    
    
  }
  .section__container-background{
    width: 100%;
    height: 100%;
    background-color: #1118;
    display: flex;
    align-items: center;
    justify-content: center;
  }
 .section__informacion{
    max-width: 80%;
    text-align: center;
 } 
 .section__titulo{
    font-size: 5rem;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
    
    
 }
 .section__titulo span {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 900;
 }
 .section__parrafo{
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    
 }

  @media (max-width: 768px) {
    .header__menu {
      display: none;
      flex-direction: column;
      text-align: center;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #111;
      width: 100%;
      gap: 3rem;
      padding: 2rem 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-in-out;
    }
  
    .header__menu.show {
      display: flex;
      max-height: 20rem;
    }
  
    .menu__link {
      font-size: 1.2rem;
    }
  
    .hamburguer {
      display: flex;
    }

    .header__logo{
      flex-direction: column;
    }
  
  }



/*cuerpo */
.section__productos{
    max-width: 120rem;
    margin: auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    /* background-color: #f5f5f5; */
    justify-content: center;
    gap: 2rem;
}
/*estilos para cada terjeta de producto*/
.card__producto{
    height: 40rem;
    width: 30rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #fff;
    box-shadow:  0 0 30px white;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card__producto:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.header-login{
    margin-right: 20rem;
}

/* estilos para la imagen del producto*/
.producto-imagen{
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-bottom: 1px solid #ccc;
    /* background-size: contain;
    border-radius: 1rem;
    width: 30rem; */
    
    
}

.producto-titulo{
    color: #333;
    font-size: 1.8rem;
    padding: 1rem 1rem 0.5rem;
    font-weight: bold;
    text-align: center;
}
.producto-descripcion{
    padding: 1rem;
    font-size: 1.1rem;
}
.producto-precio{
    color: #666;
    font-size: 1.6rem;
    padding: 1rem;
    
    
    font-weight: 700;
}
.producto-precio span {
    font-size: 2.8rem;
    color: #000;
}


/*footer*/

.container__footer{
  width: 100%;
  height: 20rem;
  background-color: black;
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.footer__info p{
  font-size: 1.8rem;
  margin: 2rem;
  text-align: center;
}