* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    
}
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100vw; 
}

a {
    text-decoration: none;
    color: white;
}

nav a {
    font-weight: bold;
    padding-right: 40px;
}

nav a:hover {
    color: black;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: brown;
    padding: 10px;
    height: 75px;
    width: 100%;
    color: azure;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    margin-right: 30px;
}

.nombre-tienda {
    color: white;
    font-size: 20px;
}

.slider {
    width: 80%;
    height: 500px;
    overflow: hidden;
}

.slider-box figure {
    position: relative;
    left: 0;
    width: 400%;
    animation: slide 10s infinite;
}

.slide {
    position: relative;
    width: 25%;
    float: left;
}

.slide img {
    width: 100%;
    height: 500px;
}

@keyframes slide {
    0% {
        left: 0;
    }
    10% {
        left: 0;
    }
    20% {
        left: -100%;
    }
    30% {
        left: -100%;
    }
    40% {
        left: -200%;
    }
    50% {
        left: -200%;
    }
    55% {
        left: -300%;
    }
    65% {
        left: -300%;
    }
    66% {
        left: -200%;
    }
    74% {
        left: -200%;
    }
    75% {
        left: -100%;
    }
    85% {
        left: -100%;
    }
    90% {
        left: 0%;
    }
    100% {
        left: 0%;
    }
}

/* Formulario */
form {
    padding: 50px;
    display: flex;
    flex-direction: column;
    width: 400px;
    border-radius: 15px;
    background-color: orange;
}

input {
    width: 100%;
    height: 50px;
    background-color: white;
    border: 1px solid;
    border-radius: 15px;
    font-size: 18px;
    padding: 17px 11px;
    margin-bottom: 25px;
}

.boton {
    width: 100%;
    height: 50px;
    background-color: burlywood;
    border: 1px solid;
    border-radius: 25px;
    font-size: 18px;
}

.boton:hover {
    background-color: chocolate;
}

h1 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
    color: white;
}

label {
    font-size: 17px;
    margin-bottom: 10px;
    color: white;
}

/* Sección de productos */
article{
    text-align: center;
    padding: 40px 0;
    background-color: #f8f8f8;
}

article h2 {
    font-size: 24px;
    color: brown;
    margin-bottom: 20px;
}


.mayoreo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.mayoreo img {
    width: 1050px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}



footer {
    background-color: brown;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: white;
    margin: 0 15px;
    font-size: 16px;
}


section{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

section a {
    text-decoration: none;
    color: black;
    padding: 70px 70px;
    border-radius: 22px;
    justify-content: space-between;
    font-size: 29px;
    margin-right: 15px; 
    text-align: center; 
    font-weight: bold;
    
}


.btn-usuario {
    background: brown; 
}


.btn-administrador {
    background: orange; 
}


a:hover {
    opacity: 0.8; 
    transition: opacity 0.3s ease; 
}
.productos {
    text-align: center;
    padding: 20px;
}

.productos h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.productos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.producto {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 350px;
}

.producto img {
    width: 200px;
    height: auto;
    margin-bottom: 10px;
}

.producto h3 {
    font-size: 16px;
    margin: 10px 0;
}

.precio {
    font-size: 20px;
    font-weight: bold;
    color: red;
}

.comprar {
    background-color: white;
    color: red;
    border: 2px solid red;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.comprar:hover {
    background-color: red;
    color: white;
}
.producto {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Espaciado adecuado */
    min-height: 350px; /* Ajusta según sea necesario */
}

.precio {
    font-size: 20px;
    font-weight: bold;
    color: red;
    margin-bottom: 10px; /* Agrega espacio debajo del precio */
}

.comprar {
    background-color: white;
    color: red;
    border: 2px solid red;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    display: block;
    width: 80%; /* Hace que el botón se vea mejor */
    text-align: center;
}

.comprar:hover {
    background-color: red;
    color: white;
}

form {
    padding: 25px;
    display: flex;
    flex-direction: column;
    width: 400px;
    border-radius: 25px;
    background-color: orange;
    margin-right: 30px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo img {
    height: 50px;
    margin-right: 10px;
}

nav a {
    margin-left: 15px;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}
