:root {
  --color-bg: #f36747;
  --color-text: #fff;
  --color-link: #000;
  --color-link-hover: #000;
  --font-size: 16px;

  font-size: var(--font-size);
  background: var(--color-bg);
  box-sizing: border-box;
}

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
p,
pre,
blockquote,
figure,
hr {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

input,
textarea,
select,
button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

input,
textarea,
button {
  border: 1px solid gray;
}

button {
  border-radius: 0;
  padding: 0.75em 1em;
  background-color: transparent;
}

button * {
  pointer-events: none;
}

embed,
iframe,
img,
object,
video {
  display: block;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 1.5s cubic-bezier(1, 0, 0, 1);
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  cursor: pointer;
  transition: color 1.5s cubic-bezier(1, 0, 0, 1);
}

a:hover,
a:focus {
  color: var(--color-link-hover);
  outline: none;
  transition: none;
}

nav.main {
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 100;
  top: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.2;
  transition: opacity 0.1s cubic-bezier(1, 0.5, 0.5, 1);
  font-size: 1rem;
}
nav.main:hover {
  opacity: 1;
}
nav.main h1 {
  margin: 0 2ch;
  font-size: 1rem;
}
nav.main a {
  margin-left: 1px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 1rem;
}
