/* roboto-slab-regular - latin */
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab/roboto-slab-v24-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/roboto-slab/roboto-slab-v24-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* roboto-slab-700 - latin */
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab/roboto-slab-v24-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/roboto-slab/roboto-slab-v24-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

:root {
    --mainColor: #002851;
}

* {
    box-sizing: border-box;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.8;
}

.page-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body {
    font-family: 'Roboto Slab', sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 300;
    background: url("../img/bg-2.png") top repeat-x #fff;
}

.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    position: relative;
    padding: 2rem;
}

.layout-container {
    max-width: 1260px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .9);
    color: #000;
    border-top: 8px solid var(--mainColor);
    border-bottom: 8px solid #999999;
    text-align: center;
    padding: 3rem clamp(1rem, 5vw, 3rem);
}

h1, h2, h3 {
    margin-top: 0;
}

h1, h2 {
    font-weight: 900;
    font-size: clamp(18px, 4vw, 1.75em);
    margin-bottom: 0.5em;
    line-height: 1.1;
    color: var(--mainColor);
}

h2 {
    font-size: 1.5em;
}

p {
    margin-bottom: 1.2em;
}

p i {
    vertical-align: middle;
    margin-right: 0.5em;
}

p:last-child {
    margin: 0;
}

img {
    height: auto;
}

small {
    opacity: 0.75;
}

.page-logo {
    margin-bottom: 2rem;
}

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