html, body {
  font: 1rem 'Literata', serif;
  line-height: 130%;
  font-weight: 300;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333333;
  max-width: 100vw;
  overflow-x: hidden;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

a {
  color: #FB3535;
  text-decoration: none;
  font-size: 2.25rem;
  font-weight: 300;
}

a:hover {
  text-decoration: underline;
  opacity: 75%;
}

header {
  border-bottom: 1px #FB3535 solid;
  color: #FB3535;
  display: flex;
  width: 96%;
  justify-content: space-between;
  align-items: center;
  padding: 0 2%;
}

main.no-overflow {
  max-height: 100vh;
  overflow: hidden;
}

h1, h2 {
  font-weight: 300;
  font-style: italic;
  text-transform: uppercase;
  font-size: 2.25rem;
}

header h1 {
  width: 75%;
}

nav {
  display: flex;
  width: 25%;
}

nav a {
  padding: 0 24px;
}


div.no-more {
  margin: 48px auto 48px auto;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 100%;
}

section {
  display: flex;
}

section div.img {
  height: 100vh;
  width: 50vw;
  border-right: 1px solid #FB3535;
}

section div.img figure {
  margin: 0;
  padding: 0;
}

section div.form, section div.print {
  height: 100vh;
  width: 50vw;
  font-size: 2.25rem;
  line-height: 2.75rem;
  padding: 0 2vw;
  display: flex;
  flex-direction: column;
}

section div.print figcaption {
  display: flex;
  flex-direction: column;
}

section div.print h2 {
  font-style: normal;
  text-indent: 0;
}

section div.print figcaption span {
  font-size: 1rem;
  line-height: 1.75rem;
}

section div.form form {
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: center;
  justify-content: center;
}

section div.form form label {
  line-height: 2.75rem;
  color: #333;
  margin: 24px 0;
}

div.form textarea, div.form button {
  width: 100%;
  display: block;
}

div.form textarea {
  -webkit-appearance: none;
  resize: none;
  background: #FFFFFF;
  box-shadow: inset 0px 0px 2px #FB3535;
  outline: none;
  padding: 16px 2%;
  border: none;
  width: 96%;
  margin: 8px 0 48px 0;
  line-height: 2.75rem;
  font-weight: 300;
  border: 1px solid #FB3535;
  transition: all 0.3s ease;
}

div.form textarea:focus {
  border: 1px solid #FB3535;
}

div.form button, a.log{
  cursor: pointer;
  border: none;
  color: white;
  font-size: 2.25rem;
  padding: 2rem;
  font-weight: 300;
  font-style: italic;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  background: #FB3535;
  box-shadow: 0px 8px 24px rgba(251, 53, 53, 0.64);
  transition: all 0.3s ease;
}

div.form button:hover, a.log:hover {
  box-shadow: 0px 8px 24px rgba(251, 53, 53, 0.96);
}

div.form button:active, a.log:active {
  background: white;
  color: #FB3535;
}

a.log.again {
  margin: 24px 0;
  background: #fff;
  color: #FB3535;
}


img {
  /* filter: drop-shadow(0px 4px 16px #FB3535); */
  width: 100%;
  height: 100%;
}

ul {
  margin: 0;
  padding: 0;
}

li.log {
  list-style: none;
  display: flex;
  width: 100%;
  flex-direction: row;
  align-items: flex-start;
  border-bottom: 1px solid #FB3535;
}

li.log figure {
  width: 33%;
}

li.log img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

li.log figcaption{
  width: 64%;
  font-size: 2.25rem;
  line-height: 2.75rem;
  padding-right: 2%;
}

figcaption span {
  display: block;
  align-self: flex-start;
  margin: 16px 0;
  font-weight: 300;
  padding-left: 1.5em;
  text-indent:-1.5em;
}

figcaption span.no-indent, figcaption span.small {
  padding-left: 0;
  text-indent: 0;
}


section.about {
  font-size: 2.25rem;
  line-height: 2.75rem;
  display: block;
  padding: 0 2%;
  max-width: 66%;
}

section.about a {
  font-size: 2.25rem;
  line-height: 2.75rem;
  font-weight: 300;
}

section h2 {
  text-transform: none;
}

section.about div {
  margin-bottom: 64px;
}

section.about div ul li{
  display: block;
  margin: 8px 0;
}

section div ul li a {
  color: #FB3535;
}

section div ul li a:hover {
  opacity: 0.75;
}

@media only screen and (max-width: 768px) {
  main.no-overflow {
    overflow: auto;
  }
  h1, h2, h3, section div.form form label, p, a, textarea, div.form button, section.about a, section.about p, section.about a, section.about li {
    font-size: 1rem;
    line-height: 140%;
  }
  h1 {
    width: 50%;
  }
  nav {
    width: 50%;
    padding: 2%;
    text-align: right;
    position: relative;
  }

  nav a {
    width: 50%;
    padding: 0;
  }
  section {
    flex-direction: column;
  }
  section div.img {
    height: auto;
    width: auto;
    border-right: none;
  }

  section div.img figure {
    margin: 0;
    padding: 0;
  }

  section div.img figure img {
    filter: none;
  }

  section div.form, section div.print {
    /* position: fixed; */
    background: #ffffff;
    bottom: 0;
    z-index: 99999;
    border-top: 1px solid #FB3535;
    height: auto;
    width: auto;
    font-size: 1rem;
    padding: 16px;
  }

  div.form textarea {
    padding: 8px;
    font-weight: 300;
    line-height: 140%;
    margin: 16px 0 16px 0;
  }

  section div.form form label {
    margin: 8px 0;
  }

  div.form button, div.print a.log {
    margin: 0 0 16px 0;
    font-size: 1rem;
    padding: 1rem;
  }

  li.log {
    flex-direction: column;
    align-items: center;
  }

  li.log figure {
    width: 100%;
    margin: 0;
  }

  li.log figure img {
    width: 100%;
    max-width: none;
  }

  li.log figcaption {
    width: 96%;
    font-size: 1rem;
    line-height: 140%;
    padding: 2%;
  }

  section.about{
    font-size: 1rem;
    line-height: 2rem;
    display: block;
    padding: 0 2%;
    max-width: 100%;
  }

  div.print figcaption {
    display: flex;
    flex-direction: column;
  }

  section div.print figcaption h2 {
    font-size: 1.25rem;
  }

  section div.print figcaption span {
    margin: 8px 0;
    font-size: 1rem;
  }

  div.print figcaption a.log {
    margin: 8px 0;
  }

}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}
