/* GLOBAL VARIABLES */
:root {
  /* Typography */
  --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", sans-serif;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  --serif-font: "Times New Roman", Times, Georgia, serif;
  --base-size: 0.85rem;

  /* Color palette */
  --bg: #fff;
  --accent-bg: #f5f7ff;
  --text: #333;
  --text-light: rgb(104, 104, 104);
  --border: #d8dae1;
  --accent: #000000;
  --link: #1738f8;
  --inverse-link: #ffffff;
}

/* CSS RESET */
html {
  box-sizing: border-box;
  overflow-y: scroll;
}

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

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

button,
input[type=submit] {
    background-color: unset;
    margin: unset;
    border: unset;
    font-family: var(--serif-font);
    padding: unset;
    font-size: var(--base-size);
    cursor: pointer;
}

body {
  max-width: 90rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: var(--base-size);
  font-family: var(--serif-font);
  font-weight: normal;
  position: relative;
  height: 100vh;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

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

/* CUSTOM STYLES */
.ghost {
  opacity: 0;
}