* {
  font-weight: bold;
}

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

ul {
  list-style: none;
}

:root {
  --background-color: #f3fe9f;
  --color-theme: #ff4000;
  --color-theme-inverse: #ffe4d3;
  --color-link: #27b500;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

html,
body {
  /* min-height: 100vh;
  display: flex;
  flex-direction: column; */
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--background-color);
  font-family: var(--text-font);
  color: var(--color-theme);
}

.width {
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: 0 20px;
}

header {
  height: 136px;
  margin-bottom: 0px;
  position: relative;
  overflow: hidden;
  /* background: var(--color-alert); */
}

header .width {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* header .layout {
  display: grid;
  grid-template-columns: minmax(80px, 200px) 1fr minmax(30px, 60px) 1fr minmax(80px, 200px);
  grid-template-areas: "name x logo y links";
} */

header .layout {
  display: grid;
  grid-template-columns: 1fr minmax(30px, 60px) 1fr;
  grid-template-areas: "name logo links";
}

[style-area="name"] {
  justify-self: start;
  max-width: 200px;
  min-width: 80px;
}

[style-area="links"] {
  justify-self: end;
  max-width: 200px;
  min-width: 80px;
}

header .name {
  place-self: center start;
  padding-right: 20px;
}

header .name img {
  width: 100%;
  max-width: 200px;
}

header h3 {
  font-size: 0.9em;
}

header .logo {
  /* place-self: center; */
  max-width: 60px;
}

header .logo img {
  width: 100%;
}

header ul {
  /* font-family: var(--text-plain-font), sans-serif; */
  text-transform: uppercase;
  /* font-variant-caps: all-small-caps; */
  font-size: 1em;
  grid-area: links;
  text-align: right;
  place-self: center end;
}

header ul a {
  display: inline-block;
  font-size: 0.8em;
  color: var(--color-link);
  text-decoration: none;
  padding: 4px;
}

header ul a .inner {
  padding: 3px;
  border-bottom: 1px solid var(--color-link);
}


#lockup {
  display: grid;
  grid-template-columns: auto 100px;
  grid-template-areas: "words pages";
}

.pages { grid-area: pages; place-self: start end; }
/* .pages ul { display: flex; } */

.pages a {
  display: block;
  background-color: var(--color-theme-inverse);
  color: var(--color-theme);
  padding: 8px;
  text-decoration: none;
}

.big-words {
  grid-area: words;
}

.big-words li {
  font-size: 4em;
}

.big-words li:nth-child(odd) {
  color: #82a0f9;
}

.big-words li:nth-child(even) {
  color: #2558ff;
}

.selected-projects {
  margin-top: 60px;
}

.selected-projects .header {
  background-color: var(--color-theme);
  color: var(--color-theme-inverse);
  padding: 10px;
  text-align: right;
  text-transform: lowercase;
  font-size: 0.85em;
}

.selected-projects .content {
  background-color: #faffd4;
  min-height: 200px;
  padding: 30px 0;
}

.selected-projects .content ul {
  display: grid;
  grid-template-columns: auto auto auto auto;
}

.selected-projects .content li {
  padding: 20px;
  display: grid;
  grid-template-rows: auto 10%;

  a {
    display: block;
    place-self: center;
  }
  img {
    width: 100%;
    max-width: 120px;
  }
}

.textblock p {
  line-height: 150%;
}

footer {
  margin-top: 60px;
}

footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

footer ul li {
  color: #dcec61;
  padding: 10px;
  font-size: 0.8em;
}


@media (max-width: 650px) {
  header .links {
    font-size: 0.5em;
  }
  .big-words li {
    font-size: 1.75em;
  }
  .selected-projects .content li {
    padding: 10px;
  }
}