/* BASIC STUFF */

*, *:before, *:after {
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #00082A;
}

/* will be used later for specific shows */
body.desktop {
    /*background: url(/assets/img/bgexample-desktop.jpg) no-repeat center center fixed; background-size: cover;*/
}

/* will be used later for specific shows */
body.mobile {
    /*background: url(/assets/img/bgexample-mobile.jpg) no-repeat center center fixed; background-size: cover;*/
}

a:link {
    text-decoration: none !important;
}


/* SECTIONS */

main {
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 20px 24px 40px;
}

header {
    padding: 20px 20px 0px;
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

footer {
    display: flex;
    justify-content: center;
    flex-direction: row;
    z-index: 1;
    position: fixed;
    width: 100%;
    bottom: 0px;
    padding: 8px 20px 20px;
}

/* MAIN CONTAINER */

.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
    min-width: 260px;
    max-width: 302px;
    margin: auto;
    padding: 24px 24px 20px;
}


/* DESKTOP MENU */

.menu {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.12);

    height: 40px;
    border: 1px solid #E5E5E5;
    background-color: #fff;
}

.menu a {
    font-weight: 600;
    color: #17181A;
    font-size: 14px;
    padding: 0px 12px 1px;
    border-right: 1px solid #E5E5E5;
    float: left;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu a:last-child {
    border: 0;
}

.menu a:hover {
    background-color: #E5E5E5;
}


/* IMAGES */

.close-logo {
    height: 40px;
    width: 48px;
    background-image: url('../img/close-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
}

#inner-logo {
    margin-bottom: 20px;
}

#qr-code {
    width: 230px;
    height: 230px;
    margin: 12px 12px 24px;
    background-size: 230px 230px;
    background-repeat: no-repeat;
    background-image: url('../img/qrcode-test.png');
}

.store-img {
    width: 122px;
    height: 40px;
    background-size: 122px 40px;
    background-repeat: no-repeat;
}

.appcontainer {
    width: 100%;
    margin-top: 28px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#appstore {
    background-image: url('../img/appstore.png');
    margin-right: 12px;
}

#playstore {
    background-image: url('../img/playstore.png');
}

#link-icon {
    height: 20px;
    width: 20px;
    margin: 12px auto 12px 16px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-image: url('../img/link-icon.png');
}


/* TEXT */

p.heading {
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 12px;
    color: #000;
}

p.description {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 4px;
    color: #8E8E93;
}

.button {
    width: 100%;
    height: 44px;
    margin-top: 28px;
    background-color: #510EA8;
    border-radius: 8px;
    font-weight: 700;
    color: #ffffff;
    font-size: 17px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.button p {
    position: absolute;
    width: 100%;
    text-align: center;
}


/* MEDIA QUERIES */

@media only screen and (-o-min-device-pixel-ratio: 5/4), only screen and (-webkit-min-device-pixel-ratio: 1.25), only screen and (min--moz-device-pixel-ratio: 1.25), only screen and (min-device-pixel-ratio: 1.25), only screen and (min-resolution: 1.25dppx) {
    .close-logo {
        background-image: url('../img/close-icon@2x.png');
    }

    #appstore {
        background-image: url('../img/appstore@2x.png');
    }

    #playstore {
        background-image: url('../img/playstore@2x.png');
    }

    #link-icon {
        background-image: url('../img/link-icon@2x.png');
    }
}

@media screen and (orientation: landscape) {
    #container-mobile {
        max-width: 420px;
        margin: auto 178px auto 32px;
    }

    .errorpage {
        margin: auto !important;
    }

    footer {
        justify-content: flex-end;
        flex-direction: column;
    }

    .mobile > .store-img {
        margin: 8px 0px auto auto !important;
    }
}

@media (max-width: 348px) {
    .store-img {
        width: 98px;
        height: 32px;
        background-size: 98px 32px;
    }

    #appstore {
        margin-right: 6px;
    }

    main {
        padding: 20px 24px 72px;
    }
}
