/*MODIFICACIONES GENERALES*/

*{
    margin: 0;
    padding: 0; 
    user-select: none;
    font-family: fuenteFormatrol;
}


:root{
    --color-grisopaco: rgba(26,26,26,1);
    --color-naranja: rgba(255, 123, 12, 0.7);
    --color-fondo: rgba(208,211,212,1);
}


html{
    scroll-behavior: smooth;
}


body{
    background-image: linear-gradient(to bottom, rgba(208,211,212,1), rgba(208,211,212,1), rgba(208,211,212,1), rgba(255, 123, 12, 0.5))
}

@font-face{
    font-family: fuenteFormatrol;
    src: url("../fuentes/FrankRuhlLibre-Regular.ttf");
}






/*ESTILO DE CABECERA - HEADER*/

/*Menú lateral  - sidebar*/

/*Boton de apertura de Sidebar*/
.boton-menu label{
    position: fixed;
    top:80px;
    left:40px;
    font-size: 30px;
    color:#fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.boton-menu label:hover{
    transform: scale(1.1);
    font-weight: bold;
}

.boton-menu label:active{
    color: rgba(235, 152, 78, 1); 
}

/*Bloqueo de scroll y cerrar sidebar por touch*/
.bloquear-scroll{
    overflow: hidden;
}






/*Boton de cierre de Sidebar*/
.cerrarSidebar label{
    position: absolute;
    color: rgba(208,211,212,0.9);
    font-size: 28px;
    right: 3%;
    top: 1%;
    border: solid 1px rgba(208,211,212,0.4);
    padding: 2px 6px;
    cursor: pointer;
    z-index: 990;
}

.cerrarSidebar label:hover{
    font-weight: bold;
    color: #fff;
    border: solid 1px rgba(208,211,212,1);
}

.cerrarSidebar label:active{
    color: rgba(235, 152, 78, 1);
    border: solid 1px rgba(235, 152, 78, 0.5);
}

/*Botón del checkbox*/
#boton-menu{
    display: none;
    z-index: 990;
}

#boton-menu:checked ~ aside{
    opacity: 1;
    visibility:visible;
}


/*Estructura restante del sidebar*/
aside{
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100vh; 
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s linear;
}

.sidebar{
    background: linear-gradient(to bottom, rgba(26,26,26,1), rgba(26,26,26,1),  rgb(106, 109, 110, 0.97));
    width: 80%;
    min-width: 200px; 
    max-width: 285px;
    height: 100vh;
    position: fixed;
    transition: transform 0.3s linear;
    transform: translateX(-100%);
    z-index: 999;
}


.sidebar img{
    width: 250px;
    height: auto;
    margin: 30px auto 20px auto;
    display: block;
}



#boton-menu:checked ~ aside img{
    animation: rotacionImgIn  0.5s linear;
}

#boton-menu:not(:checked) ~ aside img{
    animation: rotacionImgOut  0.5s linear;
}


@keyframes rotacionImgIn{
    from{
        transform: rotate(90deg);
    }

    to{ 
        transform: rotate(360deg);
    }
}


@keyframes rotacionImgOut{
    from{
        transform: rotate(360deg);
    }

    to{ 
        transform: rotate(0deg);
    }
}



#boton-menu:checked ~ aside .sidebar{
    transform: translateX(0%);
}


.sidebar nav{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    top: 0px;
    justify-content: center;
}


.sidebar nav a{
    display: block;
    text-decoration: none;
    font-size: 21px;
    font-style: italic; 
    font-weight: 300;
    padding: 27px 12%;
    color: #fff;
    border-left: solid 8px transparent;
}

.sidebar nav a:hover{
    background-color: rgba(208,211,212,0.9);
    color: #000;
    font-weight: bold;
    border-left: solid 8px rgba(255, 123, 12, 0.9);
}








/*Desarrollo de logo y menú*/

.cabecera {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2%;
  position: relative;
}

.img{
    position: absolute;
    width: 265px;
    height: 86%;
    left:90px;
    top:8.5%;
}   

header{
    background: rgba(35,35,35,1);
    height:190px;                                                         
    width: 100%;
    position: fixed;
    top:0;
    z-index: 10;
    background-image: linear-gradient(to right, rgba(26,26,26,1), rgba(26,26,26,0.9),  rgb(106, 109, 110, 0.77));
}



.menu {
   position: absolute;
   top:82px;
   right: 100px;
   display: flex;
   gap: 50px;
   display: flex;
}

.menu li a{
    padding-bottom: 8px;
    padding:5px 5px;
    position: relative;
    text-decoration: none;
    color: #fff;
    font-size:22px;
    font-style: italic;
    display: inline-block;
    font-weight: 500;
    user-select: none;
}


.menu li a:hover{
    border-bottom: solid;
    border-width: 3px;
    border-color: rgba(255, 123, 12, 0.7);
    font-weight: bold;
 }

#noborder{
    border: none;
}



/*Shopping cart*/
.menu .cart {
    cursor: pointer;
    border: none;
    font-weight: 100;
}

.productosheader{
    margin-right: 2px;
}

.boton-info{
    display: none;
}


/*Despligue de Menú de navegación*/

ul, li{
    list-style: none;
}

.subproductos{
    position: absolute;
    display:none;
    border: none;
}

.subproductos li a{
    font-size:20px;
    border: none;
    padding-top: 18px;
    padding-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
    background: rgba(208,211,212,1);
    color: #000;
    width: 130px;
    text-align: center;
    font-weight:600;
    box-shadow: 0px 10px 10px 1px rgba(0, 0, 0, 0.5);
}


#subproductos-cajas li a{
    width: 190px;
}


.subproductos li a:hover{
    background: rgba(235, 152, 78, 1);
    color: #fff;
    border: none;
}


/*Aparición de menús*/
.botonproductos:hover .subproductos{
    display: block;
}

.botoncontacto:hover .subproductos{
    display: block;
}












/*ESTILO DE BANNER - ESTRUCTURA INICIAL*/

.wrapper{
    margin-top: 150px;
}

.banner{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 650px;
    min-height: 500px;
    box-shadow:0px 0px 50px 30px rgba(0, 0, 0, 1);
    cursor: default ;
    margin-bottom: 20px;
}


.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.capa{
    position: absolute;
    width: 100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(0, 0, 0, 0.77);
    z-index: 1;
}


.capa h1{
    color: #fff;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 75px;
    font-style: italic;
    width: 70%;
    text-align: center;
}


#typing::after {
    content: '|';
    animation: blink 0.7s step-end infinite;
}

#typing.finalizado:after{
    animation: none;
    opacity: 0;
}

@keyframes blink {
    50% { opacity: 0; }
}




/*Arrow*/
.scrolldown{
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    text-decoration: none;
    color: var(--color-fondo);
    font-size: 60px;
    animation: rebote 1.5s infinite;
    display: flex;
    text-align: center;
}

@keyframes rebote{
    from{
        transform: translate(-50%, -60%);
    }

    to{
        transform: translate(-50%, 0);
    }
}











/*Main content - contenido prin*/

.imagenes {
    display: flex;
    justify-content: center;
    gap: 150px; 
    position: relative;
    top: 50%;
    overflow: visible;
  }
  
  .imagenes img {
    width: 379px;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease; 
    display: block;
}

    .overlay h2{
        color: #fff;
        position:absolute;
        margin: 0;
        text-align:center;
        font-size: 30px;
    }

  .capamayor {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow:0px 0px 15px 7px rgba(0, 0, 0, 0.6);
    max-width: 380px;
    border-radius: 10px;
  }  

  .capamayor:hover img{
    transform: scale(1.1); 
  }
  
  
  .overlay{ 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0; 
    transition: opacity 0.4s ease; 
    z-index: 2; 
    display: flex;
    justify-content: center;
    align-items: center;
}

  
  
  .capamayor:hover .overlay {
    opacity: 1; 
  }

 






/*Botones flotantes*/

.floats{
    position: fixed;
    bottom: 19px;
    right: 20px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    animation: slidefloats 1.5s;
}

@keyframes slidefloats{
    from{
        transform: translateY(-80%);
    }

    to{
        transform: translateY(0);
    }
}

.floats a{
    transition:transform 0.2s ease;
}

.floats a:hover{
    transform: scale(1.1);
}


.floats i{
    color: var(--color-fondo);
    font-size: 47px;    
    text-decoration: none;
    background: linear-gradient(to left bottom, rgba(26,26,26,1), rgba(26,26,26,1),  rgb(106, 109, 110, 1));
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: 300px;
    border: solid 3px rgba(255, 123, 12, 0.7);
    font-weight: 100;
}   








/*ESTILO DE FOOTER*/

footer{
    position: relative;
    background: linear-gradient(to bottom right, rgba(26,26,26,1), rgba(26,26,26,1),  rgb(106, 109, 110, 0.97));    
    color: #fff;
    width: 100%;
    height: 230px;
    bottom: 0%;
    display: flex;
    justify-content: center;
}

.secciones{
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 10%;
    top: 15%;
    gap: 160px;
}

.seccioncontacto, .seccioninfo, .seccionredes{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.seccioncontacto a, .seccioninfo a, .seccionredes a{
    text-decoration: none;
    color: rgba(231, 235, 218, 0.7);
    font-size: 18px;
    cursor: pointer;
}

.seccioncontacto a:hover, .seccioninfo a:hover, .seccionredes a:hover{
    color: var(--color-naranja);
}


iframe{
    position:absolute;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    border: solid;
    border-color: rgba(255, 123, 12, 0.9);
    border-width: 15px;
    border-radius: 2px;
}


.mapareal{
position: absolute;
display: block;
object-fit: cover;
width: 700px;
height: 170px;
margin-left:auto;
right: 12.5%;
top:15%;
}  
    
.capamapa{
 position: absolute;
 background-color: rgba(0, 0, 0, 0.4);
 overflow: hidden;
 top:0;
 left: 0;
 z-index:5;
 pointer-events: none;
 width: 100%;
 height: 100%;

}


.seccioncontacto, .seccionredes, .seccioninfo{
    margin-left: -6%;
}





/*EDICIÓN PARA ARCHIVO 404*/
.cont-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: calc(100vh - 190px);
    text-align: center;
    box-sizing: border-box;
    background-color: var(--color-fondo);
    animation: animation404 500ms  ease-in-out forwards;
}


@keyframes animation404{
    from{
        transform: scale(0.3);
    }


    to{
        transform: scale(1);
    }
}


.subtitulo-404 {
    font-weight: bold;
    font-size: 27px;
    color: rgb(161, 95, 37);
}

.enunciado-404 {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    color: rgba(0,0,0,0.8);
}


#wrapper-404{
    background-color: var(--color-fondo);
}

.boton-404{
    text-decoration: none;
    background-color: rgba(161, 95, 37, 0.9);
    color: #fff;
    font-size: 18px;
    padding: 13px 10px;
    box-sizing: border-box;
    width: 120px;
    height: 50px;
    border-radius: 15px;
    margin-top: 20px;
    font-weight: 500;
}




/*AJUSTES DE DISEÑO RESPONSIVE*/

@media (max-width: 1600px) {

    /*header*/
    .sidebar{
        overflow-y: auto;
    }

    /*contenido*/
    .capa h1{
        font-size: 63px;
    }

    /*footer*/
    .mapareal{
    right: 9%;
    }

    .secciones{
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 7%;
    top: 15%;
    gap: 100px;
}


}






@media (max-width: 1440px) {

   /*header*/
    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
    .capa h1{
        top: 140px;
        font-size: 52px;
    }

    .imagenes {
         gap: 70px; 
    }
  
    .imagenes img {
        width: 379px;
        height: 500px;
    }

    .banner{
        height: 400px;
    }

    /*footer*/
    .seccioncontacto, .seccionredes, .seccioninfo{
        margin-left: -5%;
    }

    .mapareal{
        width: 600px;
    }
    

}






@media (max-width: 1280px) {
  /* Ajustes para laptops */

   /*header*/
    .sidebar img{
        width: 225px;
        height: 225px;
        top: 1%;
        left: 10%;
    }

    .sidebar nav a{
        top: 0px;
    }

    .menu{
        gap: 15px;
    }

    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
    .capa h1{
        top: 140px;
        font-size: 50px;
    }

    .imagenes {
         gap: 40px; 
    }
  
    .imagenes img {
        width: 340px;
        height: 450px;
    }


    /*footer*/
    .seccioncontacto, .seccionredes, .seccioninfo{
        margin-left: -5%;
    }

    .mapareal{
        width: 400px;
    }
    
}




@media (max-width: 1160px) {


     /*contenido*/

    .imagenes {
         gap: 40px; 
    }
  
    .imagenes img {
        width: 300px;
        height: 400px;
    }

    
}




@media (max-width: 1024px) {
  /* Ajustes para tablets */


   /*header*/
    .boton-menu label{
    left:4%;
    }

    .menu{
        gap: 15px;
        right: 5%;
    }

    .sidebar img{
        width: 225px;
        height: 225px;
        top: 1%;
        left: 10%;
    }

    .sidebar nav a{
        top: 0px;
    }


    .sidebar{
        overflow-y: auto;
    }



    /*contenido*/
    .capa h1{
        top: 140px;
        font-size: 40px;
    }

    .imagenes {
         gap: 40px; 
    }
  
    .imagenes img {
        width: 250px;
        height: 350px;
    }

    .banner{
        height: 400px;
        min-height: 250px;
    }


    /*footer*/

    
    .secciones{
        gap: 45px;
    }


    .mapareal{
        width: 350px;
        right: 11.5%;
    }
    
}



@media (max-width: 984px) {

   /*header*/
    .menu li a{
        font-size: 19px;
    }

    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
    .capa h1{
        font-size: 40px;
    }


    .banner{
        height: 400px;
        min-height: 250px;
    }

    .sidebar{
        overflow-y: auto;
    }

    /*footer*/
     .seccioncontacto, .seccionredes, .seccioninfo{
        margin-left: -5%;
    }

    .mapareal{
        width: 300px;
        right: 11.5%;
    }
    

}





@media (max-width: 869px) {

   
    /*header*/
    .img{
        left: 50%;
        transform: translateX(-50%);
    }

    .botoninicio, .botonproductos, .botoncontacto, .botoninformacion{
        display: none;
    }

    .boton-menu label{
        position: fixed;
        font-size: 40px;
        left: 15%;
    } 

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 40px;
        right: 15%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }

    .sidebar{
        overflow-y: auto;
    }

    .sidebar .redes-sidebar:hover{
        background-color: inherit;
        color: #fff;
        font-weight: initial;
        border-left: transparent;
    }
    
    .boton-info a i:hover{
        border: none;
    }

    .boton-info a i:active{
        color: rgba(235, 152, 78, 1);
    }

    .boton-info a{
        -webkit-tap-highlight-color: transparent;
    }

    .menu .carrito a:hover,
    .menu .boton-info a:hover {
        border-bottom: none;
    }



    
    /*contenido*/

    .banner{
        min-height: 300px;
        height: 400px;
    }

    .capa h1{
        top: 30%;
        font-size: 35px;
    }

    
    .imagenes{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    .imagenes img{
        width: 389px;
        height: 500px;
    }

     .scrolldown{
        font-size: 45px;
        top: 83%;
    }

    #seccion-de-genericas{
        order: -1;
    }


    /*footer*/
    .secciones a{
        font-size: 16px;
    }

      .mapareal{
        width: 270px;
        right: 11.5%;
    }
    

    .secciones a:hover{
        transform: none;
        color: rgba(231, 235, 218, 0.7);
    }

    .floats a:hover{
        transform: inherit;
    }
    

}




@media (max-width: 768px) {
  /* Ajustes para móviles grandes o tablets en vertical */

   /*header*/
    .img{
        left: 50%;
        transform: translateX(-50%);
    }

    .botoninicio, .botonproductos, .botoncontacto, .botoninformacion{
        display: none;
    }

    .boton-menu label{
        position: fixed;
        font-size: 40px;
        left: 15%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 40px;
        right: 15%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }
    .sidebar{
        overflow-y: auto;
    }



    /*contenido*/

    .banner{
        min-height: 300px;
        height: 400px;
    }

    .capa h1{
        top: 30%;
        font-size: 35px;
    }

    
    .imagenes{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }

    

    .imagenes img{
        width: 379px;
        height: 500px;
    }

     .scrolldown{
        font-size: 45px;
        top: 83%;
    }

    #seccion-de-genericas{
        order: -1;
    }



    /*footer*/

    .mapareal{
        display: none;
    }


    .secciones{
        left: 47%;
        gap: 50px;
        transform: translateX(-50%);
    }

}





@media (max-width: 490px) {
  /* Ajustes para móviles normales */

   /*header*/
     .img{
        width: 250px;
        height: 82%;
        left: 50%;
        transform: translateX(-50%);
    }

    .boton-menu label{
        position: fixed;
        font-size: 40px;
        left: 5%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 40px;
        right: 5%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }

    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
    .banner{
        min-height: 300px;
    }

    .capa h1{
        top: 32%;
        font-size: 25px;
    }

    .imagenes img{
        width: 300px;
        height: 400px;
    }

    
    .scrolldown{
        font-size: 35px;
        top: 80%;
    }

    /*Contenido para el 404*/
    .subtitulo-404{
        font-size: 21px;
    }

    .enunciado-404{
        font-size: 20px;
    }

    /*footer*/

    .secciones{
        gap: 30px;
        left: 42%;
    }

      .seccioncontacto a, .seccionredes a, .seccioninfo a{
        font-size: 14px;
    }

    
    .floats{
        right: 10px;
    }



    .floats i{
        font-size: 40px;    
    }   


}




    

@media (max-width: 360px) {
  /* Ajustes para móviles muy pequeños */

   /*header*/
    .img{
        width: 230px;
        height: 80%;
        left: 50%;
        transform: translateX(-50%);
    }

    .boton-menu label{
        position: fixed;
        font-size: 30px;
        left: 5%;
    }

    .boton-info{
        display: block;
    }

    .boton-info a i{
        position: fixed;
        font-size: 30px;
        right: 5%;
        top: 85px;
    }

    .carrito a i{
        display: none;
    }
    .sidebar{
        overflow-y: auto;
    }


    /*contenido*/
     .banner{
        min-height: 200px;
        height: 250px;
    }

    .capa h1{
        top: 35%;
        font-size: 17px;
    }

    .imagenes img{
        width: 260px;
        height: 330px;
    }

    .scrolldown{
        font-size: 35px;
        top: 80%;
    }


    /*footer*/

    
    .secciones{
        gap: 20px;
        left: 40%;
        top: 20%;
    }

      .seccioncontacto a, .seccionredes a, .seccioninfo a{
        font-size: 12px;
    }

}