body {
  font-family: "Roboto", sans-serif;
}

.contact-parallax {
  min-height: 1200px;
  width: 100%;
  position: relative;
  text-align: center;
}

.contact-main {
  position: relative;
  z-index: 100;
}

.form-cont {
  display: flex;
}

.form-left {
  width: 50%;
  padding: 0 3%;
}

.form-right {
  width: 50%;
  padding: 0 3%;
}

.form-right .checkbox-cont:first-of-type {
  padding-top: 10px;
}

.form-right .checkbox-cont {
  display: flex;
  flex-direction: column;
}

.options-cont {
  display: flex;
  flex-direction: column;
  padding: 1em 0 1.3em 0;
}

.contact-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  padding: 25px;
  /* margin-top: 4em; */
  /* margin-bottom: 8em; */
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  border-radius: 10px;
}

.contact-box h1 {
  margin: 0 0 30px;
  color: var(--color-white);
  text-align: center;
  text-transform: capitalize;
}

.contact-box .user-box {
  position: relative;
}

.contact-box .user-box input,
.contact-box .user-box textarea {
  font-family: inherit;
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid var(--color-white);
  border-radius: 0.2em;
  outline: none;
  background: transparent;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s;
  -webkit-text-fill-color: var(--color-white) !important;
}

.contact-box .user-box label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  font-size: 16px;
  color: var(--color-white);
  pointer-events: none;
  transition: 0.5s;
}

.contact-box .user-box input:focus ~ label,
.contact-box .user-box input:valid ~ label,
.contact-box .user-box textarea:valid ~ label,
.contact-box .user-box textarea:focus ~ label {
  top: -28px;
  left: 0;
  color: var(--color-misty-rose);
  font-size: 14px;
}

.checkbox-cont {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.checkbox-cont label {
  color: var(--color-white);
}

/* ------- Checkbox starts -------- */

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: 0;
  opacity: 0.01;
}

[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 2.3em;
  font-size: 1.05em;
  line-height: 1.7;
  cursor: pointer;
}

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4em;
  height: 1.4em;
  border: 1px solid var(--color-white);
  background: var(--color-transparent);
  border-radius: 0.2em;
  -webkit-transition: all 0.275s;
  transition: all 0.275s;
}

[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  content: "✕";
  position: absolute;
  top: 0.55em;
  left: 0.18em;
  font-size: 1.375em;
  color: var(--color-misty-rose);
  line-height: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0) rotate(45deg);
  transform: scale(0) rotate(45deg);
}

[type="checkbox"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1) rotate(0);
  transform: scale(1) rotate(0);
}

/* ------- Checkbox ends -------- */

/* ------------ Errors & Messages Starts ------------ */

.confirmation-message {
  color: var(--color-white);
  padding: 20px;
  border: 1px solid var(--color-misty-rose);
  border-radius: 10px;
  background: var(--my-transparent);
  visibility: hidden;
}

.show-confirmation {
  visibility: visible;
}

.error-message {
  font-size: 14px;
  color: var(--color-error);
  letter-spacing: 1px;
  visibility: hidden;
  position: relative;
  bottom: 25px;
}

.options-error-message {
  font-size: 14px;
  color: var(--color-error);
  letter-spacing: 1px;
  visibility: hidden;
  position: relative;
  bottom: 20px;
  padding-top: 10px;
}

.agreement-error-message {
  font-size: 14px;
  color: var(--color-error);
  letter-spacing: 1px;
  visibility: hidden;
  position: relative;
  bottom: -5px;
}

.error-border {
  border-bottom: 1px solid var(--color-error) !important;
}

.show-error {
  visibility: visible;
}

/* ------------ Errors & Messages Ends ------------ */

/* ---------- Form Button Starts ----------- */

.contact-box form button {
  position: relative;
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  color: var(--color-misty-rose);
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.5s;
  margin-top: 10px;
  letter-spacing: 4px;
}

.contact-box button:hover {
  background: var(--color-misty-rose);
  color: var(--my-white);
  border-radius: 5px;
  box-shadow:
    0 0 5px var(--color-misty-rose),
    0 0 25px var(--color-misty-rose),
    0 0 50px var(--color-misty-rose),
    0 0 100px var(--color-misty-rose);
}

.contact-box button span {
  position: absolute;
  display: block;
}

button {
  background: transparent;
}

.contact-box button span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-misty-rose));
  animation: btn-anim1 1s linear infinite;
}

@keyframes btn-anim1 {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

.contact-box button span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-misty-rose));
  animation: btn-anim2 1s linear infinite;
  animation-delay: 0.25s;
}

@keyframes btn-anim2 {
  0% {
    top: -100%;
  }
  50%,
  100% {
    top: 100%;
  }
}

.contact-box button span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--color-misty-rose));
  animation: btn-anim3 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes btn-anim3 {
  0% {
    right: -100%;
  }
  50%,
  100% {
    right: 100%;
  }
}

.contact-box button span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--color-misty-rose));
  animation: btn-anim4 1s linear infinite;
  animation-delay: 0.75s;
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,
  100% {
    bottom: 100%;
  }
}

/* ---------- Form Button Ends ----------- */

input[type="date"]:in-range::-webkit-datetime-edit-year-field,
input[type="date"]:in-range::-webkit-datetime-edit-month-field,
input[type="date"]:in-range::-webkit-datetime-edit-day-field,
input[type="date"]:in-range::-webkit-datetime-edit-text {
  color: transparent;
}

::-webkit-calendar-picker-indicator {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24"><path fill="%23bbbbbb" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
}

/* MEDIA QUERIES */

@media all and (max-width: 968px) {
  footer {
    flex-direction: column;
    align-items: center;
  }
  .first-column {
    order: 1;
    padding: 2em 0;
  }
  .second-column {
    order: 2;
    padding: 2em 0;
  }
  .third-column {
    order: 3;
    padding: 2em 0;
  }
  .first-column,
  .third-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .form-cont {
    flex-direction: column;
  }
  .form-left,
  .form-right {
    width: 100%;
    padding: 3%;
  }
  .contact-parallax {
    min-height: 1750px;
  }
}

@media screen and (max-width: 768px) {
  .contact-box {
    padding: 15px;
    width: 90%;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  .contact-box .user-box label {
    font-size: 13px;
  }
  .contact-parallax {
    min-height: 1850px;
  }
}
