body {
  padding: 0;
  margin: 0;
  font-size: 1em;
  font-family: 'EB Garamond', serif;
  color: #111;
}
*::selection {
  background: #E67E7E;
}
a {
  transition: all ease 0.3s;
  color:#D9042B;
}
a:hover {
  color: #588C8C;
}
a img {
  border:0;
}
h1, h2, h3, h4, h5, h6, h7, h8, h9, h10, h11, h12 {
  font-weight: bold;
}
h1+p, h2+p, h3+p, h4+p, h5+p, h6+p, h7+p, h8+p, h9+p,
h10+p, h11+p, h12+p, p+p, h2+.code, h2+ul {
  padding-top: 0;
}
h1 {
  font-size: 3.2em;
  font-weight: normal;
  color: #588C8C;
  margin-bottom: 1rem;
  text-align: center;
}
h2 {
  font-size: 2.5em;
}
h1:first-child, h2:first-child {
  padding-top: 0;
}
h3 {
  font-size: 2.1em;
  padding-top: 0.7em;
  padding-bottom: 0.5em;
}
ul, ol {
  padding-left: 2rem;
  padding-top: 0.5rem;
  font-size: 1.2rem;
}
li ul, li ol {
  padding-left: 1rem;
}
p {
  font-size: 1.2em;
}
section, header, footer, .row, nav {
  padding: 0.2rem 4rem 1rem 4rem;
  max-width:1000px;
  margin: 0 auto;
}
section:last-of-type {
  margin-bottom: 50px;
}
section, header, footer {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
section.post p img {
  max-width: 100%;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
iframe.soundcloud {
  margin-left:0;
  margin-right:0;
}
iframe.instagram-media {
  flex: none;
}
.code {
  padding: 20px !important;
  border-radius: 10px;    
  overflow-x:auto;    
  flex: 1;
  background-color: rgba(0,0,0,0.1);
}
pre {
  margin: 0;
}
iframe.youtube {
  width:100%;
  min-height:600px;
  max-height:600px;
}
@media all and (max-width: 1300px) {
  iframe.youtube {
    min-height:500px;
    max-height:500px;
  }
}
@media all and (max-width:700px) {
  iframe.youtube {
    min-height:350px;
    max-height:350px;
  }
}
@media all and (max-width:500px) {
  iframe.youtube {
    min-height:220px;
    max-height:220px;
  }
}
@media all and (max-width:280px) {
  iframe.youtube {
    max-height:180px;
    min-height:180px;
  }
}

ul.horiz {
  list-style-type: none;
  padding: 0;
  text-align: center;
}
ul.horiz li {
  padding: 0 0.5rem;
  display: inline-block;
}
ul.authors {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}
ul.institutions {
  color: #888;
  margin-top: 0;
  margin-bottom: 30px;
}
@media all and (max-width: 600px) {
  html {
    font-size: 0.9em;
  }
  section, header, footer, .row, nav {
    padding: 0.2rem 2rem 1rem 2rem;
  }
}
img.full {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
}
span.avoid_wrap {
  display: inline-block;
}
a.paper {
  display: inline-block;
}
a.paper span.title {
  display: block;
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 15px;
}
a.paper img {
  max-width: 250px;
  height: auto;
  box-shadow: 0 1px 10px rgba(0,0,0,0.3);
  transition: all ease 0.3s;
}
a.paper:hover img {
  transform: translate(0, -5px);
}
.row {
  display: flex;
  align-items: center;
}
.column {
  flex: 1;
}

@media all and (max-width:800px) {
  .row {
    display: block;
  }
}
