﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 590px;
    margin: 16px auto;
    border: 2px solid #000;
    padding: 25px 20px 0;
    background-color: #fff;
    overflow: hidden;
    color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    line-height: 20px;
    font-weight: 400;
}

header {
    padding: 0 0 14px;
}

article {
    position: relative;
}

figure {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

footer {
    padding: 6px 16px;
    background: #d7d7d7;
    text-align: center;
    font-size: 18px;
    line-height: 22px;
    margin: 15px 0 0;
}

.font {
    font-size: 16px;
    line-height: 0;
    position: relative;
    top: -2px;
}

span {
    white-space: nowrap;
}

strong {
    font-weight: 600;
}

article p {
    margin: 0 0 10px;
}

h1 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 30px;
    font-weight: 600;
}

a {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width: 588px) {
    #wrapper {
        padding: 16px;
        border: none;
        margin: 0 auto;
    }

    figure {
        display: flex;
        justify-content: center;
        position: static;
        margin: 16px 0 0;
    }

    br {
        display: none;
    }
}