html,
body {
    overflow-x: hidden;
    display: block;
    height: 100%;
    font-family: 'Averta Standard', Arial, Helvetica, sans-serif;
    line-height: 1.4;
    overflow-x: hidden !important;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
}

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

header,
main,
footer {
    max-width: 1020px;
    margin: 0 auto;
}

header {
    padding: 0rem 5rem;
}

footer {
    padding: 2rem 5rem;
}

@media only screen and (max-width: 600px) {
    header {
        padding: 0rem 1rem 1rem 1rem;
    }

    main {
        padding: 0 1rem !important;
    }
}

main {
    padding: 0 5rem;
    margin-top: 10rem;
}

footer small {
    margin-right: 1rem;
}

a,
p,
li {
    color: #242249;
    font-weight: 400;
    font-size: 5vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #242249;
    font-weight: 500;
}

h2 {
    font-size: 5vw;
}

small {
    font-weight: 300;
}

@media only screen and (max-width: 600px) {
    small {
        font-size: 12px;
    }
}

a {
    color: #008787;
    text-decoration: underline;
    text-underline-offset: .1em;
}

a:hover {
    text-decoration-thickness: max(6px);
}

a:focus {
    background-color: #FFB81C;
    color: #242249;
    outline: none;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    padding-bottom: .5rem;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding-bottom: 1em;
}


.title a,
.subtitle,
    {
    font-weight: 500;
    padding: 0;
    margin: 0;
    font-size: 5vw;
    text-decoration: none;
    color: #000;
}

@media only screen and (min-width: 1020px) {

    .title a,
    .subtitle {
        font-size: 2rem;
        font-weight: 500;
        padding: 0;
        margin: 0;
        text-decoration: none;
        color: #000;
    }

    h1, h2 {
        font-size: 2rem;
        font-weight: 500;
        text-decoration: none;
        color: #000;
    }

    p,
    a,
    li {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 1019px) {

    .title a,
    .subtitle {
        font-size: 5vw;
        font-weight: 500;
        padding: 0;
        margin: 0;
        text-decoration: none;
        color: #000;
    }

    h1, h2 {
        font-size: 5vw font-weight: 500;
        text-decoration: none;
        color: #000;
    }

    p,
    a,
    li {
        font-size: 5vw;
    }
}

.title {
    margin: 10rem 0 0 0;
}

.subtitle {
    color: #7D7D7D;
}

img {
    padding-bottom: 2em;
}

.right {
    float: right;
}