*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  color: black;
  line-height: 1;
  background-color: white;
}

main {
  text-align: center;
}

form {
  display: block;
}

.title {
  font-size: 4rem;
  font-weight: bold;
  color: #333333;
}

.sub-title {
  font-size: 1.5rem;
  margin-top: 2rem;
  font-weight: bold;
}

.contact-header-text {
  font-size: 1.5rem;
  margin: 6rem 0;
}

.contact-header-text p {
  margin-bottom: 0.5rem;
}

.contact-head {
  background-image: url(./images/contact-header.jpg);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.contact-head .contact-head-text {
  font-size: 3.5rem;
  font-weight: bold;
  color: #fff;
}

.contact-header {
  margin-top: 100px;
}

/* .contact-form .contact-body {
  width: 500px;
}

.contact-form .contact-body .form .contact-content input {
  background: #f4f4f4;
  border: none;
  width: 100%;
  padding: 0 16px;
  height: 50px;
  border-radius: 4px;
  color: #000;
}

.contact-form .contact-body .form .contact-content input:focus {
  box-shadow: 0 0 5px #ccc;
}

.contact-form p {
  margin-top: 50px;
}

.contact-form .contact-body {
  text-align: center;
  margin-top: 80px;
  display: inline-block;
}

.contact-form .contact-body .form {
  margin-top: 50px;
  display: block;
  text-align: left;
}

.contact-form .contact-body .form .contact-content {
  margin-top: 10px;
}

.submit {
  margin: 100px 0;
}

.submit-button {
  color: #333333;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  padding: 15px 80px;
  border: 3px solid #333333;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}

.submit-button::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #333333;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}

.submit-button:hover {
  color: #fff;
}

.submit-button:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
} */

.contact-form-formrun {
  margin-bottom: 10rem;
}

.formrun {
  width: 500px;
  margin: 0 auto;
}

.formrun div {
  display: block;
  margin: 30px auto;
  text-align: left;
}

.formrun div label {
  width: 100%;
}

.formrun label {
  display: block;
  margin-bottom: 10px;
}

.formrun div input {
  width: 100%;
  height: 50px;
  font-size: 18px;
  padding-left: 10px;
  box-sizing: border-box;
  border: 2px solid #ccc;
}

.formrun div textarea {
  width: 100%;
  height: 100px;
  font-size: 18px;
  padding: 10px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  overflow: auto;
  resize: vertical;
}

.check label {
  display: inline-block !important;
  padding-top: 7px;
  width: 40% !important;
  line-height: 2.5rem;
}

.check-box {
  height: 2.5rem;
  position: relative;
}

.formrun button {
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  background: transparent;
  padding: 1rem 4rem;
  border: 3px solid #333;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  transition: 0.3s;
}

.formrun button::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #333;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}

.formrun button:hover {
  color: #fff;
}

.formrun button:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

.error {
  font-weight: bold;
  color: rgb(237, 29, 29);
  margin: 10px auto 30px !important;
  padding: 15px;
  border-radius: 1rem;
  border: 0.3rem solid rgb(237, 29, 29);
  background-color: #fff;
}

/**************************/
/* BELOW 944px (Tablets) */
/* (1em = 16px, 944px = 59em) */
/**************************/

@media (max-width: 59em) {
  .contact-form-formrun {
    padding: 1rem 3rem;
  }

  .formrun {
    width: auto;
    margin-bottom: 7rem;
  }
}
