:root {
    --primary-color: #4CAF50;
    --secondary-color: #ff9800;
    --font-family: 'Public Sans', sans-serif;
    --header-font-family: 'Bricolage Grotesque', sans-serif;
    --background-color: #f5f0ea;
    --text-color: #333;
    --dark-yellow: #cfb045;
    --grey: #f5f0ea;
    --black: #000000;
    --bright-yellow: #f0d962;
    --green: #6abb99;
    --white: #ffffff;
    --dark-grey: #bbd4db;
    --darker-grey: #7ca1a9;
    --orange: #FF853E;
    --blue: #7487F2;
    --lila: #BB9BC2;
    --mint: #6ABB99;
    --container-width: min(94vw, 720px);
    --container-outer-width: 100vw;
    --outer-padding: calc((100vw - var(--container-outer-width))/2);
    --inner-padding: calc((100vw - var(--container-width))/2);
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.8em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font-family);
    font-weight: 900;
    color: var(--black);
}

a:visited {
    color: var(--black);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: var(--black);
    text-decoration: none;
}

h1 {
    text-align: center;
    font-size: 2.1rem;
    margin-top: 1em;

}

h2 {
    font-size: 1.8rem;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
}


body>header,
body>main,
body>footer {
    padding-left: var(--inner-padding);
    padding-right: var(--inner-padding);
}

main {
    min-height: 80vh;
}

body>header {

    border-bottom: solid 0.5px var(--dark-grey);
}

footer {
    border-top: solid 0.5px var(--dark-grey);
    padding: 18px 0;
    text-align: center;
    font-size: 0.9rem;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

footer nav {
    display: flex;
    flex-direction: column;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

body>header>nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

body>header a {
    color: var(--black);
    font-family: "Bricolage Grotesque";
    font-weight: 900;
    text-decoration: none;
    font-size: 1.2rem;
}

.chart-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas.marks {
    max-width: 100%;
    height: auto !important;
}

section.intro {
    border-bottom: solid 1px var(--bright-yellow);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.btn.more-info {
    display: inline-block;
    cursor: pointer;
    background-color: var(--bright-yellow);
    margin-bottom: 0;
    padding: 0.8em 1.2em;

    border-radius: 7px;
    user-select: none;
    box-shadow: 5px 5px #000;
    border: 1px solid #000 !important;
    transition: all ease-in .2s !important;
    border-color: var(--black);
    font-family: var(--font-family);
    font-weight: 700;
}

.btn.more-info:hover {
    box-shadow: none;
    transform: translatey(4px) !important;
}

.more-info.hidden {
    display: none;
}

article.collection {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

a.back {
    margin-top: 1em;
    margin-bottom: 1rem;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: flex-start;
}