body {
    max-width: 35em;
    font-size: 17px;
    font-family: sans-serif;
    margin: auto;
    line-height: 1.5em;
    padding: 0 1.25em 3em;
}

p, li {
    margin: 1.5em 0;
}

ul.tight li {
    margin: 0;
}

li em {
    font-style: normal;
    color: silver;
}

li i {
    font-style: normal;
    background: #FBE50B;
    padding: .2em .1em;
    margin: 0 -.1em;
}

a.lightbox {
    display: block;
    float: left;
    height: auto;
    transition: transform .1s;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
}

a.lightbox img {
    display: block;
    width: 100%;
    height: auto;
}

p a.lightbox {
    max-width: 30%;
    max-width: calc(33.33% - 1em/3*2);
    margin: 0 1em 1.5em 0;
}

p a.lightbox:nth-of-type(3n) {
    margin-right: 0;
}

a.lightbox:focus {
    transform: scale(2.5);
    transition: transform .3s;
    box-shadow: 0 0 17px 17px rgba(0, 0, 0, .06);
    outline: 8px solid white;
}

a.lightbox:focus:after {
    content: attr(title);
    display: block;
    position: absolute;
    bottom: .7em;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .5);
    font-size: 4px;
    line-height: 1.33em;
    letter-spacing: .1px;
    padding: 1.5px 3px 1.5px;
    border-radius: 1px;
}

p a.lightbox:nth-child(3n-2) {
    transform-origin: 0 50%;
}

p a.lightbox:nth-child(3n) {
    transform-origin: 100% 50%;
}


p, ul {
    clear: both;
}

ul {
    padding-left: 1em;
}

ul.emoji {
    padding-left: 1.55em;
    list-style-type: none;
}

ul.emoji li {
    text-indent: -1.64em;
}

h1, h2 {
    margin: 2em 0 1em;
}

h1 {
    background: #FBE50B;
    padding: .33em 1px;
}

p, a {
    color: black;
}

a[href^=tel] {
    padding: .5em 0;
}

footer {
    font-size: 13px;
    margin-top: 5em;
    text-align: center;
    color: silver;
}

@media screen and (min-width: 680px) {
    p {
        text-align: justify;
    }
}

@media screen and (max-width: 400px) {
    h1 {
        line-height: 1.1em;
        margin-top: 1em;
    }
    ul em {
        display: block;
        padding-left: 1.4em;
        padding-bottom: .6em;
    }
}
