*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  /* font-size: 17.5px; */
}

body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.4;
  font-size: 1em;
  letter-spacing: 0;
}

p,
table {
  font-size: 1em;
}

pre {
  margin: 0;
  vertical-align: middle;
  font-weight: 400;
}

pre,
code {
  font-family: Georgia, "Times New Roman", Times, serif;
}

h1 {
  font-family: "Mondwest", sans-serif;
  font-weight: 400;
  line-height: normal;
}

a {
  font-family: "NeueMontreal", sans-serif;
}

#header time,
#header .author {
  font-size: 0.8rem;
  color: #ffffff50;
  font-family: "NeueMontreal", sans-serif;
}

h2,
h3,
h4,
h5 {
  font-family: Ivar, Georgia, "Times New Roman", Times, serif;
}

h2 {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1rem;
}

h2,
h3,
.table-wrapper {
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

h3,
th {
  font-weight: 500;
}

p,
pre {
  margin-bottom: 1.4rem;
  margin-top: 0;
}

a.disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

#content sup {
  vertical-align: top;
  font-size: 0.8em;
}

#content {
  max-width: 720px; /* maximum width of center content */
  margin: auto;
  width: 93.333333%;
}

#header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
}

#header a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 2.5rem !important;
  font-size: 0.8rem;
}

#header p {
  font-family: "NeueMontreal", sans-serif;
  letter-spacing: 0.02em;
}

#header {
  background-color: #512da8;
  color: #fff;
  display: inline-block;
  width: 100%;
}

#header .container {
  width: 93.333333333%;
  max-width: 1470px;
  margin: auto;
}

#header .container.vv {
  margin-top: 6em;
  margin-bottom: 2em;
}

#header .container .navbar {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: flex-end;
  height: 46px;
  padding-top: 18px;
  padding-bottom: 18px;
  vertical-align: baseline;
}

#header .container .navbar a {
  margin-top: 4px;
  margin-bottom: 4px;
}

#header .content {
  display: flex;
  flex-wrap: wrap;
}

#header .info {
  flex-basis: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  flex: 0 0 100%;
}

#header .info-header {
  flex-grow: 1;
  max-width: 30rem;
}

#header .info-footer {
  flex-grow: 0;
  margin-bottom: 1.6666667rem;
}

#header .image-container {
  order: 1;
}

#header .image {
  margin-bottom: 1.4rem !important;
  padding-top: 3.333333vw !important;
  margin-top: -3.33333vw !important;
}

#header .image img {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

img {
  display: block;
  max-width: 100%;
  width: 100% !important;
  border-radius: 2px;
}

/* #header .image img {
  height: 480px;
} */

pre.full-width {
  width: 100%;
  text-align: center;
}

table,
th,
td {
  border: 1px solid #ccc;
  border-collapse: collapse;
  padding: 6px;
  text-align: left;
  vertical-align: top;
}

h1.centered {
  text-align: center;
}

@media (min-width: 1280px) {
  #header .info-header {
    width: 83.3333333333%;
  }
}

@media (min-width: 480px) {
  #header .image-container {
    max-width: 66.66666666%;
    flex: 0 0 66.6666666%;
  }
}

@media (min-width: 720px) {
  #header .image-container {
    margin-top: 0 !important;
    flex: 0 0 41.6666666%;
    max-width: 41.66666666%;
  }

  #header .image-container,
  #header .info {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  #header .image {
    margin-top: -1.4rem !important;
    padding-top: 1.4rem !important;
  }

  #header .info-header {
    width: 91.6666666667% !important;
  }

  #header .info {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }

  #header .content {
    margin-left: -0.7rem;
    margin-right: -0.7rem;
  }
}

@media (min-width: 960px) {
  /* html {
    font-size: 18px;
  } */

  h2 {
    font-size: 1.6rem;
  }

  #header .image-container {
    flex: 0 0 33.33333333%;
    max-width: 33.333333333%;
  }

  #header .container .navbar a {
    margin-top: 6px;
    margin-bottom: 6px;
  }
}
