@font-face {
    font-family: 'metropolis';
    src: url('../assets/fonts/metropolis-regular-webfont.woff2') format('woff2'),
    url('../assets/fonts/metropolis-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'metropolis';
    src: url('../assets/fonts/metropolis-medium-webfont.woff2') format('woff2'),
    url('../assets/fonts/metropolis-medium-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'metropolis';
    src: url('../assets/fonts/metropolis-semibold-webfont.woff2') format('woff2'),
    url('../assets/fonts/metropolis-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'metropolis';
    src: url('../assets/fonts/metropolis-bold-webfont.woff2') format('woff2'),
    url('../assets/fonts/metropolis-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'metropolis';
    src: url('../assets/fonts/metropolis-extrabold-webfont.woff2') format('woff2'),
    url('../assets/fonts/metropolis-extrabold-webfont.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'metropolis';
    src: url('../assets/fonts/metropolis-black-webfont.woff2') format('woff2'),
    url('../assets/fonts/metropolis-black-webfont.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html, body {
    width: 100%;
    height: 100%;
    line-height: 1.15;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

html {
    box-sizing: border-box;
    font-size: 50%;
}

body {
    position: relative;
    display: block;
    background-color: white;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "metropolis", sans-serif;
    font-size: 1.6rem;
    color: #14181e;
}

*, *:before, *:after {
    box-sizing: inherit;
}

main {
    display: block;
}

section,
footer {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: white;
    overflow-x: hidden;
}

h1 {
    margin: 0;
    font-size: 6rem;
}

h2 {
    margin: 0;
    font-size: 5rem;
}

h3 {
    margin: 0;
    font-size: 4rem;
    font-weight: 600;
}

h4 {
    margin: 0;
    font-size: 3rem;
    font-weight: 500;
    color: #14181e;
}

h5 {
    margin: 1rem 0 0 0;
    font-size: 2.7rem;
    font-weight: normal;
    color: #596a89;
}

h6 {
    margin: 1rem 0 0 0;
    font-size: 2.7rem;
    font-weight: normal;
    color: #596a89;
}

a {
    background-color: transparent;
    text-decoration: none;
}

/*todo*/
b,
strong {
    font-weight: bolder;
}

img {
    border-style: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

.top-clip:before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 101%;
    height: 4rem;
    display: block;
    background: url("../assets/images/clip-top.png") center center no-repeat;
    background-size: 100% 4rem;
}

.bottom-clip:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 101%;
    height: 4rem;
    display: block;
    background: url("../assets/images/clip-bottom.png") center center no-repeat;
    background-size: 100% 4rem;
}

@media screen and (min-width: 350px) {
    html {
        font-size: 55%;
    }
}

@media screen and (min-width: 768px) {
    section,
    footer {
        padding: 4rem;
    }
}

@media screen and (min-width: 992px) {
    html {
        font-size: 62.5%;
    }
}

@keyframes float {
    from {
        transform: translate(0, 0);
        box-shadow: 0 2px 30px 0 rgba(219, 218, 218, .5);
    }
    to {
        transform: translate(0, 0.5em);
        box-shadow: 0 2px 30px 0 rgba(219, 218, 218, .9);
    }
}