.lg {
    height: 10vh;
    width: auto;

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
h1 {
    font-family: 'Roboto', sans-serif;
    color: gold;
}
.face {
    height: 5vh;
    width: auto;
}

.inst {
    height: 5vh;
    width: auto;
}

.what {
    height: 5vh;
    width: auto;
}

.twi {
    height: 5vh;
    width: auto;
}

h2 {
    color: gold;
}

li {
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    border: 3px solid greenyellow;
    transition: background-color 0.3s ease;
}

a {
    text-decoration: none;
    color: gold;
}


.inline {
    display: inline;
}

.inline-block{ 
    display: inline-block;
    height: 30vh;
    width: 45vw;
}

.sticky{
    position: sticky;
    top: 0px;
    background-color: aqua;
}

.flex{
    border: 2px solid yellow;
    display: flex;
    flex-direction: row;
}

.caja {
    margin: 10px;
    background-color: blueviolet;
    height: 15vh;
    width: 25vw;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.caja:hover {
    transform: scale(1.05);
    background-color: lightcoral;
}

.flex{
    display: flex;
    gap: 20px;
}

.flex section {
    flex: 2;
    animation: slideInLeft 1.5s ease-out forwards;
}

.flex aside {
    flex: 1;
    animation: slideInLeft 1.5s ease-out forwards;
}

header{
    background-color: gold;
    position: sticky;
    top: 0px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

ul{
    
    display: flex;
    list-style: none;
}

li{
    margin: 0 10px;
    border: 3px solid greenyellow;
    border-radius: 5px;
}

footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.img-home{
    height: 40vh;
    width: auto;
}

label{
    color: antiquewhite;
}

main {
    color: blanchedalmond;
    align-items: center;
    justify-items: center;
    }

    header { 
        animation: hide;
    }
@keyframes identifier {
    0%{
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
body {
    background-color: black;
}

.productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.card {
    background: #fff; /* 👈 Fondo blanco para sobresalir del negro */
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: #333;
}

.precio {
    font-size: 1.5rem;
    font-weight: bold;
    color: #27ae60;
}

.btn-comprar {
    display: inline-block;
    margin: 12px 0 18px;
    padding: 10px 20px;
    background: #2980b9;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-comprar:hover {
    background: #1f6391;
}

nav ul li {
    background-color: black; 
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out; 
    cursor: pointer;
}

nav ul li a {
    color: gold;               
    font-weight: bold;
    text-decoration: none;
    background: transparent;  
    display: inline-block;
    transition: all 0.3s ease-in-out;
}
nav ul li:hover {
    background-color: gold;    
    transform: scale(1.1);     
    box-shadow: 0 0 15px gold;
}
nav ul li:hover a {
    color: black;  
}
header ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
header ul li a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.6s forwards;
}
header ul li:nth-child(1) a { animation-delay: 0.2s; }
header ul li:nth-child(2) a { animation-delay: 0.4s; }
header ul li:nth-child(3) a { animation-delay: 0.6s; }
header ul li:nth-child(4) a { animation-delay: 0.8s; }
header ul li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: black;
    transition: left 0.3s ease;
    z-index: -1;
}
header ul li a:hover::before {
    left: 0;
}
header ul li a:hover {
    color: gold;
}
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.qs-imagen img{
    max-width: 400px;
    width: 100%;      
  height: auto;     
  border-radius: 15px; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); 
  display: block;
  margin: 0 auto;
}
.hidden-right {
  opacity: 0;
  transform: translateX(100px); 
  transition: opacity 1s ease, transform 1s ease;
}

.hidden-right.show {
  opacity: 1;
  transform: translateX(0); 
}
/* ===== Estilos base ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #ffcc00; /* tu color de fondo */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: black;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #ffcc00;
    position: absolute;
    top: 60px; 
    left: 0;
    width: 100%;
    padding: 10px;
  }

  nav.show {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
}
