* {
    margin: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

#wrapper {
    margin: 0.75rem auto;
    border: 3px #231F20 solid;
    max-width: 493px;
    color: #231F20;
    position: relative;
    padding: 14px;
    background-color: #FFFFFF;
    line-height: 23px;
    font-size: 18px;
    font-family: "Roboto Condensed", sans-serif;
    text-align: left;
    overflow: hidden;
}

header {
    margin: 0 0 8px;
    display: flex;
    justify-content: flex-end;
}

footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: flex-end;
}

footer p {
    text-align: right;
    padding-bottom: 0;
}

footer img {
    float: right;
}

p {
    padding-bottom: 10px;
}

h1 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 28px;
    position: relative;
    padding: 0 0 0 27px;
}

h1 span {
    font-size: 16px;
    font-weight: 400;
    display: block;
    line-height: 20px;
}

h1 small {
    font-weight: normal;
    font-size: 16px;
    display: block;
}

h1:before {
    content: '';
    width: 19px;
    height: 31px;
    background: url(iconli.png) no-repeat left 5px;
    position: absolute;
    left: 0;
    top: 0;
}

a {
    color: #231F20;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

@media only screen and (max-width: 493px) {
    #wrapper {
        border: none;
        padding: 15px;
    }

    header {
        display: flex;
        justify-content: center
    }

    h1 {
        font-size: 20px;
        line-height: 22px;
    }

    h1 span {
        font-size: 16px;
        line-height: 20px;
    }

    br {
        display: none
    }

    footer {
        flex-direction: column;
        justify-content: center;
        margin-top: 0;
        align-items: center;
    }

    footer p {
        text-align: center;
    }
}