@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap");

* {
  font-family: "Montserrat", sans-serif;

  transition: all 0.5s linear;
}

#content {
  width: 100%;

  height: 100vh;

  background: url(../images/this-bg.jpg) no-repeat center;

  background-size: cover;

  position: relative;
}

#content .wrap {
  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);
}

.mail-box {
  width: 575px;

  background: #ffffff 0% 0% no-repeat padding-box;

  box-shadow: 5px 5px 20px #98989829;

  border-radius: 17px;

  padding: 5rem 3rem;

  margin: 0 auto;
}

.mail-box h1 {
  text-align: center;

  font-size: 30px;

  line-height: 40px;

  font-weight: 550;

  letter-spacing: 0;

  color: #707070;
}

.mail-box p {
  text-align: center;

  font-size: 18px;

  line-height: 22px;

  font-weight: 400;

  letter-spacing: 0;

  color: #707070;

  margin-top: 2rem;
}

.mail-box img {
  display: block;

  width: 40px;

  margin: 3rem auto 1rem;
}

.mail-success-msg {
  text-align: center;

  font-size: 20px;

  line-height: 24px;

  font-weight: 650;

  letter-spacing: 0;

  color: #00b222;

  margin: 2rem 0 4rem;
}

.mail-input {
  display: block;

  width: 80%;

  margin: 3rem auto;

  text-align: center;

  font-size: 20px;

  line-height: 24px;

  font-weight: 400;

  letter-spacing: 0;

  color: #707070;

  border: none;

  border-bottom: 1px solid #e83a4a;

  padding: 0.5rem;

  outline: 0;
}

.mail-input:focus {
  border-bottom: 2px solid #e83a4a;
}

.mail-input::placeholder {
  color: #d3d3d3;
}

.mail-input:focus::placeholder {
  color: transparent;
}

.mail-button {
  display: block;

  width: 150px;

  height: 51px;

  background: transparent
    linear-gradient(111deg, #ea5646 0%, #e83a4a 100%, #d10808 100%) 0% 0%
    no-repeat padding-box;

  box-shadow: 5px 5px 15px #41414129;

  border-radius: 8px;

  text-align: center;

  font-size: 12px;

  line-height: 15px;

  font-weight: bold;

  letter-spacing: 0;

  color: #ffffff;

  margin: 3rem auto 0.5rem;

  border: none;

  position: relative;

  overflow: hidden;

  z-index: 2;
}

.mail-button::before {
  content: "";

  width: 100%;

  height: 100%;

  background: transparent;

  position: absolute;

  top: 0;

  left: 0;

  z-index: -2;
}

@keyframes anim {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.mail-button:hover::before {
  animation: anim 0.25s linear;

  width: 100%;

  z-index: -1;

  background: #ea5646;
}

a.mail-button {
  line-height: 51px;
}

.mail-button:hover {
  color: #ffffff;

  text-decoration: none;
}

.mail-footer {
  margin-top: 5rem;
}

.mail-footer p,
.mail-footer a {
  font-size: 12px;

  line-height: 15px;

  font-weight: 200;

  letter-spacing: 0;

  color: #ffffff;
}

.mail-success-wrap {
  display: none;
}

@media (max-width: 768.98px) {
  #content {
    height: auto;

    padding: 4rem 2rem;
  }

  #content .wrap {
    position: static;

    top: 0;

    left: 0;

    transform: translate(0, 0);
  }
}

@media (max-width: 630.98px) {
  .mail-box {
    width: 100%;

    padding: 3rem 2rem;
  }

  .mail-box h1 {
    font-size: 28px;
  }

  .mail-box p {
    font-size: 17px;
  }

  .mail-box img {
    width: 30px;
  }

  .mail-success-msg {
    font-size: 17px;
  }

  .mail-input {
    font-size: 17px;
  }

  .mail-button {
    width: 120px;

    height: 45px;

    font-size: 10px;
  }

  .mail-footer {
    margin-top: 3rem;
  }

  .mail-footer p,
  .mail-footer a {
    font-size: 10px;
  }
}

img.loader-mail {
  display: none;
  margin: auto;
  width: 50px;
}
