@font-face {
    font-family: "Circular Air Pro";
    src: url(/fonts/CircularAirPro-Book.otf) format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: "Circular Air Pro";
    src: url(/fonts/CircularAirPro-Medium.otf) format('opentype');
    font-weight: 500;
}


html {
  font-size: 16px;
}

html {
  position: relative;
  min-height: 100%;
  font-family:'Circular Air Pro'
}

a {
    color: #386BCC;
}

body.cover {
    margin-top: 300px;
    max-width: 430px;
    background-image: url('../img/cover-qrcode-scan.png');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 430px;
}

    body.cover header {
        text-align: center;
        color: white;
        position: absolute;
        top: 160px;
        left: 0;
        right: 0;
        font-weight: 500;
        padding: 0;
        margin: 0;
        margin-left: auto;
        margin-right: auto;
    }
        body.cover header h1 {
            font-size: 20px;
            padding-left: 1em;
            padding-right: 1em;
            font-weight: 500;
        }

main {
    padding: 2em;
    padding-top:1em;
}

footer {
    text-align: center;
    padding: 1em;
    font-size: 14px;
}

.badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 40px;
    margin: auto;
    justify-content: space-around;
}

    .badges a {
        display: block;
        max-width: 250px;
        width: 250px;
        margin-right: 0.5em;
        margin-bottom: 1em;
        margin-left: 0.5em;
    }

        .badges a img {
            max-width: inherit;
            width: inherit;
        }

@media (min-width: 500px) {
    html {
        font-size: 16px;
    }

    body.cover {
        margin-top: 380px;
        margin-left: auto;
        margin-right: auto;
        max-width: 1024px;
        background-image: url('../img/cover-qrcode-desktop.png');
        background-size: 1024px;
        background-position: center top;
    }

        body.cover header {
            top: 200px;
            font-size: 20px;
        }

        body.cover header h1 {
            font-size: 26px;
        }

        body.cover main {
            font-size: 18px;
            padding-top: 2em;
        }
}