html {
    height: 100%;
}

body {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1rem;
    min-height: 100%;
    border: 10px solid #ffffff;
    background: #62929e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #303436;
}

.header {
    margin: 0;
}

.header__logo {
    width: 100%;
}

.title {
    display: flex;
    align-items: center;
    margin: 0 0 1.5rem 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.external-sites {
    margin: 0;
    padding: 0;
    list-style: none;
}

.extern-sites__list-item {
    margin: 0 .5rem .5rem 0;
}

.extern-sites__list-item:last-child {
    margin: 0;
}

.external-sites__link {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 2rem;
    background: #ffffff;
    text-decoration: none;
    color: #303436;
    border: 2px solid #62929e;
}

.external-sites__link:hover,
.external-sites__link:focus {
    box-shadow: 0 0 0 2px #fff;
}

.external-sites__link::after {
    content: '';
    display: inline-block;
    margin-left: .75rem;
    width: .7rem;
    height: .7rem;
    background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTS42NTcuNjU3VjIuNjVsNy44OTguMDA3LTguNjA1IDguNjA1IDEuNDE0IDEuNDE1IDguNjA1LTguNjA2LjAwOCA3Ljg5OWgxLjk5NFYuNjU3eiIgZmlsbD0iIzMwMzQzNiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+") no-repeat center / auto 100%;
}

.error a {
    color: #303436;
}

@media (min-width: 350px) {
    .header {
        margin-bottom: .5rem;
    }

    .title::before {
        content: '';
        flex: 1 1 auto;
        margin-right: 1rem;
        display: block;
        height: 2px;
        background: #303436;
    }
}

@media (min-width: 530px) {
    .title {
        margin-bottom: 2.5rem;
        font-size: 1.6rem;
    }

    .external-sites {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .5rem;
    }

    .extern-sites__list-item {
        margin: 0;
    }

    .external-sites__link {
        display: flex;
        align-items: center;
    }

    .external-sites__link::after {
        margin-left: auto;
    }

    .error {
        text-align: center;
    }
}