:root {
    --primero: #423529;  /*el más oscuro*/
    --segundo: #887765;
    --terciario: #5D2510;
    --cuarto: #6A6F4C; /*verde*/
    --quinto: #E3D3C4; /*en lugar de blanco*/
    --negro: #000000;
}
/*generales*/
html{
    font-size: 62,5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
}
*, *:before, *:after { 
    box-sizing: inherit; 
}
body {
    font-size: 16px;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primero);
    margin: 0;
}
h1 { 
    font-size: 2rem;
}
h2 {
    font-size: 1.4rem;
}
h3 {
    font-size: 1.6rem;
}
a {
    text-decoration: none !important; /*elimina subrayado de links*/
}
a:hover { 
    color: var(--terciario);
}

/*HEADER*/
.banner {
    width: 100vw;
    height: 25px;
    z-index: 1000;
    background-color: var(--primero);
    color: var(--quinto);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
}
.header_titulo {
    width: 100%;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.titulo {
    width: 50%;
    text-align: center;
    font-family: 'Berkshire Swash', serif;
    font-weight: 100;
    color: var(--primero);   
}
.banner-text {
    font-size: 1rem;
    font-weight: 100;
    margin: 0;
    animation: slideLeft 30s linear infinite;
    animation-timing-function: linear;
}
/*animacion del banner*/
@keyframes slideLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%); /* Termina fuera del área visible hacia la izquierda */
    }
}
/*FIN DEL HEADER*/

/*nav*/
nav {
    width: 100%;
    height: 40px;
    padding: 1rem;
}
ul.menu {
    height: 40%;
    align-items: center;
    text-align: center; 
    display: flex;
    flex-direction: row;
    justify-content: center;   
    gap: 50px;
}
li {
    list-style: none;
    position: relative;
}
div.nav_iconos {
    display: flex;
    flex-direction: row;
    width: 10%;
    position:absolute;
    right: 0;
}
.dropdown {
    min-width: 130px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    position: absolute;
    top: 30%;
    border-radius: 8px;
    background-color: var(--quinto);
    box-shadow: var(--primero);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease-in-out;
    z-index: 2;
}
li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    top: 60px;
}
.dropdown a {
    font-size: 14px;
    color: var(--primero);
    border-bottom: 1px solid var(--primero);
    padding-bottom: 10px;
}
.dropdown a:hover {
    color: var(--terciario);
}
.link {
    font-weight: 100;
    color: var(--primero);
}
/*iconos signuo/login/carrito*/
.iconos {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/*MAIN*/
/*banner*/
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px; /* Ajusta según sea necesario */
    z-index: 1
}
.carousel {
    display: flex;
    transition: transform 0.5s ease;
}
.slides {
    display: flex;
    width: 300%; /* Múltiplo del número de imágenes en el carrusel */
}
.slide {
    flex: 0 0 100%; /* Ajusta según sea necesario */
}
img {
    width: 100%;
    height: auto;
}
button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primero);
    color: var(--quinto);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem; /* Ajusta según sea necesario */
}
.boton-next,
.boton-prev {
    width: 100px; /* Ajusta según sea necesario */
    height: 50px; /* Ajusta según sea necesario */
    font-size: 1.5rem; /* Ajusta según sea necesario */
}
.boton-next {
    right: 10px;
}
.boton-prev {
    left: 10px;
}

/*nuevos ingresos*/
section.principal {
    width: auto;
    margin: 0px 50px 0px 225px;
}
.subtitulo {
    color: var(--terciario);
    padding: 1rem;
    font-size: 2.5rem;
    font-family: 'Berkshire Swash', serif;
}
div.contenedor_ropa {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 5rem;
    border-radius: 1rem;
}
.ropa {
    text-align: center;
    padding: 20px;
}
.ropa:hover {
    box-shadow: #E3D3C4 5px 5px 5px 5px;
    border-radius: 1rem;
}
p {
    padding-top: 5px;
}
.imagen {
    width: 100%;
    height: 350px;
    padding: 1rem, 1rem, 2rem, 2rem;
    align-items: center;
}
/*SECCION SECUNDARIA*/
section.secundario {
    width: 100%;
    height: auto;
    margin-left: 225px;
    align-items: center;
    text-align: center;
}
/*tabla*/
.contenedor_ropa_boton {
    position: relative;
    display: inline-block;
    align-items: center;
    text-align: center;
}
.btn {
    cursor: pointer;
    position: absolute;
    z-index: 2; 
    margin: 100px 0 0 -200px;
    padding: 0.5rem 3rem;
    background: var(--primero);
    font-size: 20px;
    color: var(--quinto);
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all 1s;
}
.btn:after, .btn:before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid var(--segundo);
    transition: all 1s;
}
.btn:after {
    top: -1px;
    left: -1px;
    border-top: 5px solid ;
    border-left: 5px solid var(--segundo);
}
.btn:before {
    bottom: -1px;
    right: -1px;
    border-bottom: 5px solid var(--segundo);
    border-right: 5px solid var(--segundo);
}
.btn:hover {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    box-shadow: var(--terciario) 5px 5px 5px;
}
.btn:hover:before, .btn:hover:after {
    width: 100%;
    height: 100%;
}
.img {
    width: 100%;
    height: 300px;
}
.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.nombre_tabla {
    font-family: 'Berkshire Swash', serif;
    font-size: 30px;
    text-align: center;
    padding: 2rem;
}
.texto_tabla {
    background-color: var(--primero);
    padding: 9rem 2rem 12rem 2rem;
    align-items: center;
}
.ind_tabla {
    color: var(--quinto);
    font-family: 'Bebas Neue', sans-serif;
    transform: rotate(-90deg);
    font-size: 2.5rem;
}

/* -------------PAGINA DE CONTACTO-------------*/
.form-main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center; 
    height: 80vh;
    margin: 0;
}

.contact-titlle {
    font-size: 24px;
    margin-bottom: 20px; 
    color: var(--primero);
    align-items: center;
}

.form-container {
    display: flex;
    flex-direction: column;
    width: 400px;
    padding: 20px;
    border-radius: 8px; /* Bordes redondeados */
    background-color: var(--quinto); /* Fondo claro */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-container input,
.form-container textarea {
    width: 100%; /* Los campos llenarán todo el ancho */
    margin-bottom: 10px; /* Espacio entre los elementos */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-container textarea {
    resize: vertical; /* Permite redimensionar solo verticalmente */
    height: 100px; /* Altura estándar para el textarea */
}

.form-container input[type="submit"] {
    font-family: 'Bebas Neue', sans-serif;
    cursor: pointer;
    background: var(--primero);
    color: var(--quinto);
    padding: 1rem 3rem;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease; /* Efecto suave */
}

.form-container input[type="submit"]:hover {
    box-shadow: var(--terciario) 5px 5px 10px; 
    background-color: var(--primero);
    transform: scale(1.05);
}

/*SECCION FINAL*/
.seccion_final {
    width: 100%;
    height: 250px;
    background-color: var(--primero);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    justify-items: center; /*centra horizontal*/
    align-items: center; /*centra vertical*/
}
.redes_sociales {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    width: 90%;
    align-items: center;
}
.rrss_icon {
    width: 40px;
    height: 40px;
    margin: 5px;
}
.links_final {
    grid-column: 2 / 3;
    grid-row: 1;
    width: 50%;
    color: var(--quinto);
    display: flex;
    flex-direction: column;
}
.link_final {
    color: var(--quinto);
    padding: 10px
}
.contacto_final {
    grid-column: 3 / 3;
    grid-row: 1;
    width: 50%;
    color: var(--quinto);
}
/*FOOTER*/
footer {
    background-color: var(--terciario);
    color: var(--quinto);
    align-items: center;
    text-align: center;
    padding: 5px; /* Añadido para espacio en el pie de página */
}

/*media query*/
@media (max-width: 768px) {
   
    html {
        font-size: 50%; /* Adjust font size for smaller screens */
    }
    
    .banner {
        height: 20px; /* Adjust banner height for smaller screens */
    }
    
    .banner-text {
        font-size: 1rem; /* Adjust banner text size for smaller screens */
    }
    
    .header_titulo {
        padding-top: 25px; /* Adjust header title padding for smaller screens */
    }
    
    .titulo {
        width: 50%; /* Adjust title width for smaller screens */
    }

    
    .nav_iconos {
        width: 20%; /* Adjust icon width for smaller screens */
    }
}
@media (max-width: 480px) {
    @media (max-width: 768px) {
        html {
            font-size: 50%; /* Adjust font size for smaller screens */
        }
    
        .banner {
            height: 10px; /* Adjust banner height for smaller screens */
        }
    
        .banner-text {
            font-size: 1rem; /* Adjust banner text size for smaller screens */
        }
    
        .header_titulo {
            padding-top: 10px; /* Adjust header title padding for smaller screens */
        }
    
        .titulo {
            width: 50%; /* Adjust title width for smaller screens */
        }
        
        .menu {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        .link {
            font-size: 10px;
            font-weight: 100;
            color: var(--primero);
            margin-right: 3rem;
        }
        
        .nav_iconos {
            width: 20%; /* Adjust icon width for smaller screens */
        }
        .iconos {
            width: 10px;
            height: 10px;
            margin-right: 10px;
        }

        .boton-next,
        .boton-prev {
        width: 50px; /* Ajusta según sea necesario */
        height: 20px; /* Ajusta según sea necesario */
        font-size: 1rem; /* Ajusta según sea necesario */
        }
    } 
}