:root {
  --background-color: #1a1a1c;
  --text-color: #e2e2e2;
  --heading1-color: #ff4f81;
  --heading2-color: #6ecf89;
  --link-color: #f0de85;
  --card-bg: #2a2a2a;
  --card-border: #e7e7e7;
  --h3-color: #FE999F;
  --h4-color: #87a9cf;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--background-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 10px;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--heading1-color);
}

h2 {
  font-size: 1.5em;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--heading2-color);
}

h3 {
  font-size: 1.2em;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
  color: var(--h3-color);
  margin-top: 1em;
}

h4 {
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: var(--h4-color);
}

p {
  margin-top: 1em;
}

a {
  color: var(--link-color);
}

dl {
  display: grid;
  grid-template-columns: 45% 55%;
  row-gap: 0.2em;
}

dt, dd {
  margin: 0;
}

dt {
  font-weight: bold;
}

*, p, li {
  font-weight: 200;
  line-height: 1.4;
}

b { font-weight: 600; }

i { font-style: italic; }

ul {
  list-style-type: disc;
  margin: 6px 0 6px 16px;
}

ul ul { list-style-type: circle; }

ul ul ul { list-style-type: square; }

li { margin: 2px 0; }

img { max-width: 100%; }

small,
p.skills {
  font-size: 0.8em;
}

.caption { margin-top: 0; }

.job img {
    float: right;
}

#published-works img {
    display: block;
    margin-bottom: 2em;
    margin-bottom: 0;
}

#youtube-feed img {
    max-width: 350px;
    height: auto;
}

#youtube-feed .youtube-video {
    flex: 1 1 200px;
    margin-bottom: 1rem;
}

.print-only {
    display: none;
}
