/*
This file should contain _as few CSS classes as possible_.
 */
html {
    font-size: 62.5%;
}

body {
    color: var(--color-primary-black);
    font-family: var(--font-family-main);
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: var(--line-height-body);
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    /* This is related to the gtranslate switcher */
    position: static !important;
}

a {
    text-decoration: none;
    color: var(--color-brand-blue);
}

a:hover {
    text-decoration: underline;
    color: var(--color-brand-red);
}

a:active {
    text-decoration: underline;
    color: var(--color-brand-dark-red);
}

a img {
    border: none;
}

p {
    line-height: 1.6;
    margin: 0 0 var(--margin-medium) 0;
}

ul:not(.list-as-nav) {
    margin-bottom: var(--margin-normal);
    list-style-type: disc;
    margin-left: 1.25rem;
}

ul li {
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

ul ul {
    list-style-type: circle;

}

:is(ul, ol) :is(ul, ol) {
    margin-top: 1.25rem;
}

hr {
    margin: 2rem 0;
}

:is(h1, h2, h3, h4, h5, h6) {
    color: var(--color-brand-blue);
    margin-top: 0;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
}

h2 {
    font-size: 3.2rem;
    font-weight: 800;
}

h3 {
    font-size: 3rem;
    font-weight: 400;
}

h4 {
    font-size: 2.8rem;
    font-weight: 600;
}

h5 {
    font-size: 2.8rem;
    font-weight: 400;
}


p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: var(--line-height-body);
}
