@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*Agregar estos 2 en todo proyecto + minheigt 100vh*/
body{
    min-height: 100vh;
    padding-top: 50px;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

body::-webkit-scrollbar{
    width: 10px;
    background-color: #0f0e2c;
}


body::-webkit-scrollbar-thumb{
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border-right: 2px solid #0f0e2c;
}


.header-nav{
    background-color: rgba(192, 155, 85);
    box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.barraDesplegable, .barraFija{
    width: 100%;
    list-style: none;
    display: flex;
    /*flex-direction:row;*/
    justify-content: flex-end;
    align-items: center;
}
.barraDesplegable li, .barraFija li{
    height: 50px;
}
.header-nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #000; 
    /*Tiene font size 16 px*/
    transition: font-size 0.3s ease;
}
/*La transicion no se aplica al primer elemento*/
.header-nav li:not(:first-child) a:hover{
    font-size: 18px;
    color: bisque;
}
.header-nav li:first-child{
    margin-right: auto;
}

.barraDesplegable{
    position:fixed;
    top:0;
    right:0;
    height: 100vh;
    width: 250px;
    z-index: 10;
    box-shadow: -10px 0 10px rgba(0,0,0,0.1);
    -webkit-backdrop-filter: blur(15px); /*Para Safari y otros navegadores*/
    backdrop-filter: blur(15px);
    background-color: rgba(192, 155, 85,0.7);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.barraDesplegable li{
    width: 100%;
}

.barraDesplegable a{
    width: 100%;
}


@media screen and (max-width:500px){
    .barraFija li{
        display:none;
    }
    .barraFija li:first-child{
        display:block;
    }
    .barraFija li:last-child{
        display:block;
    }
}
@media screen and (max-width:400px){ /*Hay que ver si se quedan borrosas las letras*/
    .barraDesplegable{
        width: 100%;
    }
}

@media screen and (min-width:500px){
    .barraFija li:last-child{
        display:none;
    }

}


/* Empieza seccion main/HOME */

section{
    padding: 2rem 9%;
}

.home{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    /*min-width: 100vh;*/
    align-items: center;
    /*justify-content: space-between;  Espacio entre el contenido de texto e imagen */   
}

.home .content{
    flex: 1;
    min-width: 200px;

}
.home .image{
    display: flex;
    flex:1;
    justify-content: center;
    align-items: center;
    height: 100%;
    
}
.home .image img{
    width: 35rem;
    height: auto; 
    /*max-width: 500px;
    min-width: 100px;*/
}

@media screen and (max-width:680px){
    .home .image img{
        width: 20rem;
    }
}

@media screen and (max-width:400px){
    .home .image img{
        width: 17rem;
    }
}


@media screen and (max-width:320px){
    .home .image img{
        width: 13rem;
    }
}


/* Acaba seccion main/HOME*/




.tipos-producto{
    gap: 1.5rem;
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.tipo {
    flex:1;
    position: relative;
    overflow: hidden; /* Evita que el contenido sobresalga */
    width: 300px; /* Ajusta al tamaño de tu imagen */
    height: 300px;
    min-width: 250px;
    max-width: 400px;
    border-radius: 5px;
    border: 3px solid #0f0e2c ;
    box-shadow: 10px -10px 0 rgb(192, 155, 85);
}

.tipo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tipo-cartel {
    position: absolute;
    bottom: -88%;/* Un poco oculto debajo de la imagen */
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px); /* Para Safari y navegadores basados en WebKit, incluyendo iOS */
    backdrop-filter: blur(10px);
    background-color: #0f0e2c;/* Fondo semitransparente para ver la imagen debajo */
    color: white; /* Ajusta el color del texto según necesites */
    transition: all 0.5s ease; /* Suaviza la transición */
    padding: 5px 30px;
    text-align: center;

}

.tipo-cartel h3, .tipo-cartel h4{
    font-size: 18px;
    /*text-transform: capitalize;*/
    margin-bottom: 10px;
    font-weight: 800;
    text-align: center;
    transition: all 0.6s ease;
}

.tipo-cartel h3{
    color:#fff;
}

.tipo-cartel h4{
    color:#0f0e2c;
}
.tipo:hover .tipo-cartel {
    bottom: 0px; /* Al pasar el ratón, el cartel se desliza hacia arriba */
    
}

.tipo:hover h3{
    color: #0f0e2c; 
    cursor: default;
}
.tipo:hover h4{
    color: #fff; 
}

.tipo .tipo-cartel p{
    color: #0f0e2c;
    transition: all 0.6s ease;
}

.tipo:hover .tipo-cartel p{
    color: #ddd;
}

.tipo .tipo-cartel button{
    background-color: rgb(192, 155, 85);
    width: 150px;
    padding: 5px 7px;
    border: 0;
    font-size: 15px;
    color: #F4F6F9;
    margin: 20px 0;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.tipo .tipo-cartel button:hover{
    background-color: rgb(192, 155, 50);
    width: 160px;
}

/*.tipo-cartel a{

}*/



/*Seccion de footer*/

.footer {
    background-color: #0f0e2c; /*333*/
    color: white;
    /*padding: 70px 0;*/
    padding-top: 60px;
    padding-bottom: 20px;
    max-width: 100%;
    width: 100%;
}
.footer-main{
    width: 100%;
    margin:auto;
    /*display: flex;
    justify-content: center;*/
}
.footer-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Alinea los elementos a la izquierda */
    /*flex:.75;*/
    padding-left: 30px;
    
}
.footer-list{ /*footer-row ul*/
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-col{
    width: 25%;
    padding: 0 15px;
}
.footer-col h4{
    font-size: 18px;
    color: #fff;
    /*text-transform: capitalize;*/
    margin-bottom: 35px;
    font-weight: 800;
    position:relative;
}
.footer-col h4::before{ /*lines de decoracion*/
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: rgba(192, 155, 85);
    height: 2px;
    box-sizing: border-box;
    width: 55px;
    text-align: center;
}

.footer-list li:not(:last-child){
    margin-bottom: 10px;
}

.footer-list li a{
    font-size: 16px;
    /*text-transform: capitalize;*/
    color: #bbb;
    text-decoration: none;
    text-align: center;
    font-weight: 400;
    transition: all 0.3s ease;
}
.footer-list li a:hover{
    color: #fff;
    padding-left: 8px;
}

.footer-col .social-links a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    font-size: 18px;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.4s ease;    
}
.footer-col .social-links a:hover{
    color:#24262b;
    background-color: #fff;
}

.footer-copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px;
    height: 50px;
    border-top: #bbb solid 3px;
}

@media screen and (max-width: 756px){
    
    .footer-col{
        width: 25%;
        /*margin-bottom: 30px;*/
    }
}
@media screen and (max-width: 547px){
    .footer-col{
        width: 100%;
    }
    .footer-list{
        margin: 10px 0;
    }
    .footer-col h4{
        margin-bottom: 20px;
    }
    
}
