﻿@import '../../css/fonts.css?v=3.0.22';
@import 'variables.css?v=3.0.22';

html {
    font-size: 14px;
    height: 100%;
    width: 100%;
}

body {
    background-color: #000; /* Required for bottom bar transparency effect on iOS */
    display: flex;
    flex-direction: column;
    font-family: OpenSansRegular, sans-serif;
    margin: 0;
    min-width: 360px;
    padding: 0;
    position: relative;
}

body>img {
    height: 100%;
    object-fit: cover;
    position: fixed;
    width: 100%;
}

.header {
    align-items: center;
    background: var(--header-background);
    display: flex;
    flex: 0 0 auto;
    height: 58px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header>img {
    height: 30px;
    margin-left: 2rem;
    user-select: none;
}

button {
    background-color: var(--close-button-background);
    border: 0;
    border-radius: var(--border-radius);
    color: var(--close-button-foreground);
    cursor: pointer;
    font-family: OpenSansSemiBold, sans-serif;
    margin-right: 2rem;
    padding: .5rem 1rem;
    z-index: 100;
}

button:hover {
    background-color: var(--close-button-hover-background);
}

.container {
    align-items: stretch;
    background-color: var(--container-background);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    margin: 0 auto 58px;
    padding: 0 4rem 3rem;
    position: relative;
    max-width: 800px;
}

.frame {
    border: 1px solid black;
    padding: 0 10px;
}

.center {
    align-self: center;
}

.version {
    bottom: 0.2rem;
    color: var(--version-foreground);
    font-family: OpenSansLight, sans-serif;
    font-size: .7rem;
    position: absolute;
    right: 0.8rem;
}

b {
    font-family: OpenSansSemiBold, sans-serif;
}

i {
    font-family: OpenSansRegular, sans-serif;
    font-style: italic;
}

h1 {
    font-family: OpenSansLight, sans-serif;
    font-size: 3rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

h3 {
    font-family: OpenSansSemiBold, sans-serif;
    font-size: 1.3rem;
}

p {
    margin: .4rem 0;
}

p.big {
    font-size: 1.2rem;
}

p.spaced {
    line-height: 1.5rem;
}

p.cnc {
    align-items: center;
    display: flex;
}

p.cnc>img {
    margin-left: .5rem;
}

p.top-margin {
    margin-top: 4rem;
}

p.left-margin {
    margin-left: 1rem;
}

p.underlined {
    text-decoration: underline;
}

p.address {
    display: flex;
    flex-direction: column;
}

.subtitle {
    font-family: OpenSansSemiBold, sans-serif;
    margin-right: .5rem;
}

a:link,
a:visited {
    color: var(--link-foreground);
    text-decoration: none;
}

a:hover,
a:active {
    text-decoration: underline;
}

sup {
    position: relative;
    top: -0.5rem;
    vertical-align: baseline;
}

ul {
    list-style: none;
    margin-top: 0;
}

ul.bullet {
    list-style-type: disc;
}

ul.dash {
    list-style-type: "– "
}

li:not(:last-child) {
    margin-bottom: .4rem;
}

img.light {
    display: none;
}

/* Style for mobile apps */

body.mobile>.container {
    padding: 0 2rem 1rem;
}

@media (max-width: 980px) {
    .header>img {
        margin-left: 0;
    }

    .container {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

body.mobile img.dark {
    display: none;
}

body.mobile img.light {
    display: revert;
}