body {
  margin: 0;
}

hgroup {
  margin-bottom: 3em;
}

body {
  /* font-family: 'Open Sans', Arial, sans-serif; */
  /* font-family: "Helvetica Nue", sans-serif; */
  font-family: -apple-system, BlinkMacSystemFont, "Open Sans", "Helvetica Neue", sans-serif;
  box-sizing: border-box;
}

h1, h2 {
  line-height: 1.5;
  margin: 0;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 21px;
  font-weight: 400;
}

.content {
  margin: auto;
  max-width: 960px;
  padding: 60px;
  color: #424242;
}

.intro {
  font-size: 18px;
  font-weight: 300;
}

.inline-wrap {
  white-space: nowrap;
}

.highlight {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

p {
  margin-top: 0;
  margin-bottom: 2em;
}

.question-title {
  font-size: 20px;
}

.side-note {
  float: right;
  width: 180px;
  color: #808080;
  font-size: 13px;
  clear: both;
  padding-left: 40px;
  margin-bottom: 24px;
  font-family: sans-serif;
}

.side-note img {
  max-height: 85px;
  margin-right: 12px;
  float: left;
  border: 1px solid #cecdcc;
}

.side-note a {
  text-decoration-style: dotted;
  color: inherit;
}

.side-note a:hover {
  color: #b693fe;
  transition: color 100ms ease-in;
}

@media (max-width: 600px) {
  .side-note {
    display: none;
  }
}

.author {
  float: right;
  padding: 0.5em;
}

.form {
  font-size: 24px;
  font-weight: 300;
  margin-top: 30px;
}

form {
  box-sizing: border-box;
  border-radius: 3px;
  font-size: 24px;
}

form h1 {
  box-sizing: border-box;
  padding: 20px;
}

input, textarea {
  margin: 20px 0px 40px;
  width: 240px;
  display: block;
  border: none;
  padding: 18px 0 12px;
  font-size: 16px;
  border-bottom: solid 1px #b693fe;
  transition: all 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 96%, #b693fe 4%);
  background-position: -240px 0;
  background-size: 240px 100%;
  background-repeat: no-repeat;
  color: #424242;
  font-family: inherit;
  font-weight: 300;
}
textarea {
  width: 100%;
  min-height: 60px;
}
input:focus, input:valid, textarea:focus, textarea:valid {
  box-shadow: none;
  outline: none;
}
input:focus, input:valid {
  background-position: 0 0;
}
input:focus::-webkit-input-placeholder, input:valid::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder, textarea:valid::-webkit-input-placeholder
{
  color: #b693fe;
  font-size: 12px;
  transform: translateY(-18px);
  visibility: visible !important;
  opacity: 1 !important;
  display: block;
  transition: all 150ms ease-in;
}
@media (max-width: 600px) {
  textarea {
    padding-top: 34px;
  }
  textarea:focus::-webkit-input-placeholder, textarea:valid::-webkit-input-placeholder {
    transform: translateY(-32px);
  }
}

.button {
  border-radius: 6px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2);
  transition: all 150ms ease-in;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.2);
}

button {
  border: none;
  background: #b693fe;
  cursor: pointer;
  font-size: 16px;
  color: white;
}
button[type="submit"] {
  position: relative;
  width: 260px;
  padding: 16px 24px;
}
button.submitting {
  padding-right: 40px;
  opacity: 0.8;
  pointer-events: none;
}
button.submitting .loader {
  visibility: visible;
}
.loader {
  width: 1em;
  height: 1em;
  position: absolute;
  color: inherit;
  display: inline-block;
  -webkit-animation: cycle 1s infinite linear;
  animation: cycle 1s infinite linear;
  margin: -.5em;
  opacity: 0;
  z-index: -100;
  transition: all .3s;
  transition-timing-function: ease-in;
  top: 50%;
  right: 1.5em;
  left: auto;
  opacity: 1;
  z-index: auto;
  visibility: hidden;
}
.loader:after {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: " ";
  display: inline-block;
  background: center center no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-style: solid;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  box-sizing: border-box;
  border-width: .15em;
  border-color: currentColor currentColor currentColor transparent;
}

.hidden {
  display: none;
}

.footer {
  padding: 28px;
  text-align: center;
  font-weight: 300;
  color: #757575;
}

@keyframes cycle {
  0%, 50%, 100% {
    animation-timing-function: cubic-bezier(0.5, 0.5, 0.5, 0.5);
  }
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes cycle {
  0%, 50%, 100% {
    animation-timing-function: cubic-bezier(0.5, 0.5, 0.5, 0.5);
  }
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
