.gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background: #000
}

.gallery li {
    position: relative;
    overflow: hidden;
    width: 60%;
    border: 2px solid transparent
}

.gallery li a img {
    display: block;
    height: 100%;
    max-width: 10000px !important;
    -webkit-transition: all .5s cubic-bezier(.645, .045, .355, 1);
    transition: all .5s cubic-bezier(.645, .045, .355, 1)
}

.gallery li a span {
    display: none;
    position: absolute;
    visibility: hidden;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    -webkit-transition: all .2s cubic-bezier(.645, .045, .355, 1);
    transition: all .2s cubic-bezier(.645, .045, .355, 1)
}

.gallery.first li:first-child, .gallery.last li:last-child {
    width: 40%
}

.gallery li a span {
    font-size: 1.25rem
}


.intro-picture.center {
    line-height: 355.55555556px
}

.word-slider {
    font-size: 2.5rem
}

.gallery {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent
}

.gallery figure {
    -ms-flex: 0 0 37.5%;
    flex: 0 0 37.5%;
    max-width: 37.5%;
    margin: 0;
    border: 2px solid transparent;
    padding-top: 17%;
    position: relative;
    overflow: hidden
}

.gallery figure:nth-child(4n+1) {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%
}

.gallery figure a {
    display: block;
    position: absolute;
    background-size: cover;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    left: 50%;
    background-position: center
}

.gallery figure a:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%
}
