body{
    margin: 0;
    padding:0;
  }

  .img-lightbox{
    display: none;
  }
  .img-lightbox:target{
    display: block;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,.8);
    z-index: 94000;
  }
  .img-lightbox .cuadro{
    position: absolute;
    width: 100%;
    display: flex;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    align-items: center;
    justify-content: center;
    padding: .1rem;
  }
  .img-lightbox .cuadro .img{
    position: relative;
    height: 100%;
    max-height: 90vh;
    
  }
  .img-lightbox .cuadro  img{
    position: absolute;
    box-shadow: 0 0 0 5px rgb(255, 255, 255,.7);
    border-radius: 5px;
    display: block;
    width: 100% !important;
   
  }
  .img-lightbox .cuadro .cerrar{
    position: absolute;
    width: 25px;
    height: 25px;
    background: red;
    color: white;
    border: 1px solid white;
    box-shadow: 0 0 2px 3px rgba(0,0,0,.4);
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: -45px;
    top: -45px;
  }
  .img-lightbox .cuadro a{
    font-size:32px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    margin: 2rem;
  }



  .imagenes-container{
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    /* height: 100vh; */
    margin-bottom: 4rem;
  }
  .imagenes-container > .imagenes{
    display: grid;
    width: 90%;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr)) ;
    gap: 1rem;
    box-sizing: border-box;

  }
  .imagenes-container .imagen{
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    background: white;
    border-radius: 3px;          
    box-sizing: border-box;
    border: 4px solid white;
    box-shadow:  0 0 3px 1px grey;
  }
    .imagenes > .imagen > a img{
      width: 100%;

      transition: .5s;
    }
    .imagenes > .imagen:hover a > img{
      transform-origin:center;
      transform: scale(1.09);
    }