body {
    display: flex;
    flex-direction: column;
    margin: 0;

    font-family: HelveticaNeue-Light, 'Helvetica Neue Light', 'Helvetica Light', Helvetica, Arial, Verdana, sans-serif;
}

a {
    color: #0d53d7;
    text-decoration: none;
}

a:hover {
    color: #e20e0e;
    text-decoration: underline;
}

.layout {
    max-width: 900px;
    padding: 0 20px;
}

.logo,
.logo figure {
    margin: 0;
}

.logo {
    margin-top: 8px;
}

.logo figure {
    position: relative;
}

.logo figure:after {
    position: absolute;
    content: '';

    background-repeat: no-repeat;
    background-size: contain;
}

.logo_status_ok figure:after {
    background-image: url(img/ok.png);
}

.logo_status_fail figure:after {
    background-image: url(img/fail.png);
}

.logo img {
    width: inherit;
}

.logo figcaption {
    margin-top: 2px;
    text-align: center;
    color: #3e3a3a;
}

.info .message {
    position: relative;
    margin: 0;
    line-height: 1.5;
}

.info .message:before {
    position: absolute;
    content: '';

    width: 30px;
    height: 30px;

    box-shadow: 0 0 4px 0px grey;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: contain;
}

.info .message + .message {
    margin-top: 20px;
}

.info .message_lang_en:before {
    background-image: url(img/flag_en.svg);
}

.info .message_lang_ru:before {
    background-image: url(img/flag_ru.svg);
}

.info .message__title {
    margin: 0 0 4px 0;

    font-weight: normal;
}

.info .message_positive .message__title {
    color: #048804;
}

.info .message_negative .message__title {
    color: #e04646;
}

.info p {
    margin: 0;
}

.info .message code {
    display: inline-flex;
    padding: 0 4px;

    position: relative;
    top: -1px;

    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    background-color: rgba(0,0,0,.03);
    border-radius: 4px;
}

footer {
    margin-top: 50px;
}

footer .platforms {
    text-align: center;
}

.botlink {
    position: relative;

    display: inline-block;
    height: 40px;
    padding: 10px 10px 10px 60px;

    line-height: 40px;
}

.botlink:before {
    position: absolute;
    left: 10px;
    content: '';

    width: 40px;
    height: 40px;
}

.botlink_platform_telegram:before {
    background: url(img/platform_telegram.svg) no-repeat;
}

.about {
    padding: 0 20px;
}

.about__text {
    font-size: 13px;
    line-height: 1.4;
    color: #444242;
}

@media (max-width: 700px) {
    .layout {
        margin: 8vh auto 0;
    }

    .logo,
    .logo figure {
        margin: 0 auto;
        width: 150px;
    }

    .logo img {
        height: 165px;
    }

    .logo_status_ok figure:after,
    .logo_status_fail figure:after {
        top: -3px;
        right: -3px;

        width: 40px;
        height: 40px;
    }

    .info {
        margin-top: 50px;
    }

    .info .message:before {
        top: 3px;
    }

    .info .message__title {
        text-indent: 40px;
    }

    .about {
        margin-top: 30px;
    }

    .about__text {
        margin: 6px 0;
    }

    .about__separator {
        height: 0;
        overflow: hidden;
        border-top: 1px solid gray;
        border-image-source: linear-gradient(45deg, #fff, #a4a3a3, #fff);
        border-image-slice: 1 0 0;
        margin: 15px auto;
        max-width: 160px;
    }
}

@media (min-width: 701px) {
    .layout {
        display: flex;
        flex-grow: 1;
        margin: 15vh auto 0;
    }

    .logo,
    .logo figure {
        width: 180px;
    }

    .logo img {
        height: 198px;
    }

    .logo_status_ok figure:after,
    .logo_status_fail figure:after {
        top: -5px;
        right: -5px;

        width: 50px;
        height: 50px;
    }

    .info {
        margin-left: 120px;
    }

    .info .message:before {
        top: 6px;
        left: -45px;
    }

    .about {
        display: flex;
        justify-content: center;
    }

    .about__text {
        width: 320px;
    }

    .about__text_lang_ru {
        width: 380px;
    }

    .about__separator {
        margin: auto 20px;

        font-size: 24px;
        color: #8e8c8c;
    }
}
