/* === Reset & Global Styles === */
html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: sans-serif;
  }

  *,
  *::after,
  *::before {
    box-sizing: inherit;
}
body{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
/* === Header === */
header{
    display:flex;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
    color: white;
}

.contsup {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: space-around;
}

.contlogo{
    width: 600px;
    object-fit:cover;
    text-align: center;
}

.logo{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: end;
    width: 600px;
    height: 100%;
}

.buscador{
    width: 33%;
    justify-content: center;
    align-content: end;
}
input{
    display: flex;
    width: 80%;
    margin:0 auto;
}
/* === Redes Sociales === */
.redes-sociales{
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: end;
    
}

.redes-sociales a {
    display: flex;
    align-items: center;
    text-decoration: none; 
}

.redes-sociales i {
    margin-right: 8px; 
}

.redes-sociales p {
    margin: 0; 
}

.redes-sociales {
    display: flex;
    gap: 15px;
    justify-content: end;
    margin-top: 18px;
    align-items: center;
}

  .redes-sociales a {
    color: #444;
    font-size: 20px;
    transition: color 0.3s;
}

  .redes-sociales a:hover {
    color: #1877f2; 
}

  .redes-sociales a[aria-label="Instagram"]:hover {
    color: #e1306c;
}

  .redes-sociales a[aria-label="WhatsApp"]:hover {
    color: #25D366;
}


/* === Navegación === */

main{
    display: flex;
    flex-direction: row;
    padding:20px;
}

nav{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;    
    height: 95vh;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    position: sticky;
    top:5px;
    line-height: 55px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
}

a{
    text-decoration: none;
    color:rgb(255, 0, 0)
    }
    
nav a {
    
      color: #fff;
      background-color: #222;
      padding: 5px 10px;
      border-radius: 10px;
      margin: 3px;
      transition: background-color 0.3s;
    }
    
nav a:hover {
      background-color: crimson;
    }

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


li{
    list-style:none;
    margin: 0;
    padding: 0;
    
}


/* === Productos === */
.container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 1000px;

}

.producto{
    width:200px;
    height: 200px;
    object-fit: cover;
}

.img-prod{
    width: 100%;
    height: 100%;
}

/* === Footer === */
footer{
    background-color: black;
    color:white;
    text-align: center;
}
.presentacion {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

#img-footer {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* === Responsive === */

.continf{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    margin: 20px auto;

}
.img-p1{
    width: 200px;
    height: 300px;
    background-color:rgb(255, 0, 0);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
    
@media (max-width: 599px) {
    main {
      padding: 10px;
    }
  
    .contlogo {
      width: 100%;
      text-align: center;
      margin-bottom: 10px;
    }
  
    .logo {
      max-width: 600px;
      width: 100%;
      margin: 0 auto;
    }
    
    .redes-sociales {
    flex-direction: column;
    align-items: center;
        gap: 10px;
      margin: 0 auto;
      max-width: 600px;
      width: 100%;

    }
  
.container {
    width: 100%;
    justify-content: center;
    gap: 15px;
}
            
.producto {
    width: 100%;
    text-align: center;
}

.img-prod {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}
    
nav{
        
    width: 100%;
    max-width: 300px;
    position: sticky;    
    top:5px;
    line-height: 55px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;

}
        
a{
    text-decoration: none;
    color:rgb(255, 0, 0)
}
        
nav a {
        
    color: #fff;
    background-color: #222;
    padding: 5px 10px;
    border-radius: 10px;
    margin: 3px;
    transition: background-color 0.3s;
 }
        
nav a:hover {
    background-color: crimson;
 }
    
footer {
    font-size: 14px;
    padding: 10px;
}
}
  

    

 


