/* Estilos generales */

html, body {
    margin: 0;
    width: 100%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #dfdede;
    padding-top: 40px;
  }



/* MENU HAMB */

.contenedor {
         display: flex;
         max-width: 1400px;
         margin: 0 auto;
         padding: 0 60px;
         justify-content: center;
         flex-direction: column;

        }



/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    position:   fixed;
    width: 100%;
    background-color: #dfdede00;
    color: rgb(255, 0, 0);
    height: 40px;
    padding: 15px;
    top:0;
    z-index: 999;

}
.header::after{
    content: "";
    position: absolute;
    bottom: 0;
    margin-bottom: 0px;
    left: 0;
    width: 100%;
    height: 100px; 
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 5%, #ffffff 70%);
    pointer-events: none; 
    z-index: 100;
} 

.header .logo {
    position: relative;
    width: 120px;
    height: auto;
    z-index: 1000;
}


/*Menu */
.menu {
    margin: 35px;
    display: flex;
    justify-content: center;
    border-color: #000000;
    text-align: center;
}

.menu a{
    width: 85px;
    padding: 3px;
    border: 1px solid rgb(0, 0, 0);
    font-size: small;
    text-decoration: none;
    font-family: Georgia;
    color: black;
}

/*MENU GENERAL */
.menu a:hover{
    background-color: white;
    color: #000000;
}

.menu_1{
 
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.menu_2{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}



/* despliegue de menu hambur*/

.cont2{
    display: none;
    position: absolute;
    top:clamp(30px,70px,55px);
    height: 2000px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.336);
    z-index: 100;      
    justify-content: center;

}

.menu-ham {
position: relative;
top:10%;
display: flex;
flex-direction: column;
align-items: center;    

}

.menu-ham a {
text-decoration: none;
color: #000000;
font-size: larger;
border-radius: 2px;
padding: 10px;
background-color: rgb(255, 255, 255);
margin-top: 12px;
width: 200px;    
text-align: center;
box-shadow: 4px 4px 1px 1px rgba(3, 3, 3, 0.2);


}   

.header_menu_hamb{
    
    display: flex;
    flex-direction: column;

}

.noscroll{
    overflow: hidden;
    height: 100%;
}

.btn_hamb{
    position: absolute;
    display: flex;
    background-color: #f3f7f400;
    border: none;
    font-size:xx-large;
    color: rgb(253, 4, 4);
    margin-left: 75%;

}

/* Slider */
.slider {
    max-width: clamp(2500px,200px,300px);
    overflow: hidden;
    background-color: rgba(206, 17, 17, 0);
    position: relative;
    margin-bottom: 50px;
}


.slides {
    display: flex;
    width: 150%;
    animation: slide 10s infinite;
    background-color: rgba(255, 255, 255, 0);
}

.slide {
    width: 100%;
    margin: 5px;

}

.slide img {

    width: 100%;
    height: auto; 
    object-fit: contain; 
    object-position: center; 
    margin-bottom: -4px;
}

/*Seccion de noticias*/
.banner3 {
    display: flex;
    color: rgba(180, 175, 175, 0.973);
    background-color: rgb(185, 185, 179);
    justify-content: center;
    padding-top: 20px;    
}

.banner3 p {
    position: relative;
    color: #000000;
}


.banner3 img{
    display: block;
    width:100%;    
    
}

.banner3_1 {
    flex: 1;
    max-width: 600px;
    box-sizing: border-box;
    padding: 30px;              
    text-align: left;           
    justify-items: left;

}
  
  .banner3_1 h3 {
    color: #000000;
    font-size: x-large;
    margin-bottom: 10px;
    text-align: left;           

}
  
  .banner3_1 p {
    color: #000000b3;
    font-size: medium;
    line-height: 1.6;
    padding-right: 20%;
}

.ubis{
    white-space: pre-line;
    text-align: center;
    line-height: 1.6;

}


/* footer*/



/* Nuevas colecciones page*/
.gallery {
    display: flex;
    text-align: center; 
    max-width: 300px;
    justify-content: center;
    margin: 40px auto;
    margin-bottom: 20px;
}

.gallery img{
    width: 100%;
}

 
.gallery_1 p{
    margin: 0 auto;
    text-decoration: none;
    border: #000000 solid;
    border-width: 1px;
    color: #000000;
    font-family: 'Times New Roman', Times, serif;
    border-top: #00000000;

}


.gallery_carteras{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    max-width: 300px;
    justify-content: center;
    
}


.gallery_carteras p{
    text-decoration: none;
    border: #000000ab solid;
    border-width: 1px;
    color: #000000;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-bottom: 20px;
    margin-top: 0px;
    border-top: #00000000;

    font-family: 'Times New Roman', Times, serif;

}

.footer_p{
    display: flex;
    flex-direction: column;
    line-height: 1px;
    justify-self: center;
    text-align: center;
    color: #0000002c;   
}

/*Footer*/

footer{
    display: flex;
    justify-content: center;
    justify-items: center;
    justify-self: center;

}
footer img{
    max-width: clamp(150px,250px,350px);
}

footer p{
    font-size: 5px;
}


/* Animación del carrusel */
@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-20%); }
    66% { transform: translateX(-1%)}
    100% { transform: translateX(0); }
}





/* RESPONSINVE :) */
@media (max-width: 900px) {

    .contenedor {
        padding: 0px 0px;
    }
    .slider {
        width: 100%;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0);
    }


    .header {
        display: flex;
        justify-self: center;
        justify-content: center;

        height: 45px
    }

    .header .logo {
        width: clamp(80px,100px,150px);
        height: auto;
    }

    .header .menu {
        display: none;
    }

    .header .menu a {
        padding: 1px;
    }

    .header .chat-btn {
        margin-top: 20px;
    }

    .slider button{
        left: 30%;
        top:60%;
        border-style: hidden;
    }
    

    /* Carrusel en pantallas pequeñas */
    .slides {
        width: 230%;
    }

    .slide {
        width: 100%;
    }
    .banner3 {

        flex-wrap: wrap;
        justify-content: center;
        padding: 35px;
        gap: 20px;

    }

    .banner3_1 {
        flex: 1 1 40%;        
        width: 20%;
        max-width: 500px;
        box-sizing: border-box; 
        padding: 1px;
    }

    .banner3 img {
        width: 100%;
        height: auto;
        object-fit: cover;

    }
    .banner3_1 p{
        padding: 2px;
        font-size: 10px;

    }
    
    
}
