.contact-page {
  background-image: url("../images/main-banners/contact-page-bg.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  width: 100%;
  height: 100%;
  position: relative;
  background-attachment: fixed;
}

.contact-header {
  padding: 6em 0 0;
  z-index: 1;
}

.contact-header::before {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
}

.contact-header h1 {
  color: #fff;
  line-height: 1.2;
  font-size: 4em;
  font-weight: 700;
  text-align: center;
}

.contact-header p {
  color: #fff;
  font-size: 1.8em;
  text-align: center;
}

.contact-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 35vh;
  z-index: 5;
}

.contact-body {
  padding: 0 0 4em;
  position: relative;
}

form {
  background: rgba(75, 73, 73, 0.5);
  backdrop-filter: blur(4px);
  padding: 2.5em;
  border-radius: 1em;
  width: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  font-family: "Nanum Gothic Coding", monospace;
  font-weight: 400;
}

form label {
  color: #fff;
}

.form-group {
  margin-bottom: 1em;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 5px;
  transition: all 0.5s ease-in;
}

input:focus,
textarea:focus,
select:focus,
input:active,
textarea:active,
select:active {
  border-color: #f00000;
  outline: none;
}

input:focus::placeholder,
textarea:focus::placeholder,
input:active::placeholder,
textarea:active::placeholder {
  color: #f00000;
}

label {
  display: inline-flex;
}

label,
.form-group p {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

.checkboxes label {
  font-size: 1em;
  margin-right: 0.5em;
  margin-bottom: 0;
  cursor: pointer;
}

.checkboxes input {
  margin-right: 0.5em;
}

input {
  padding: 0.5em;
  background: transparent;
  border: 1px solid #fff;
}

input[type="text"],
input[type="number"],
input[type="email"] {
  color: #fff;
}

input::placeholder {
  font-family: "Nanum Gothic Coding", monospace;
  font-weight: 400;
  color: #fff;
  font-size: 1.2em;
}

.form-row input {
  height: 5vh;
}

select {
  height: 5vh;
  font-family: "Nanum Gothic Coding", monospace;
  font-weight: 400;
  font-size: 1.2em;
  padding-left: 0.5em;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

select option {
  color: #000;
}

textarea {
  padding: 0.5em;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: "Nanum Gothic Coding", monospace;
  font-weight: 400;
  font-size: 1.2em;
  width: 100%;
}

textarea::placeholder {
  color: #fff;
}

.submit-button {
  font-family: "MedievalSharp", cursive;
  display: block;
  width: 100%;
  padding: 0.5rem;
  border-radius: 5px;
  font-size: 1.5em;
  cursor: pointer;
  color: white;
  background: rgb(240, 0, 0);
  border: 2px solid transparent;
  transition: all 0.5s ease-in;
}

.submit-button:hover,
.submit-button:active {
  background: #000;
  border-color: #000;
  outline: none;
  color: #fff;
}

.submit-button i {
  font-size: 0.8em;
  margin-left: 0.5em;
}

/************************ Media Query ************************/
@media screen and (max-width: 768px) {
  .contact-header {
    background-position: bottom center;
    text-align: center;
    padding: 5em 0 3em;
  }

  form {
    width: 100%;
  }

  .contact-header h1 {
    font-size: 3em;
  }

  .contact-header p {
    font-size: 1.5em;
  }

  label {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 576px) {
  form {
    padding: 1.5em;
  }

  .contact-header {
    padding: 7em 0 0;
  }
}
