@font-face {
  font-family: "Muli-Regular";
  src: url("../fonts/muli/Muli-Regular.ttf");
}
@font-face {
  font-family: "Muli-SemiBold";
  src: url("../fonts/muli/Muli-SemiBold.ttf");
}
@font-face {
  font-family: "Muli-Bold";
  src: url("../fonts/muli/Muli-Bold.ttf");
}
@font-face {
  font-family: "Abril_Fatface";
  src: url("../fonts/Abril_Fatface/AbrilFatface-Regular.ttf");
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Muli-Regular", Arial, sans-serif;
  color: #666;
  font-size: 13px;
  margin: 0;
}

input, textarea, select, button {
  font-family: "Muli-Regular", Arial, sans-serif;
  color: #333;
  font-size: 13px;
}

p, h1, h2, h3, h4, h5, h6, ul {
  margin: 0;
}

img {
  max-width: 100%;
}

ul {
  padding-left: 0;
  margin-bottom: 0;
}

a:hover {
  text-decoration: none;
}

:focus {
  outline: 2px solid #ea9f48;
}

.wrapper {
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.inner {
  max-width: 850px;
  margin: auto;
  background: #fff;
  padding: 15px;
}

form {
  border: 1px solid #d3cccc;
  padding: 62px 65px 64px;
}

h3 {
  text-transform: uppercase;
  font-size: 35px;
  font-family: "Abril_Fatface", serif;
  text-align: center;
  margin-bottom: 48px;
  color: #6d5555;
  letter-spacing: 3px;
}

.form-group {
  display: flex;
  margin-bottom: 1.5rem;
}
.form-group .form-wrapper {
  width: 50%;
}
.form-group .form-wrapper:first-child {
  margin-right: 40px;
}

.form-wrapper {
  margin-bottom: 27px;
}
.form-wrapper label {
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  font-family: "Muli-Bold", Arial, sans-serif;
}

.form-holder {
  position: relative;
}
.form-holder i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14px;
  font-size: 17px;
  color: #999;
}

.form-control {
  border: 1px solid #e6e6e6;
  width: 100%;
  height: 42px;
  padding: 0 20px 0 46px;
  color: #999;
  font-size: 15px;
}
.form-control::placeholder {
  font-size: 17px;
  transform: translateY(5px);
  color: #999;
}

textarea {
  width: 100%;
  height: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.select::after {
  content: "\f2f9";
  font-family: Material-Design-Iconic-Font;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  font-size: 15px;
  color: #999;
}

select {
  appearance: none;
  cursor: pointer;
  padding-left: 20px;
}
select option[value=""][disabled] {
  display: none;
}

button {
  border: none;
  width: 152px;
  height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ea9f48;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
  font-family: "Muli-SemiBold", Arial, sans-serif;
  position: relative;
  transition: color 0.3s ease;
}
button::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f98805;
  transform: scaleX(0);
  transform-origin: 50%;
  transition: transform 0.3s ease-out;
}
button:hover::before {
  transform: scaleX(1);
}

.form-end {
  display: flex;
  align-items: center;
  margin-top: 13px;
}

.button-holder {
  width: 50%;
}

.checkbox {
  position: relative;
  width: 50%;
  padding-left: 22px;
}
.checkbox label {
  cursor: pointer;
  color: #999;
  font-family: "Muli-SemiBold", Arial, sans-serif;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkbox input:checked ~ .checkmark:after {
  display: block;
}
.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 12px;
  width: 13px;
  border-radius: 2px;
  background-color: #ebebeb;
  border: 1px solid #ccc;
}
.checkmark:after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  content: "\f26b";
}

@media (max-width: 767px) {
  .wrapper {
    display: block;
  }

  form {
    padding: 0;
    border: none;
  }

  .form-group {
    display: block;
  }
  .form-group .form-wrapper {
    width: 100%;
  }

  .form-end {
    display: block;
  }

  .checkbox, .button-holder {
    width: 100%;
  }

  .inner {
    padding: 30px 15px;
  }

  button {
    margin-top: 30px;
  }

  h3 {
    font-size: 30px;
    margin-bottom: 40px;
  }
}
