#videoPlay,
.lightbox {
    width: 100%;
    height: 100%
}

.lightbox,
.lightbox a,
.lightbox span {
    text-decoration: none
}

.lightbox:before {
    content: 'x';
    position: relative;
    display: block;
    color: #fff;
    left: 42%;
    margin-top: 2%;
    font-size: 2em;
    font-weight: 900;
    cursor: pointer;
}

.item-gallery a:first-of-type img {
    max-width: 100%;
    height: auto
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .8)
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-top: 1%;
    box-shadow: 0 0 24px 2px #0e0e0e
}

.lightbox span {
    color: #fff;
    padding: .5em;
    font-size: 1.2em;
    display: block
}

.ease-animate img {
    animation-name: stretch;
    animation-duration: .5s;
    animation-timing-function: ease
}

@keyframes stretch {
    0% {
        transform: scale(.3)
    }

    100% {
        transform: scale(1)
    }
}

.elastic-animate img {
    animation-name: elastic;
    animation-duration: 1s;
    animation-timing-function: ease-in-out
}

@keyframes elastic {
    0% {
        transform: scale(.3)
    }

    100%,
    25% {
        transform: scale(1)
    }

    50% {
        transform: scale(.9)
    }
}

.fade-animate img {
    animation-name: fade;
    animation-duration: .7s
}

@keyframes fade {
    0% {
        opacity: .5;
        transform: scale(.5)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

.lightbox-target,
.lightbox:target {
    outline: 0;
    display: block
}

#video {
    width: 100%;
    max-width: 746px;
    height: 270px
}


#video-ytb {
    width: 90%;
    height: 50vw;
    z-index: 10000;
}

@media (min-width: 900px) {
    #video-ytb {
        width: 60%;
        height: 30vw;
    }
}

#video-ytb,
.video-link__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}