@media only screen  and (min-width: 981px) and (max-width: 1440px) {
    
    .header{
        position: fixed;
        z-index: 100;
        
    }
    #encabeza {
       
        width:300px;
           height:170px;
           line-height:100px;
           margin:0px auto;
           text-align:center;
           background-color:transparent;
           margin-top: 20px;
           display: flex;

              }
     #encabeza img:first-child {
                margin-right: 10px;
              }
     #lixt{
     width: 200px;
     height: 220px;
     float: left;
      }
    #encabeza img{
                  vertical-align:middle;

    }
    #lixt2 {

        width: 300px;
        height: 220px;
        float: left;
    }
   .videos iframe{
       width: 350px;
   }
   .map{
       width: 480px;
       margin-left: 600px;
   }
   footer {
    padding-top: 40px;
    width: 1440px;
}
#food {
    overflow: hidden;
       width: 100%;
       height: 700px;
   }
   #food1 {
   float: left;
   margin-left: 20px;

   } 
   #food1 img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
     } 
   #food1 table tbody{
     font-size: 18px;
   color: white;
    }  
    food1 iframe{
        width: 510px;
    }
    #mapa{
        margin-left: 30px;
        width: 750px;
        height: 500px;
    }
    
    #copy {
        background-color: rgb(65, 60, 60);
        height: 30px;
        width: 1440px;
        font-size: 15px;
    }


       #slider h2{
           font-size: 20px;
       }
       #explica{
          width: 50%;
       }
       #aviso{
        font-size: 25px;
       }
       footer {
        background-image: url(../img/fondos/footer.jpg);
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
            height: 500px;
        color:white;
        padding-bottom: 30px;
        font-size: 30px;
    }
    /* G A l E R I A */
.galeria{
display: grid;
grid-template-columns: repeat(auto-fit,minmax(350px, 1fr));
overflow: hidden;
margin-left: 30px;
}
.galeria img{
width: 100%;
object-fit: cover;
transition: transform 0.7s;
}
.galeria > a{
display: block;
position: relative;
overflow: hidden;
box-shadow: 0 0 6px rgb(0, 0, 0, .5);

}
.galeria a:hover img{
filter: blur(5px);
transform:rotate(10deg) scale(1.3);
}
.light-box{
position: fixed;
top: 0;
margin-left: 165px;
left: 0;
transition: transform .3s ease-in-out;
z-index: 800;
height: 80vh;
display: flex;
justify-content:center ;
align-items: center;
transform: scale(0);
}
.light-box img{
    width: 40vw;
    height: 100%;
    max-height: 74vh;
    height: 700px;
    margin-left: 250px;
}
.light-box:target{
transform: scale(1);
}
.close{
display: block;
position: absolute;
top: 0px;
left: 771px;
background: brown;
color: white;
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
}
.videos{
margin-top: 40px;
display: flex;
}
.videos iframe{
    width: 650px;
height: 500px;
}

.videos iframe:first-child {
    margin-right: 10px;
    margin-top: 90px;
margin-bottom: 80px;
}


/*CONTENEDORE MODALES*/
.contenedor-modal{
    position: fixed;  
    z-index: 1000;
    width: 100%;
    height: 100vh;
    align-content: center;
    margin-top: 20px;
    opacity: 0;
    visibility: hidden;
}
.contenedor{
    padding-top: 20px;
    width: 600px;
    height: 690px;
    margin: auto;
    background:#ad0202ea;
    box-shadow: 1px 7px 25px rgba(0, 0,0, 0.6);
    transition: all 500ms ease;
    position: relative;
    border-radius: 30px;
    transition: transform 1s;
    transform: translate(0%);
   

}
.contenedor label{
    position: absolute;
    top: -15px;
    display: inline-block;
    width: 35px;
    height: 35px;
    background: orange;
    line-height: 25px;
    cursor: pointer;
    border-radius: 25%;
    margin-left: 280px;
    font-size: 25px;
    padding-top: 5px ;
    box-shadow: 1px 7px 25px rgba(0, 0,0, 0.6);
    font-weight: bold;
    
    }
.contenedor label:hover{
    background: rgb(162, 197, 5);
    width: 30px;
    height: 30px;
}
.contenido{
   
    color: black;
}
.contenido img{
    width: 450px;
    height: 600px;
    border-radius: 30px;
}
.botones{
    margin-top: 20px;
    
}
.botones input{
    height: 50px;
    width: 100px;
    font-size: 25px;
    background: orange;
    margin-left: 40px;

}




}