*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
  }
  .galeriacuerpo{
    
    background: rgb(3,15,118);
background: linear-gradient(90deg, rgba(3,15,118,1) 2%, rgba(0,136,186,1) 100%);
  }
  h1{
    font-weight: 400;
    text-align: center;
    padding: 20px 0;
    font-size: 40px; 
    color: white;
      
  }
  .linea{
    background: white;
    height: 6px;
    width: 100%;
    display: block;
  }
  .galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    width: 95%;
    margin: auto;
    grid-gap: 10px;
    padding: 70px 0;
    overflow: hidden;
  }
  .galeria > a{
    display: block;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 0 6px rgba(0, 0, 0, .5); */
  }
  .galeria video{
    width: 100%;
    vertical-align: top;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 5%;
    box-shadow: 0 0 6px rgba(49, 48, 48, 0.5);
  }
  .galeria a:hover img{
    filter: blur(2px);
    transform: rotate(10deg) scale(1.3);
  }
  .light-box{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(1, 17, 68, 0.726);
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transform: scale(0);
    transition: transform .4s ease-in;
  }
  .light-box img{/* CAMBIAR EL TAMANO DE LAS IMAGENES */
    width: 75vw;
    max-height: 95vh;
    box-shadow: 0 0 16px rgba(255, 249, 249, 0.5);
    border-radius:20px;
  }
  .light-box:target{
    transform: scale(1);
  }
  .close{
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    background: #851919;
    color: #fff;
    text-decoration: 40px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(250, 250, 250, 0.527);
  }
  .close:hover{
    color: #fff;
    background: rgb(0, 0, 77);
  }
  .next{
    display: block;
    background: #851919;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
    border-radius: 50%;
    margin: 0px 20px;
    box-shadow: 0 0 6px rgba(250, 250, 250, 0.5);
  }
  .next:hover{
    color: #fff;
    background: rgb(0, 0, 77);
  }