@font-face {
    font-family: 'Avenir Next';
    src: url(../fonts/avenir_next_regular.woff2);
}

html,
body { height: 100%; }

body {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: url(../images/background.jpg) center no-repeat;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

main {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background: #FFF;
    border-radius: 6px;
    -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2), 0px 1px 18px rgba(0, 0, 0, 0.12), 0px 6px 10px rgba(0, 0, 0, 0.14);
            box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2), 0px 1px 18px rgba(0, 0, 0, 0.12), 0px 6px 10px rgba(0, 0, 0, 0.14);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    margin: 16px;
    overflow: hidden;
    padding: 40px 24px;
    text-align: center;
    width: 100%;
}

h1 {
    color: rgba(0, 0, 0, 0.87);
    font-family: 'Avenir Next', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    font-size: 1.5rem;
}

p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 1rem;
    letter-spacing: 0.15px;
    line-height: 24px;
}

.container_logo { margin-bottom: 24px; }

.container__text { margin-bottom: 32px; }

.container__badges a {
    display: block;
    margin-bottom: 16px;
}

.container__badges a:last-of-type { margin-bottom: 0; }

/******************/
/* MEDIA QUERIES */
/*****************/

@media (min-width: 768px) {
    main { width: 764px; }

    h1 { font-size: 2.125rem; }

    p { font-size: 1.125rem; }

    .container__badges a {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
        margin-bottom: 0;
        margin-right: 24px;
    }

    .container__badges a:last-of-type { margin-right: 0; }
}