:root {
  --pink: #eb2a7b;
  --purple: #662d91
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  font: 200 100%/1.3em "Helvetica Neue", Helvetica, Arial, sans-serif
}

html, body {
  height: 100%
}

body {
  position: relative;
  background: #fff
}

h1 {
  margin-bottom: 2.6rem
}

h1 img {
  width: 100%
}

a {
  color: var(--pink)
}

a:hover {
  text-decoration: none
}

p, input, textarea {
  margin-bottom: 1.3rem
}

  p:last-child {
    margin-bottom: 0
  }

small {
  margin-bottom: 1.3rem;
  display: block;
  font-size: .8rem;
  font-style: italic
}

em {
  font-weight: 800;
  color: var(--pink)
}

legend {
  margin-bottom: 2.3rem;
  float: left;
  width: 100%;
  font-size: 3rem;
  font-weight: 100;
  color: var(--purple)
}

label {
  margin-bottom: 0.325rem;
  display: block
}

  label:nth-child(2):after, label:nth-child(4):after, label:nth-child(8):after {
    font-weight: 800;
    content: " *";
    color: var(--pink)
  }

textarea {
  resize: none
}

input, textarea, button {
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  font: inherit;
  background: none
}

input, textarea {
  padding: .65rem;
  width: 100%;
  border-bottom: 1px solid #eee;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4);
  background: #fff
}

  input:active, input:focus, textarea:active, textarea:focus {
    background: rgb(250, 248, 219)
  }

button, p:last-child a {
  margin-top: 1.3rem;
  padding: 0 1.3rem;
  line-height: 2.6rem !important;
  font-weight: 400 !important;
  border-radius: 3rem;
  text-decoration: none;
  color: #fff !important;
  background: var(--pink) !important
}

form:invalid button:hover {
  cursor: not-allowed
}

form:valid button:hover {
  cursor: pointer
}

#home {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 65vmin;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--purple)
}

  #home p:first-of-type {
    font-size: 1.5rem;
    color: var(--purple)
  }

  #home a {
    display: inline-block;
    font-size: 1rem
  }

#contact {
  margin: 0 auto;
  padding: 2.6rem;
  width: 100%;
  max-width: 800px;
  min-height: 100%;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px
}