
.contact-body {
  width: 100%;
  background: linear-gradient(45deg, #d2001a, #7462ff, #f48e21, #23d5ab);
  background-size: 300% 300%;
  animation: color 8s ease-in-out infinite;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  transform-style: preserve-3d;
  position: relative;
  background-color: #1a1a1a;
  font-family: arial;
}

@keyframes color {
  0% {
    background-position: 0 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}
.contact-container {
  min-width: 700px;
  min-height: 600px;
  border-radius: 20px;
  width: 70%;
  margin: 2rem auto;
  position: relative;
  transition: 2s ease-in-out;
  transform-style: preserve-3d;
}
.side {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px 50px;
  color: #ffffff;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 2px;
}
.content {
  transform: translateZ(70px) scale(0.8);
  line-height: 1.5em;
}
.content h1 {
  position: relative;
  font-size: 20px;
  font-family: arial;
}
.content h1:before {
  content: "";
  position: absolute;
  bottom: -12px;
  height: 3px;
  background-color: #ffffff;
  width: 70px;
  left: 50%;
  transform: translateX(-50%);
}
.front {
  background-color: #777;
  z-index: 2;
  background-image: url(../images/c1.jpg);
  background-size: cover;
  /*        background-size: 100vh;*/
  color: white;
  background-blend-mode: multiply;
}
.back {
  background-color: #222;
  transform: rotateY(180deg);
  z-index: 0;
  padding-top: 10px;
  background-image: url(../images/cbg.jpg);
  background-size: cover;
  background-blend-mode: multiply;
}
.contact-container:hover {
  transform: rotateY(180deg);
}
.back h1 {
  margin: 0;
}

.con-head2 {
  font-family: "Exo 2", sans-serif;
  margin-top: 3.5rem;
}

.contactus-form {
  margin-top: 1.5rem;
}
.contactus-form label,
.contactus-form input,
.contactus-form,
textarea {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 1rem;
}

.contactus-form input {
  margin-bottom: 1rem;
}

.contactus-form label {
  font-size: 1.15rem;
}

.contactus-form input::placeholder,
.contactus-form textarea::placeholder {
  color: #fff;
}
.contactus-form input,
.contactus-form textarea {
  font-family: "Exo 2", sans-serif;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #ffffff;
  padding: 5px;
  width: 100%;
  color: #ffffff;
  outline: none;
}
.contactus-form label {
  margin: 1rem 0;
}
.contactus-form input[type="submit"] {
  display: block;
  width: auto;
  margin: 1.5rem auto;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid #fff;
}

.contactus-form input[type="submit"] {
  background: linear-gradient(220.55deg, #ffc328 0%, #e20000 100%);
}

.contactus-form input[type="submit"]:hover {
  background: linear-gradient(220.55deg, #d7003a 0%, #19087e 100%);
}

.content h1 {
  font-size: 2rem;
  font-family: "Exo 2", sans-serif;
  letter-spacing: 3px;
  margin-top: 1rem;
}

.contact-footer {
  background: linear-gradient(220.55deg, #ff0000 0%, #470000 100%);
  padding: 1rem;
  position: fixed;
  bottom: 10px;
  right: 33%;
}

.contact-footer ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.contact-footer ul li {
  color: #fff;
  font-size: 1rem;
  font-family: "Exo 2", sans-serif;
  transition: 0.6s;
}

.contact-footer ul li a:hover {
  color: #32cd32;
  cursor: pointer;
  font-weight: 700;
}

.contact-footer ul li a {
  text-decoration: none;
  color: #fff;
}

@media (width<=992px) {
  .contact-container {
    min-width: 90%;
    min-height: 650px;
    border-radius: 20px;
    position: relative;
    transition: 1.5s ease-in-out;
    transform-style: preserve-3d;
  }
  .side {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 20px 50px;
    color: #ffffff;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border-radius: 2px;
  }
  form input[type="submit"] {
    margin: 3rem auto;
  }

  form label {
    text-align: left;
    margin: 1.5rem 0;
  }
  .contact-footer {
    position: fixed;
    bottom: 20px;
    right: 19%;
  }
}

@media (width<=576px) {
  .contact-container {
    min-width: 90%;
    min-height: 650px;
    border-radius: 20px;
    position: relative;
    transition: 1.5s ease-in-out;
    transform-style: preserve-3d;
  }
  .side {
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 20px 50px;
    color: #ffffff;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border-radius: 2px;
  }
  form input[type="submit"] {
    margin: 1.5rem auto;
  }

  form label {
    text-align: left;
    margin: 1.5rem 0;
  }
  /* .contact-footer {
          position: relative;
          top: 40%;
          bottom: 0px;
          right: 33%;
        } */

  .contact-footer {
    background: transparent;
    bottom: -230px;
    right: 30%;
  }

  .contact-footer ul {
    flex-direction: column;
  }

  .contact-footer ul li:last-child {
    margin-bottom: 1.5rem;
  }

  .con-head2 {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* input[type="number"] {
  -moz-appearance: textfield;
} */

.con-icon{
  width: 12%;
}
