html {
  font-size: 62.5%;
  width: 100%;
  background-color: #373636;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  background-color: #fff;
  font-family: georgia, serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #333;
  max-width: 80rem;
  margin: 0 auto;
  box-shadow: 0px 0px 2rem #000;
}

h1 {
  margin-top: 0;
  font-size: 1.6em;
  text-align: center;
}

h2 {
  font-size: 1.1em;
  margin-top: 2em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: inherit;
  color: inherit;
}

h2 a:hover {
  text-decoration: underline;
}

p {
  margin: 1.2em 0;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h6 + p,
.abstract p:first-child {
  text-indent: 0;
}

figcaption {
  text-align: center;
  font-size: .9em;
}

pre {
  width: 100%;
  overflow: auto;
}

.abstract {
  margin: 0 auto;
  font-size: 1.25em;
}

.content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
}

.equation {
  display: none;
  background-repeat: no-repeat;
  margin:0 auto;
}

figure {
  overflow: auto;
}

figure img {
  width: 100%;
}

.equation, .equation-wrap {
  display: block;
}

@media screen and (min-width: 50em) {
  body {
    margin: 1rem auto;
  }
}

@media screen and (min-width: 40em) {
  .content {
    padding: 10rem 2rem;
  }
}

.mathml {
  display: none;
}

@supports (-moz-appearance:none) {
  .mathml {
    display: block;
  }
  
  .equation, .equation-wrap {
    display: none;
    background: none !important;
  }
}

