﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

#wrapper {
    position: relative;
    max-width: 630px;
    margin: 12px auto;
    border: 3px solid #231f20;
    padding: 20px;
    overflow: hidden;
    font-size: 17px;
    line-height: 21px;
    color: #231f20;
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
}

header {
    position: absolute;
    top: 21px;
    left: 15px;
}

article {
    padding: 0 0 0 121px;
}

footer {
    display: flex;
    justify-content: space-between;
    column-gap: 30px;
}

.font {
    font-size: 16px;
    line-height: 20px;
}

p {
    margin-bottom: 9px;
}

h1 {
    margin: 7px 0px 15px;
    font-size: 21px;
    line-height: 28px;
    text-align: center;
}

h2 {
    font-size: 18px;
    line-height: 22px;
}

h3 {
    font-size: 17px;
    line-height: 21px;
    margin-bottom: 3px;
}

footer em {
    font-style: normal;
    font-size: 30px;
    line-height: 0;
    position: relative;
    top: 5px;
}

a {
    color: #231f20;
    text-decoration: none;
}

footer div {
    flex: 1 1 0;
}

a:hover {
    text-decoration: underline;
}

.mb0 {
    margin-bottom: 0;
}

p span {
    white-space: nowrap;
}

@media (max-width: 629px) {
    #wrapper {
        margin: 0;
        padding: 16px;
        border: none;
    }

    br {
        display: none;
    }

    .br br {
        display: inline;
    }
}

@media (max-width: 559px) {
    article {
        padding-left: 0;
    }

    header {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        row-gap: 17px;
    }
}

h1 span {
    display: block;
    font-size: 27px;
    line-height: 31px;
}

h1 small {
    font-size: 26px;
}