* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Gotham";
}

html,
body {
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
    background-color: var(--light-grey);
}

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

button {
  border: none;
  outline: none;
  cursor: pointer;
}

input,
textarea {
  border: none;
  outline: none;
}

h1 {
  font: var(--font-h1);
}

h2 {
  font: var(--font-h2);
  letter-spacing: 0;
}

h3 {
  font: var(--font-h3);
  letter-spacing: 0;
}

h4 {
  font: var(--font-h4);
  letter-spacing: 0;
}

h5 {
  font: var(--font-h5);
}

/*
Original HTML file head styles
*/

table tr {
    padding-right: 1.5rem;
}

table th,
table td {
    padding-left: 1.5rem;
}

/*
Restyle styles
*/

header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    background-color: var(--core-blue);
    color: white;
    border-bottom-left-radius: 6rem;
}

header .logo {
    position: absolute;
    top: 3rem;
    left: 3rem;
}

header .page-title {
    margin: 0 auto;
}

header .page-title h1 {
    margin-bottom: .8rem;
}

header .page-title h2 {
    margin-top: 0;
}

.container-restyle {
    max-width: var(--max-width);
    margin: 0 auto;
}

footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 0 6rem 3rem;
    background-color: var(--core-blue);
    border-top-left-radius: 6rem;
}

/*
General helpers
*/

.success {
    background-color: green;
    color: white;
}

.failure {
    background-color: red;
    color: white;
}

.lozenge {
    padding: .3rem .5rem;
    border-radius: var(--border-radius-small);
    text-transform: uppercase;
}

/*
Materialize overrides
*/

.card {
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-white);
}

.card-title {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grey);
    margin-bottom: 1rem !important;
}

.collapsible {
    background-color: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-white);
}

.collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border: none;
    background-color: unset;
}

.collapsible li:nth-child(even) {
    background-color: var(--light-grey);
}
