:root {
/* https://coolors.co/d81159-1f2041-4b3f72-218380-e6af2e */
--ruby: hsla(338, 85%, 46%, 1);
--space-cadet: hsla(238, 35%, 19%, 1);
--cyber-grape: hsla(254, 29%, 35%, 1);
--lavender-blush: hsla(357, 84%, 95%, 1);
--goldenrod: hsla(42, 79%, 54%, 1);
}

/* anton-regular - latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  src: local('Anton Regular'), local('Anton-Regular'),
       url('../fonts/anton-v9-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/anton-v9-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* oswald-regular - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local('Oswald Regular'), local('Oswald-Regular'),
       url('../fonts/oswald-v16-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/oswald-v16-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
       url('../fonts/roboto-v18-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/roboto-v18-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('../fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('../fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'),
       url('../fonts/open-sans-v15-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-800 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'),
       url('../fonts/open-sans-v15-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/open-sans-v15-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

a {
  text-decoration: none;
}

body {
  background-color: var(--space-cadet);
  padding: 0;
  margin: 0;
  font-family: Roboto;
}

header h1 {
  color: var(--ruby);
  font-family: Anton, Impact;
  font-size: 6em;
  text-align: right;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  padding-top: 8px;
  padding-right: 8px;
  line-height: 1.0em;
}


header h1 a {
  color: inherit;
}

div#banner {
  z-index: 1;
}

header h2 {
  box-sizing: border-box;
  padding: 0;
  padding-right: 5px;
  margin: 0;
  background-color: var(--cyber-grape);
  text-align: right;
  color: var(--lavender-blush);
  width: 100%;
  line-height: 1.5em;
  font-family: Open Sans;
  font-size: 1.5em;
  border-top: double;
  border-bottom: double;
  padding-right: 8px;
  z-index: 5;
}

div#maincol {
  max-width: 60em;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  border-left: #444444 solid;
  border-right: #444444 solid;
  box-shadow: #000000 1em 1em 3em;
  background-color: var(--lavender-blush);
}

article {
  padding: 1em 2em 0em 2em;
  line-height: 150%;
  font-size: 1.2em;
}

#headshot {
  float: left;
  margin-right: 2ex;
  margin-top:  1ex;
  margin-bottom: 2ex;
  box-shadow: 0.5ex 0.5ex var(--ruby);
}

article a {
  color: black;
  text-shadow: 2px 2px var(--goldenrod);
}

article a:visited {
  text-decoration: underline double;
}

article h1 {
  font-family: Oswald, Arial;
  font-size: 3em;
  line-height: 1.0em;
  margin: 0;
  color: var(--ruby);
  margin-left: -.4em;
}

article h2 {
  font-family: Oswald, Arial;
  color: var(--cyber-grape);
}

.wave {
  animation: wave 0.2s 15 alternate linear;
  transform-origin: 80% 80%;
  display: inline-block;
}

@keyframes wave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(30deg); }
}

#some-things-i-did + ul {
    list-style-type: none;
    padding: 0;
}

#some-things-i-did + ul li strong {
  margin-right: 1em;
}

article ul li {
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

footer {
  border-top: double;
  background-color: var(--cyber-grape);
  color: white;
  text-align: center;
  line-height: 2em;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;

  /*position: fixed;
  bottom: 0;
  max-width: 100em; FIXME */ 
}

footer * {
  margin: 5px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer svg#bytemark {
  padding-top: 0.2em; /* FIXME */
}


@media only screen and (max-width: 400px) {
  header h1 {
    font-size: 3.5em;
  }

  header h2 {
    font-size: 1em;
  }

  article {
    font-size: 1em;
  }

  article h1 {
    font-size: 2.5em;
  }
}
