@media only screen  and (min-width: 541px) and (max-width: 760px) {
    .header{
        position: fixed;
        z-index: 100;
        
    }
    #encabeza {
       
        width:300px;
           height:100px;
           line-height:150px;
           margin:0px auto;
           text-align:center;
           background-color:transparent;
          
             
              }
    #lixt{
            width:0px ;
            height: 0px;
            float: left;
                 }
    #encabeza img{
                  vertical-align:middle;

    }
    #lixt2 {

        width: 250px;
        height: 200px;
    }
   .videos iframe{
       width: 610px;
   }
   .map{
       width: 480px;
   }
   footer {
       padding-top: 40px;
       width: 760px;
   }
   #food {
       overflow: hidden;
          width: 100%;
          height: 360px;
      }
      #food1 {
      float: left;

      } 
      #food1 img {
       width: 20px;
       height: 20px;
        } 
      #food1 table tbody{
      font-size: 10px;
      color: white;
       }  
       food1 iframe{
           width: 680px;
       }
       #mapa{
        margin-left: 30px;
        width:680px;
       }
    
      #copy {
       background-color:rgb(65, 60, 60);
       height: 30px;
       width: 760px;
       font-size: 10px;
    }

       #slider h2{
           font-size: 20px;
       }
       #explica{
          width: 50%;
       }
       #aviso{
           font-size: 15px;
       }
       footer {
        background-image: url(../img/fondos/footer.jpg);
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
        height: 400px;
        color:white;
        padding-bottom: 30px;
    }
    /* G A l E R I A */
.galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px, 1fr));
    overflow: hidden;
}
.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: 10px;
    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: 95vw;
    height: 100%;
    max-height: 60vh;
}
.light-box:target{
    transform: scale(1);
}
.close{
    display: block;
    position: absolute;
    top: 80px;
    left: 400px;
    right: 40px;
    background: brown;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
}
.videos{
    margin-top: 40px;
}
.videos iframe{
    width: 680px;
}


/*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: 50px;
    width: 520px;
    height: 680px;
    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:630px ;
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: 430px;
    height: 450px;
}
.botones{
    margin-top: 20px;
    
}
.botones input{
    height: 50px;
    width: 100px;
    font-size: 25px;
    background: orange;
    margin-left: 40px;

}



}