@import url("https://fonts.googleapis.com/css?family=Crimson+Text:400,600,700|Roboto:400,700&display=swap");
h1, h2, h3, h4, h5 {
  font-family: "Crimson Text", serif;
  font-weight: 600;
}

p, ol, ul, input, textarea, button, a, label {
  font-family: "Roboto", sans-serif;
}

:root {
  --stored-text-size: 1.1vw;
  --base-text-size: var(--stored-text-size);
}
@media (max-width: 1050px) {
  :root {
    --base-text-size: calc(var(--stored-text-size)*1.5);
  }
}
@media (max-width: 640px) {
  :root {
    --base-text-size: calc(var(--stored-text-size)*2.5);
  }
}

.fields {
  display: grid;
}
.fields .fieldText {
  grid-area: 1/1/2/2;
  z-index: 11;
  margin: 5px 0 0 1rem;
  cursor: text;
  transform: translateY(0);
  transition: 0.3s;
  pointer-events: none;
  user-select: none;
}
.fields input {
  grid-area: 1/1/2/2;
}

.fieldFocus .fieldText {
  grid-area: 1/1/2/2;
  z-index: 11;
  margin: 0 0 0 0;
  transform: translateY(-1.2rem);
  transition: 0.3s;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .fieldFocus .fieldText {
    transform: translateY(-1rem);
    font-size: 0.8rem;
  }
}

input {
  border: none;
  box-shadow: 0 0 1px 0.5px black;
  transition: 0.5s;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

input:focus {
  outline: none;
  box-shadow: 0 0 3px 1px black;
  transition: 0.5s ease-in-out;
}

#consent {
  display: none;
}

#myCheck {
  align-self: center;
  cursor: pointer;
  display: block;
  height: 25px;
  width: 25px;
  border: 3px solid dimgrey;
  background: #ffffff;
  box-sizing: border-box;
}
#myCheck #check {
  display: block;
  background: orange;
  height: 100%;
  width: 100%;
  -webkit-clip-path: polygon(40% 70%, 100% 6%, 100% 38%, 43% 100%, 0 73%, 0 47%);
  clip-path: polygon(40% 70%, 100% 6%, 100% 38%, 43% 100%, 0 73%, 0 47%);
  transition: 0.3s ease-in-out;
  transform: scale(0.9);
  opacity: 0;
}

#consent:checked + #myCheck {
  animation: bounce forwards 0.3s ease-in;
}
#consent:checked + #myCheck #check {
  transition: 0.2s ease-in-out;
  transform: scale(1.45) translateY(-4px);
  opacity: 1;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
  }
}
.check-box-holder {
  grid-column: span 2;
  display: flex;
  align-items: center;
}
.check-box-holder p {
  margin-left: 1rem;
  font-size: 1rem;
}

#status {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: auto;
  background: rgba(156, 17, 41, 0.9);
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-content: center;
  box-shadow: 0 3px 5px black;
  font-size: 2rem;
}

.status-closed {
  height: 0;
}

.status-open {
  animation: status-open forwards 0.4s ease-out;
  z-index: 9999;
}

@keyframes status-open {
  from {
    height: 0px;
  }
  to {
    height: 100px;
  }
}
#status {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: auto;
  background: rgba(156, 17, 41, 0.9);
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-content: center;
  box-shadow: 0 3px 5px black;
  font-size: 2rem;
}

.status-closed {
  height: 0;
}

.status-open {
  animation: status-open forwards 0.4s ease-out;
  z-index: 9999;
}

@keyframes status-open {
  from {
    height: 0px;
  }
  to {
    height: 100px;
  }
}
.form1 {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
}
@media (max-width: 1080px) {
  .form1 {
    grid-template-columns: 1fr;
  }
}

.form2 {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 1.5rem;
}
@media (max-width: 1080px) {
  .form2 {
    grid-template-columns: 1fr;
  }
}

.state-zip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
}
@media (max-width: 1080px) {
  .state-zip-grid {
    grid-template-columns: 1fr;
  }
}

.buttonGrid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  grid-column-gap: 1rem;
}
.buttonGrid .line {
  width: 100%;
  height: 3px;
  background: black;
}

.form-is-modal #form-outside {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(2, 2, 19, 0.86);
  display: grid;
  padding: 1rem;
  box-sizing: border-box;
  grid-template-rows: auto 1fr;
}
.form-is-modal #form-outside #form-inside {
  align-self: center;
  justify-self: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 2rem;
  box-shadow: 0px 0px 7px 7px rgba(0, 0, 0, 0.66), 0px 0px 5px 3px rgba(0, 0, 0, 0.36), 0px 0px 3px 1px rgba(0, 0, 0, 0.76);
  margin-top: -2rem;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

.in-out-enter-active {
  animation: in 0.5s;
}

.in-out-leave-active {
  animation: in 0.3s reverse;
}

@keyframes in {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.XHolder {
  grid-area: 1/1/2/2;
  align-self: start;
  justify-self: end;
  margin: 1.5rem 3rem;
}
@media (max-width: 640px) {
  .XHolder {
    margin: 0.5rem 0.5rem;
  }
}

.modal-close {
  border: none;
  outline: none;
  background: none;
  height: 60px;
  width: 60px;
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
  justify-self: end;
  cursor: pointer;
  transition: 0.3s ease-out;
  filter: drop-shadow(0 1px 3px black);
}
.modal-close:hover {
  transform: scale(1.2) rotate(180deg);
  transition: 0.4s ease-out;
  filter: drop-shadow(0 1px 5px black);
}
.modal-close .theXFactor {
  display: block;
  width: 100%;
  height: 100%;
  background: yellow;
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
  -webkit-clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

.cta-text {
  text-align: center;
}

.fields {
  display: grid;
}
.fields .fieldText {
  grid-area: 1/1/2/2;
  z-index: 11;
  margin: 5px 0 0 1rem;
  cursor: text;
  transform: translateY(0);
  transition: 0.3s;
  pointer-events: none;
  user-select: none;
}
.fields textarea {
  grid-area: 1/1/2/2;
  resize: none;
  height: 150px;
}

.fieldFocus .fieldText {
  grid-area: 1/1/2/2;
  z-index: 11;
  margin: 0 0 0 0;
  transform: translateY(-1.2rem);
  transition: 0.3s;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .fieldFocus .fieldText {
    transform: translateY(-1rem);
    font-size: 0.8rem;
  }
}

input, textarea {
  border: none;
  box-shadow: 0 0 1px 0.5px black;
  transition: 0.5s;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}

textarea:focus {
  outline: none;
  box-shadow: 0 0 3px 1px black;
  transition: 0.5s ease-in-out;
}

#modal-wrapper {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.73);
  display: grid;
  z-index: 50;
}

#content-holder {
  grid-area: 1/1/2/2;
  align-self: center;
  justify-self: center;
  display: grid;
}

#XHolder {
  grid-area: 1/1/2/2;
  align-self: start;
  justify-self: end;
  margin: 1.5rem 3rem;
}
@media (max-width: 640px) {
  #XHolder {
    margin: 0.5rem 0.5rem;
  }
}

#modal-close {
  border: none;
  outline: none;
  background: none;
  height: 60px;
  width: 60px;
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
  justify-self: end;
  cursor: pointer;
  transition: 0.3s ease-out;
  filter: drop-shadow(0 1px 3px black);
}
#modal-close:hover {
  transform: scale(1.2) rotate(180deg);
  transition: 0.4s ease-out;
  filter: drop-shadow(0 1px 5px black);
}
#modal-close #theXFactor {
  display: block;
  width: 100%;
  height: 100%;
  background: orange;
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
  -webkit-clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

.fall-enter-active, .fall-leave-active {
  transform: scale(1);
  transition: 0.5s;
}

.fall-enter, .fall-leave-to {
  transform: scale(1.1);
}

.thankyou-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(45deg, #201e5f, #006967);
  height: 100vh;
  width: 100vw;
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
}

.thankyou-grid {
  width: 90%;
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1050px) {
  .thankyou-grid {
    grid-template-columns: 1fr;
  }
}
.thankyou-left {
  display: grid;
  grid-template-rows: 0.1fr 1fr;
}

@media (max-width: 1050px) {
  .thankyou-left {
    grid-template-rows: 0.1fr 0.1fr;
  }
}
.thankyou-back-row {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 1vw;
}

.thankyou-right {
  display: grid;
  grid-template-rows: 1fr 0.5fr;
}

@media (max-width: 1050px) {
  .thankyou-right {
    grid-template-rows: 0.5fr 0.1fr;
    margin-top: -40rem;
  }

  .thankyou-back-row {
    grid-template-columns: 0.2fr 1fr;
  }
}
@media (max-width: 640px) {
  .thankyou-back-row {
    grid-template-columns: 0.4fr 1fr;
  }
}
.thankyou-client-link {
  display: grid;
  grid-template-columns: 0.6fr 1fr 0.6fr;
  grid-column-gap: 1rem;
  align-self: start;
}

@media (max-width: 600px) {
  .thankyou-client-link {
    grid-template-columns: 0.4fr 1fr 0.4fr;
  }
}
.client-line {
  height: 3px;
  background: white;
  width: 100%;
  align-self: center;
}

.thankyou-main-text svg {
  font-weight: 200;
  fill: white;
}

.thankyou-main-text p {
  color: white;
  font-size: 2rem;
}

@media (max-width: 800px) {
  .thankyou-main-text p {
    font-size: 1.6rem;
  }
}
@media (max-width: 640px) {
  .thankyou-main-text p {
    font-size: 1rem;
  }
}
.thankyou-main-text button {
  height: 30px;
  align-self: center;
  background: rgba(255, 255, 255, 0);
  color: white;
  border: solid white 3px;
  font-weight: bold;
  font-style: italic;
  padding: 5px 10px 5px 10px;
  cursor: pointer;
}

#back-button {
  height: 50px;
}

@media (max-width: 1050px) {
  #back-button {
    height: 60px;
    font-size: 1.5rem;
  }
}
@media (max-width: 800px) {
  #back-button {
    height: 50px;
    font-size: 1.2rem;
  }
}
@media (max-width: 640px) {
  #back-button {
    height: 40px;
    font-size: 1rem;
  }
}
.thankyou-right svg {
  align-self: end;
  font-weight: 200;
  fill: white;
}

.thankyou-link {
  text-align: center;
  color: white;
  text-decoration: none;
  font-size: 1.9rem;
}

@media (max-width: 640px) {
  .thankyou-link {
    font-size: 1.2rem;
  }
}
.thankyou-logo {
  justify-self: start;
  display: grid;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  padding: 15px 20px 5px 20px;
  box-shadow: 1px 2px 5px 1px black;
}

.thankyou-logo svg {
  width: 15rem;
}

@media (max-width: 600px) {
  .thankyou-logo img {
    width: 15rem;
  }

  .thankyou-right {
    margin-top: -30rem;
  }
}

/*# sourceMappingURL=form.css.map */
