html {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  line-height: 1;
  height: 100%;
  background: #eee;
  color: #000;

  --main: #000;
  --sub: #999;
  --accent: #000;
}
@media (prefers-color-scheme: dark) {
  html {
    background: #000;
    color: #fff;

    --main: #eee;
    --sub: #777;
    --accent: #eee;
  }
}

body {
  padding: 4rem;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

h1 {
  font-weight: 900;
  font-size: 5em;
  color: var(--main);
  padding: 0;
  margin: 0;
  display: inline;
}
h1>span {
  font-size: 0.3em;
  color: var(--sub);
}

.watercolour {
  --accent: #d49aa9;
}
.acrylic {
  --accent: #675a88;
}
.pen {
  --accent: #2577f1;
}
.pastel {
  --accent: #d34d3f;
}
.digital {
  --accent: #7cabbc;
}

header {
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  min-height: 100%;
  box-sizing: border-box;
  filter: blur(0);
  transition: all 250ms ease;
}

nav {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
}
nav>a {
  -webkit-tap-highlight-color: transparent;
}
nav>a>h2 {
  font-size: 3em;
  margin:0;
  color: var(--sub);
  transition: color 250ms ease;
}
nav>a:hover>h2 {
  color: var(--accent);
}
nav>a.active>h2 {
  color: var(--accent);
}

article {
  display: none;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-x: scroll;
  gap: 1rem;
  padding: 1rem;
}
article.active {
  display: flex;
}
article>img {
  width: auto;
  height: 25rem;
}

aside {
  position: absolute;
  box-sizing: border-box;
  border-left: var(--main) 1px solid;
  top: 0;
  right: 0;
  width: calc(100% - 36ch);
  height: 0px;
  overflow: hidden;
  transition: all 250ms ease;
}
aside.active {
  height: 100%;
}

@media screen and (max-width: 80rem) {
  body {
    padding: 2rem;
  }
  header {
    font-size: 60%;
  }
  header > h1 > span {
    display: block;
  }
  body.active > header {
    transform: translate(-25%, -25%) scale(50%);
    filter: blur(0.3rem);
    min-height: 0;
  }
  aside {
    width: calc(100% + 2px);
  }
  article>img {
    height: min(40vh, 20rem);
  }
}