@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Light.woff');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-ThinItalic.woff');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Thin.woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-ThinItalic.woff');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Book.woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-BookItalic.woff');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Medium.woff');
  font-weight: normal 500;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-MediumItalic.woff');
  font-weight: normal 500;
  font-style: italic;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Semibold.woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-SemiboldItalic.woff');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Bold.woff');
  font-weight: bold 700;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-BoldItalic.woff');
  font-weight: bold 700;
  font-style: italic;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-Heavy.woff');
  font-weight: bold 700;
  font-style: normal;
}

@font-face {
  font-family: 'Cooper Hewitt';
  src: url('/fonts/CooperHewitt/CooperHewitt-HeavyItalic.woff');
  font-weight: bold 700;
  font-style: italic;
}

html {
  font-size: 2.4vw;
}

@media all and (min-width:1000px) {
  html {
    font-size: 24px;
  }
}

@media all and (max-width:520px) {
  html {
    font-size: 18px;
  }
}

/* set theme for light and dark modes */
@media (prefers-color-scheme: dark) {
  :root {
    --color: #fff;
    --background-color: #000;
    --border-bottom-color: #f2f2f2;
    --cursor-color: #ff2d55;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --color: #222;
    --background-color: #fff;
    --border-bottom-color: #333;
    --cursor-color: #ff375f;
  }
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* highlight color */
::selection {
  background: crimson;
  color: #fff;
}

::-moz-selection {
  background: crimson;
  color: #fff;
}

body {
  -webkit-font-smoothing: antialiased;
  color: var(--color);
  background-color: var(--background-color);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: 'Libre Franklin', Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.3;
}

div.container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1000px;
  min-height: 100%;
}

div#content {
  padding: 3rem 0 12rem 0;
  margin-left: 10rem;
  margin-right: 6rem;
}

@media all and (max-width:520px) {
  div#content {
    margin: 1.5rem;
    padding: 0 0 8rem 0;
  }
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p,
li {
  /* set font, size, and tracking */
  font-family: 'Source Serif Pro', Georgia, serif;
  font-size: 1.1em;
  /* letter-spacing: -0.2pt; */
  -webkit-font-smoothing: subpixel-antialiased;
}

p {
  /* set margins */
  margin: .8rem 0;
}

ul li {
  list-style-position: outside;
  margin-left: 1.2em;
}

h1 {
  font-family: 'Cooper Hewitt';
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  font-weight: 600;
  font-style: normal;
  line-height: 1.1;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-bottom-color);
  padding-top: 0.02em;
}

h2 {
  font-family: 'Cooper Hewitt';
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: -0.4rem;
}

h3 {
  font-family: 'Cooper Hewitt';
  margin-top: 1.6rem;
  margin-bottom: -0.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-size: 0.8rem;
}

/* ### HEADER / NAVBAR STYLING */
@media(min-width:700px) {

  /* this should be the width of the left navbar, to prevent underflow */
  body {
    margin-left: 10rem;
  }
}

/* side navbar */
body>header {
  background-color: #181818;
  position: relative;
  padding: 2.2rem 1.6rem;
  margin-bottom: 2rem;
}

@media(min-width:700px) {
  body>header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 10rem;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
  }
}

body>header a {
  color: rgba(255, 255, 255, .8);
}

body>header a:hover {
  text-decoration: none;
}

body>header a.active span,
/* active attr not set up for nav links */
body>header a:hover:not(.brand) span {
  border-bottom: .1rem solid rgba(255, 255, 255, .25);
}

body>header a.brand {
  font-weight: 600;
  font-size: larger;
  color: #fff;
  display: block;
  margin-bottom: .8rem;
  line-height: 1.4;
}

body>header a.brand span {
  display: none;
}

@media(min-width:700px) {
  body>header a.brand span {
    font-weight: 400;
    margin-bottom: 0;
    display: block;
    color: rgba(255, 255, 255, .5);
  }
}

body>header a.brand:hover {
  text-decoration: none
}

body>header ul.social {
  display: none;
  padding: 0;
}

body>header ul.social li {
  display: inline-block;
  width: .8rem;
  margin-right: .7rem;
  margin-left: 0;
  opacity: .5;
}

body>header ul.social li:hover {
  opacity: 1;
}

body>header ul.social li:last-child {
  margin-right: 0;
}

body>header ul.social li img {
  width: 20px;
}

@media(min-width:700px) {
  body>header ul.social {
    display: block;
    position: static;
  }
}

body>header nav[role=main] a {
  margin-right: .8rem;
}

@media(min-width:700px) {
  body>header nav[role=main] a {
    display: block;
    margin-bottom: .5rem;
  }
}

@media(min-width:700px) {
  body>header nav[role=main] {
    margin-bottom: 2rem;
  }
}

/* ### Project page styling ### */
div.custom-list {
  display: flex;
  flex-flow: row wrap;
}

div.custom-list a span {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #fff;
}

div.item {
  display: block;
  width: 100%;
  position: relative;
  margin-bottom: 1rem;
}

div.item img {
  transition: filter .1s ease-out;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

div.item img:hover {
  filter: saturate(0) brightness(50%);
}

/* styles for the home/index page */
html,
body,
.container,
#home {
  height: 100%;
}

div#home {
  position: relative;
  text-align: center;
}

h1#greeting {
  color: white;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0;
  border-bottom: none;
  letter-spacing: -0.02rem;
}

#hero {
  background-image: url('/images/sts134.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -1;
  position: fixed;
  top: 0%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}

 /* blinking cursor animation */
.cursor {
  -webkit-animation: 1s blink step-end infinite;
  animation: 1s blink step-end infinite;
  pointer-events: none;
  position: absolute;
  margin: 0 auto;
  background: var(--cursor-color);
  height: 1.6rem;
  width: .1rem;
}
@keyframes blink {
  from,
  to {
    background: transparent;
  }
  50% {
    background: var(--cursor-color);
  }
}
@-webkit-keyframes blink {
  from,
  to {
    background: transparent;
  }
  50% {
    background: var(--cursor-color);
  }
}

pre.code,
code {
  background-color: #282c34;
  color: #c8c8c8;
  padding: 1rem 2rem;
  margin: 3rem auto;
  max-width: 30em;
  font-family: 'Fira Mono', Consolas, Menlo, Courier, monospace;
  border-radius: 7px;
}