:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    color: #000000;
}

#wrapper {
    margin: 1rem auto;
    border: 3px #00AFEF solid;
    max-width: 800px;
    position: relative;
    padding: 1.5625rem;
    background-color: #FFFFFF;
    overflow: hidden;
}

header {
    margin: 0 0 1.5rem;
}

article {
    padding: 0 0 1.25rem;
}

footer>img {
    position: absolute;
    bottom: 1.5625rem;
    right: 1.5625rem;
}

.logo {
    display: flex;
    gap: 3.125rem;
    align-items: center;
    font-style: normal;
}

p:not(footer p) {
    margin-bottom: 1.25rem;
}

h1 {
    margin: 0 0 1.5rem;
    font-size: 42px;
    line-height: 1.2;
    text-align: center;
    color: #32AAE3;
}

h1 span {
    display: block;
    color: #000;
    font-size: 24px;
    margin: 10px 0 0;
}

h2 {
    font-size: 1.25rem;
    margin: 0 0 0.625rem;
}

h3 {
    text-align: center;
    font-size: 1.1875rem;
    margin: 0 0 2rem;
}

h3 span {
    display: block;
    margin: 0.9375rem 0 0;
}

:is(a, a:link, a:visited, a:hover, a:active) {
    color: #31AAE3;
    text-decoration: underline;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin: 0 0 25px 33px;
    list-style: none;
}

ul li {
    position: relative;
    margin: 0 0 0.125rem;
    padding-left: 26px;
}

ul li .font {
    color: #31AAE3;
    font-size: 1.1875rem;
}

ul li:before {
    content: '';
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 0;
    background: #000000;
    display: block;
}

@media only screen and (max-width:798px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 16px;
    }

    :is(p, ul) {
        hyphens: auto;
    }

    header {
        margin: 0 0 1rem;
    }

    header img {
        width: 100%;
    }

    .logo {
        gap: 1rem;
    }

    h1 {
        font-size: 30px;
    }

    p span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}

@media only screen and (max-width:670px) {
    footer>img {
        position: static;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media only screen and (max-width:495px) {
    .logo {
        flex-direction: column;
    }

    ul {
        margin-left: 0;
    }

    .logo p {
        text-align: center;
    }
}