@import url("https://fonts.googleapis.com/css?family=Droid+Serif|Permanent+Marker");

.picture {
    grid-area: picture;
    margin-bottom: 2em;
    margin-left: 1em
}

.picture__border {
    width: 100%;
    background: #f9f9f9;
    padding: 20px 10px 10px;
    height: 95%;
    transform: rotate(5deg);
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15)
}

.picture__border:after {
    content: "";
    width: 55%;
    height: 20px;
    top: -10px;
    z-index: 5;
    left: 25%;
    transform: rotate(-2deg);
    position: absolute;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: rgba(220, 220, 220, 0.4)
}

.picture__border img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.picture__border figcaption {
    margin: 10px 0;
    text-align: center;
    display: block;
    font: 1.10em "Permanent Marker";
    color: #444
}

.tape {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 1em 0.5em rgba(255, 255, 255, 0.1);
    position: absolute;
    transform: rotate(-5deg);
    -webkit-filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3))
}

.tape:after, .tape:before {
    background-size: .4em .4em;
    bottom: 0;
    content: '';
    position: absolute;
    top: 0;
    width: .2em
}

.tape:after {
    background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.3) 50%), linear-gradient(-45deg, transparent 50%, rgba(255, 255, 255, 0.3) 50%);
    background-position: 0 100%;
    left: -.2em
}

.tape:before {
    background-image: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.3) 50%), linear-gradient(-135deg, transparent 50%, rgba(255, 255, 255, 0.3) 50%);
    background-position: 100% 100%;
    right: -.2em
}

.marquee {
    width: 100%;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    will-change: transform;
    animation: marquee 20s linear infinite
}

.marquee span:hover {
    animation-play-state: paused
}

@keyframes marquee {
    0% {
        transform: translate(0, 0)
    }
    100% {
        transform: translate(-100%, 0)
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee {
        white-space: normal
    }

    .marquee span {
        animation: none;
        padding-left: 0
    }
}
