@media only screen  and (min-width: 761px) and (max-width: 980px) {
    
        .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;
                  }
        
       .videos iframe{
           width: 350px;
       }
       .map{
           width: 480px;
           margin-left: 420px;
       }
       footer {
        padding-top: 40px;
        width: 980px;
    }
    #food {
        overflow: hidden;
           width: 100%;
           height: 500px;
       }
       #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: 480px;
         height: 300px;
        }
        
        #copy {
            background-color: rgb(65, 60, 60);
            height: 30px;
            width: 980px;
            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;
        }
        /* 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: 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: 65vw;
    height: 100%;
    max-height: 70vh;
}
.light-box:target{
    transform: scale(1);
}
.close{
    display: block;
    position: absolute;
    top: 65px;
    top: 25px;
    left: 615px;
    background: brown;
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
}
.videos{
    margin-top: 40px;
}
.videos iframe{
width: 930px;
height: 500px;
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: 50px;
        width: 550px;
        height: 600px;
        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: 420px;
        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: 570px;
    }
    .botones{
        margin-top: 20px;
        
    }
    .botones input{
        height: 50px;
        width: 100px;
        font-size: 25px;
        background: orange;
        margin-left: 40px;
    
    }
    
    
    
    
}