@import url("https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
* {
  box-sizing: border-box;
}

body {
  font-family: verdana, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

hr {
  border: none;
  border-top: 1px solid black;
}

a {
  color: black;
  transition: color 100ms ease-in;
}
a:hover {
  color: #765ac6;
}

#container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
}
#container #main p {
  max-width: 32em;
}
#container.work {
  max-width: 1136px;
}

#bg {
  position: absolute;
  left: 0;
  z-index: -1;
}

#title {
  grid-row: 1;
}

#menu {
  grid-column: 1;
  grid-row: 2;
}

#main {
  grid-column: 2;
  grid-row: 1/span 3;
}

@media (max-width: 800px) {
  #container {
    grid-template-columns: 180px 1fr;
  }
}
/* mobile layout */
@media only screen and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  body {
    font-size: 16px;
  }
  #container {
    grid-template-columns: 100%;
  }
  #title p {
    margin: 0;
  }
  #menu {
    grid-row: 3;
  }
  #main {
    grid-column: 1;
    grid-row: 2;
  }
  #menu li {
    display: inline-block;
  }
  #main p,
  #container.work #main p {
    margin: 1em 0;
  }
}
@media (min-device-width: 668px) {
  #title a {
    display: block;
  }
  #menu #home {
    display: none;
  }
}
#menu ul,
footer ul,
.front ul,
.foot ul {
  list-style: none;
  padding: 0;
}

#work {
  grid-row: 1/4;
}

#year {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.25em;
}
#year.three {
  grid-template-columns: repeat(3, 1fr);
}

.project {
  display: grid;
}
.project .thumb {
  grid-row: 1;
}
.project .work {
  grid-row: 2;
  margin: 0;
}
.project a {
  color: black;
  background: white;
}
.project a:hover {
  color: #765ac6;
}

#teaching {
  margin-bottom: 2em;
}
#teaching p {
  margin: 0.5em;
}
#teaching a { /*font-weight:bold;*/ }
#teaching {
  grid-row: 1/4;
}

#page p {
  border: 4px solid #765ac6;
  padding: 1em;
  line-height: 1.65;
  font-size: 16px;
}
#page a {
  /*font-weight: bold;*/
}
#page img {
  margin: 0.5em 0;
}
#page video {
  max-width: 100%;
}

.utube {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  margin-top: 1em;
}
.utube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.archive .post {
  max-width: 32em;
}

/* blog stuff */
.post {
  /*font-family: 'Karla', sans-serif;*/
  font-size: 1.25em;
}
.post p {
  font-size: 1.1em;
}
.post {
  grid-row: 1/4;
}
.post .front .post-title, .post .foot .post-title {
  font-size: 1.5em;
  margin-bottom: 0;
}
.post .front .post-info, .post .foot .post-info {
  margin: 0;
}
.post .front .links, .post .foot .links {
  font-size: 0.75em;
}
.post .front .page-link, .post .foot .page-link {
  color: #765ac6;
}
.post .front, .post .foot {
  margin-bottom: 1em;
}
.post .excerpt {
  font-size: 0.75em;
  color: #765ac6;
  margin-bottom: 1em;
}
.post .date, .post .cats {
  font-size: 0.75em;
  color: #765ac6;
}
.post .entry {
  font-size: 1em;
  max-width: 36em;
  line-height: 1.75;
}
.post blockquote {
  background: #efefef;
  margin: 0;
  padding: 0.5em 1em;
}
.post em {
  color: #765ac6;
}

.archive .post .date {
  font-size: 1em;
}

.archive-tweet {
  margin-top: 4em;
}
.archive-tweet .entry {
  margin-bottom: 2em;
}
.archive-tweet video {
  width: 100%;
}

code {
  background: #eee;
  padding: 0.1em 0.25em;
}

@media screen and (max-width: 40em) {
  .post .post-title, .post .byline, .post .cats {
    /* display:inline-block; */
  }
  .post .cats {
    font-size: 0.75em;
  }
  .post .links li {
    display: inline-block;
  }
}

/*# sourceMappingURL=style.css.map */
