.eventos{
    max-width: 1000px;
    display: grid;  
    grid-template-columns:  repeat(  auto-fill, minmax(200px, 1fr)  ); 
    gap:18px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 18px;
    padding-bottom: 18px;
}

.eventos > section{
    border: 0;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
}

.eventos .box{
    position: relative;
    width: 100%;
    height: 100%;
}

.eventos a:active, .eventos a:link{
    color: initial;
}

.eventos a:hover{
    color:#4f4f4f;
}

.eventos .title{
    position: absolute;
    bottom: 6px;
    background-color: white;
    width: 100%;
    font-size: 1.2rem;
    text-align: center;
    padding: 6px 0;
}


.container h2{
    font-size: 2rem;
    text-align: center;
    padding: 24px 0;
}

.galeria {
  column-width: 12em;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}


.galeria div {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin: 0.36em;
  height: 10em;
  width: 100%;
  display: inline-block;
}

.galeria .darkness{
    opacity: 0;
    background: rgba(0,0,0,.2);
    transition: all 0.3s;
    margin: 0;
    height: 100%;
}

.galeria .darkness:hover{
    opacity: 1;
}

.galeria div:hover{
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
}

.galeria div:nth-child(2n) {
    height: 15em;
}

.galeria  div:nth-child(3n) {
    height: 13em;
}

.galeria div:nth-child(4n) {
    height: 12em;
}

.galeria div:nth-child(5n) {
    height: 17em;
}

.galeria div:nth-child(6n) {
    height: 20em;
}

.fullGallery{
    /* display: none; */
    display: flex;
    opacity: 0;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: all 0.6s;
    align-items: center;
    justify-content: center;
    pointer-events:none;
    z-index: 101;
}

.showImage{
    border: 0;   
}

.showImage img{
    width: auto;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    margin-left: auto;
    margin-right: auto;
}

.fullGallery button{
    position: absolute;
    width: 60px;
    height: 60px;
    top: calc((100vh / 2) - 30px);
    cursor: pointer;
    background: 0 0;
    box-shadow:none;
    border: 0;
    opacity: .85;
    font-size: 0;
}

.fullGallery button:hover{
    opacity: 1;
}


.fullGallery .izquierda{
    left: 12px;
}

.fullGallery .derecha{
    right: 12px;
    -webkit-transform: scale(-1, -1);
    transform: scale(-1, -1);
}

.fullGallery .cerrar{
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 50%;
    background-color: #ebe8e8;
    width: 35px;
    height: 35px;
    padding-top: 6px;
}

.fullGallery .arrowIcon{
    fill: white;
    color: #4f4f4f;
    pointer-events:none;
}

.fullGallery .arrowIconShadow{
    stroke: #4f4f4f;
    stroke-width: 2px;
    fill: none;
}

/*     GRID  moviles    */
@media screen and (max-width: 576px) {
    .galeria{
        max-width: 100%;
    }

    .galeria div{
        width: 98%;
        /* margin: 0; */
        /* padding: 0 6px; */
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .showImage img{
        width: 100%;
        height: auto;
    }

    .fullGallery .izquierda{
        left: 3px;
    }

    .fullGallery .derecha{
        right: 3px;
    }

    .fullGallery .cerrar{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .fullGallery .cerrar svg{
        border: 0;
        margin-top: -6px;
        /* background-color: rgb(99, 212, 85); */
    }

    .fullGallery button{
        top: calc((100% / 2) - 30px);
    }

    .eventos{
        padding: 18px 6px;
    }
}