.contact {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  min-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  user-select: none;
}

.contact form {
  height: 35vh;
  width: 22rem;
}

.contact h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0rem;
  margin-top: -3rem;
  text-align: center;
}

.contact .label-text {
  margin-right: 0.25rem;
  letter-spacing: 0rem;
}

.contact span {
  margin-right: 0.25rem;
}

.contact p {
  margin-bottom: 0.4rem;
}

.contact label {
  display: block;
  letter-spacing: 0.005rem;
}

.contact label input {
  display: block;
  letter-spacing: 0.005rem;
}

.contact-text-input input {
  border: none;
  border-bottom: 0.1rem solid black;
  padding: 0.4rem;
  width: 100%;
  outline-width: 1px;
  letter-spacing: 0.005rem;
  background-color: transparent;
  border-radius: 0;
}

.contact-check-input, .contact-check-input label, .contact-check-input input {
  display: inline;
  margin-right: 0.5rem;
}

.contact .contact-section {
  margin-bottom: 0.75rem;
}

.contact .contact-section.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contact .contact-section.flex > span {
  flex: 1;
}

.contact .contact-section.flex > label {
  width: 2.8rem;
  margin-right: 2rem;
}

.contact input[type=submit] {
  display: block;
  background: none;
  border: none;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid black;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 0;
}

.contact-text-input input:focus {
  outline: auto;
}

@media (max-width: 500px) {
  .contact {
    width: 100vw;
    padding: 5vw;
  }
  .contact form {
    height: 40vh;
  }
  .contact form {
    width: 100%
  }
}


.main .contact h2 {
  margin-top: 0;
}

.main .contact {
  min-height: initial;
}