@import url('http://fonts.googleapis.com/earlyaccess/nanumgothic.css');
* {
    padding: 0;
    margin: 0 auto;
}
a {
    text-decoration: none;
}
ol,
ul {
    list-style: none;
}
body {
    background-color: #ecebe9;
}
.container {
    position: relative;
    width: 760px;
    text-align: center;
    transition: 0.3s cubic-bezier(0.95, 0.05, 0.795, 0.035);
}
.container > ol {
    list-style: none;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    -webkit-padding-start: 0;
}
.container > ol li {
    position: relative;
    display: inline-block;
    width: 35%;
    margin: 5px 5px;
}
.container > ol li img {
    display: block;
    width: 100%;
    margin: 0;
}
.container > ol li div.before {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    line-height: 19px;
    font-size: 14px;
    font-family: 'Nanum Gothic', serif;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

@media (max-width: 770px) {
    .container {
        width: 320px;
    }

    .container > ol li {
        width: 100%;
        margin: 3px 0;
    }
}