/*
    CSS for contact page
*/
/* Delete this chunk if it works without the code */
* {

  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/*      */

.map {
  position: relative;
  margin-right: 5%;
  margin-left: 5%;
  min-height: 60vh;
  padding: 3px 3px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgb(0, 0, 0);
}

.contactUs {
  position: relative;
  min-height: 5vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  flex-direction: column;
  
}

.contactUs .content {
  max-width: 100%;
  text-align: center;
  border-radius: 30px;
  border-color: black;
  height: 150%;
  width: 150%;
  background: linear-gradient( rgb(255,135,0) 35%, rgba(255, 170, 0) 100%);

}

.contactUs .content h2 {
  font-size: 100px;
  font-weight: 500;
  color: black;
  margin: 10px;
}

.contactUs .content p {
  font-weight: 300;
  color: black;
  margin: 15px;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;

}

.container .contactInfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.container .contactInfo .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

.container .contactInfo .box .icon {
  min-width: 80px;
  height: 80px;
  background: linear-gradient( rgb(255,135,0) 35%, rgba(255, 170, 0) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.container .contactInfo .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  flex-direction: column;
  font-weight: 300;
}

.container .contactInfo .box .text h3{
  font-weight: 500;
  color:rgb(188, 0, 0);
  
}

.contactForm {
  width: 40%; 
  padding: 40px;
  background: rgb(255, 170, 0);
  background: linear-gradient(360deg, rgb(255,135,0) 35%, rgba(255, 170, 0) 100%);

  
}
.contactForm h2 {
  font-size: 30px;
  color: rgb(0, 0, 0);
  font-weight: 500;
}
.contactForm .inputBox {
  position:relative;
  width: 100%;
  margin-top: 10px;

}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid black;
  outline: none; 
  resize: none;
}

.contactForm .inputBox span {
  position: absolute;
  left: 5px;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: color 0.5s ease;
  color: orangered;

}

.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span, 
.contactForm .inputBox textarea:valid ~ span {
  color: purple;
  font-size: 12px;
  transform: translateY(-20px);

}

.contactForm .inputBox input[type="submit"] {
  width: 100px;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;

}

@media (max-width: 991px) {
  .contactUs {
    padding: 50px;
  }
  .container {
    flex-direction: column;
  }
  .container .contactInfo {
    margin-bottom: 40px;
  }
  .container .contactInfo,
  .contactForm {
    width: 100%;
  }
}
