* {
    margin: 0;
    padding: 0;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    /*border: 0;*/
    /*font: inherit;*/
    /*font-size: 100%;*/
    margin: 0;
    padding: 0;
    /*vertical-align: baseline;*/
    overflow: hidden;
}

html,
body {
    font-family: 'Avenir Next', sans-serif;
    font-size: 16px;
    background-color: #f5f2ed;
    width: 100%;
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    touch-action: pan-x pan-y;
}

.app-wrapper {
    background-color: #f5f2ed;
    width: 100%;
    height: 100vh;
    overflow: hidden scroll;
    display: none;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.main-bg-desk {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: block !important;
    width: 88%;
    margin-left: auto;
}

.main-bg-mob {
    display: none;
}

.component {
    position: relative;
    height: 100%;
    min-height: 800px;
}

.content-container {
    max-width: 1390px;
    padding: 0 20px;
    margin: 0 auto;
    height: 100%;
    overflow: hidden;
}

.inner {
    padding: 40px 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    height: calc(100% - 80px);
    overflow: hidden;
}

.header-bg {
    margin-bottom: 40px;
    overflow: hidden;
}

.logo {
    width: 80px;
    height: 80px;
    background-image: url('../static/icons/metric_app_logo_80.webp');
    background-size: contain;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 660px;
    width: 100%;
    color: #282624;
    top: -65px;
    overflow: hidden;
}

.title {
    margin: 40px 0 0;
    font-weight: 700;
    font-size: 56px;
    line-height: 76px;
    font-style: normal;
}

.subtitle {
    margin-top: 30px;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 36px;
}

.button {
    margin-top: 40px;
    width: 220px;
    height: 70px;
    min-height: 70px;
    /*background-image: url('../static/icons/Appstore.svg');*/
    background-repeat: no-repeat;
    background-color: #000000;
    border-radius: 11px;
    color: #FFFFFF;
    /*text-align: center;*/
    /*vertical-align: center;*/
    font-size: 22px;
    font-weight: bold;
    display: grid;
    align-items: center;
    text-align: center;
}

.button:hover {
    cursor: pointer;
}

.divider {
    display: none;
    background: #bdb9b6;
    opacity: 0.3;
    width: 100%;
    height: 1px;
}

.footer {
    margin: 40px 0 0;
    overflow: hidden;
}

.footer-inner {
    display: flex;
}

.copyright {
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    color: #908c89;
    margin-right: 60px;
}

.footer-link {
    margin-right: 30px;
}

.footer-link:hover {
    cursor: pointer;
    text-decoration: underline;
}

.footer-link:last-child {
    margin-right: 0;
}

.footer-link-text {
    font-weight: normal;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    color: #908c89;
}

.footer-company {
    text-align: left;
    padding-top: 15px;
}

@media screen and (max-height: 700px) {
    @media screen and (min-width: 1024px) {
        .content {
            top: -45px;
        }
        .inner {
            height: auto;
        }
        .footer {
            margin: 0;
        }
    }
}

@media only screen and (max-width: 1024px) {
    html,
    body {
        overflow: hidden auto;
    }

    .app-wrapper {
        height: auto;
    }

    .main-bg-desk {
        display: none !important;
    }

    .main-bg-mob {
        display: block;
        position: relative;
        object-position: top center;
        object-fit: contain;
        background-repeat: no-repeat;
        margin: initial;
        width: 100%;
        max-height: 400px;
    }

    .inner {
        max-width: 414px;
        margin: -20px auto 0;
        justify-content: flex-end;
        height: auto;
        padding: 0;
    }

    .header-bg {
        display: none;
    }

    .logo {
        display: none;
    }

    .content {
        margin-top: 20px !important;
        max-width: 100%;
        top: 0;
    }

    .title {
        margin: 0;
        font-size: 28px;
        line-height: 38px;
        text-align: center;
    }

    .subtitle {
        margin-top: 10px;
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }

    .button {
        width: 176px;
        height: 56px;
        margin: 20px auto 0;
    }

    .divider {
        display: block;
        margin: 40px auto;
    }

    .footer {
        margin: 0 0 40px;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .copyright {
        order: 5;
        margin: 30px auto 0;
    }

    .footer-link {
        margin: 15px auto 0;
    }

    .footer-link:first-child {
        margin: 0 auto;
    }
}
