* {
    box-sizing: border-box;
}

html,
body {
    margin: 0 auto;
    background-color: #ebebeb;
    max-width: 40rem;
    padding: 0 2rem;
}

@media (min-width: 45rem) {
    html,
    body {
        max-width: 50.75rem;
    }
}

@media (min-width: 55rem) {
    html,
    body {
        max-width: 78.75rem;
    }
}

.Scroll_Wrapper {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    /* Make a counter */
    counter-reset: item-count;
    font-size: 0;
}

/*Stops the scrollbar appearing in WebKit browsers*/
.Scroll_Wrapper::-webkit-scrollbar {
    display: none;
}

.Item {
    display: flex;
    font-size: 1rem;
    counter-increment: item-count;
    position: relative;
    background-color: #ebebeb;
    border-bottom: 2px solid #bbb;
    height: 9rem;
    width: 50%;
    margin: 1rem 0;
}

@media (min-width: 45rem) {
    .Item {
        width: 33.3333333333%;
    }
}

@media (min-width: 55rem) {
    .Item {
        width: 25%;
    }
}

.Item::before {
    content: counter(item-count);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1rem;
    top: 0;
    left: -2rem;
    border-radius: 50%;
    height: 1.4rem;
    width: 1.4rem;
    background-color: #ccc;
    border: 1px solid #999;
}

.Item img {
    max-height: 7.25rem;
}

.Caption {
    padding-left: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 800;
}

.Caption em {
    display: block;
    margin-top: 4px;
    font-size: 0.9em;
    font-weight: 400;
}
