/* include fonts */
@font-face {
    font-family: fontRegular;
    src: url(genos_gfg_regular.ttf);
}

@font-face {
    font-family: fontBold;
    src: url(genos_gfg_bold.ttf);
}

/* h1 headline color (primary) and fonts */
h1 {
    color: #002D67;
    font-family: fontBold, sans-serif;
    font-size: 1.8em;
}

h2 {
    font-family: fontBold, sans-serif;
    font-size: 1.3em;
}

p, a {
    font-family: fontRegular, sans-serif;
    font-size: 1.1em;
}

h1.error-title {
    color: black;
}

/* content margins and alignment */
body {
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
}

#main-content {
    flex-grow: 1;
}

/* vertical space between text and images */
#text-content {
    margin-bottom: 25px;
}

/* center left and right image boxes evenly spaced */
#image-content {
    display: flex;
    justify-content: space-evenly;
}

/* center store images (badge & qrcode) inside div */
div.imagebox {
    text-align: center;
}

div.imagebox > a {
    cursor: pointer;
}

.store-badge {
    height: 50px;
}

/* qrcode size */
.qrcode > img {
    width: 150px;
}

/* styles for footer */
.service-navigation {
    flex-basis: 70px;
    width: 100%;
    border-top: 1px solid #ccc;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 11px;
}

.service-links {
    list-style: none;
    display: flex;
}

.service-links > li {
    margin-right: 15px;
}

@media only screen and (min-width: 601px) {
    #main-content {
        max-width: 950px;
        margin-left: 60px;
        margin-right: 60px;
        margin-top: 45px;
    }

    .service-links {
        margin-left: 30px;
        display: flex;
    }
}

/* mobile specific settings:
   - hide qr codes
   - update margins/paddings
   - display footer elements below each other
*/
@media only screen and (max-width: 600px) {
    .qrcode {
        display: none;
    }

    .service-links {
        margin-left: 0;
        padding-left: 20px;
    }

    .service-links > li {
        margin-bottom: 10px;
    }

    #main-content {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* special behaviour for strong zooms (e.g. accessibility):
   - display store badges below each other
*/
@media only screen and (max-width: 350px) {
    #image-content {
        display: block;
    }

    .store-badge {
        margin-bottom: 20px;
    }

    .service-links {
        display: block;
    }
}
