:root {
  --foregroundcolor: #a06b07;
  --backgroundcolor: #05000d;
}

@font-face {
  font-family: 'silkaregular';
  src: url('./fonts/silka-regular-webfont.eot');
  src: url('./fonts/silka-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('./fonts/silka-regular-webfont.woff2') format('woff2'),
        url('./fonts/silka-regular-webfont.woff') format('woff'),
        url('./fonts/silka-regular-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'silkabold';
  src: url('./fonts/silka-bold-webfont.eot');
  src: url('./fonts/silka-bold-webfont.eot?#iefix') format('embedded-opentype'),
        url('./fonts/silka-bold-webfont.woff2') format('woff2'),
        url('./fonts/silka-bold-webfont.woff') format('woff'),
        url('./fonts/silka-bold-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html {
  font-size: 62.5%;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--foregroundcolor);
  background: var(--backgroundcolor);

  font-family: 'silkaregular';
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}

main {
  display: flex;
  flex-direction: column;
  margin: 2.5rem;

  max-width: 62rem;
  margin: 2.5rem auto;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
}

h1, h2 {
  font-family: 'silkabold';
  font-size: 3.3rem;
  font-weight: normal;
  margin: 0;

  background-color: var(--foregroundcolor);
  color: var(--backgroundcolor);
  padding: 2.5rem;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 2.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 2.5rem;
  padding: 0;
  line-height: 1.5;
  font-size: 2rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  font-size: 2rem;
  color: var(--foregroundcolor);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style-type: none;
  padding: 0;
}

time {
  font-size: 1.2rem;
  background-color: var(--foregroundcolor);
  color: var(--backgroundcolor);
  padding: 2.5rem;
}
