
#contact{
  width: 85%;
  margin: 0 auto;
  overflow: hidden;
}
#contact .container{
  display: flex;
  justify-content: space-evenly;
  gap: 50px;
  border: none;
  padding: 50px;
}
#contact h1{
  text-align: center;
  padding: 10px;
  margin-top: 5%;
}
#contact .container img{
  max-width:550px;
  max-height: 480px;
  margin-top: 15%;
}

form {
  min-width: 28rem;
  padding: 20px;
  border-radius: 30px;
  background: #c7d6e7;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}
form .title {
  font-family: "Pacifico", cursive;
  color: #212529;
  font-size: 2.5rem;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 95%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #000000;
  border-radius: 5px;
  background: transparent;
  color: #000000;
}

form .form-control {
  background-color: #f2f6f8;
  border-radius: 2rem;
  border: none;
  box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
}
form .form-control.thick {
  height: 3.3rem;
  padding: 0.5rem 3.5rem;
}
form .form-control:focus {
  background-color: #f2f6f8;
  border: none;
  box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
}
form .message .form-control {
  padding: 0.5rem 1.8rem;
}
form ::placeholder {
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #838788;
  position: relative;
  left: 0;
}
form input,
form textarea {
  font-family: "Quicksand", sans-serif;
  color: #212529;
  font-size: 1.1rem;
  resize: none;
}
form .icon {
  color: #57565c;
  height: 1.3rem;
  position: absolute;
  left: 1.5rem;
  top: 1.1rem;
}

.form-group input{
  width: 100%;
}

.btn.btn-primary {
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  color: #fff;
  height: 3rem;
  line-height: 3rem;
  padding: 0 3rem;
  border: 0;
  border-radius: 3rem;
  background-image: radial-gradient(#2873ad, #052434);
  background-size: 300% 100%;
  transition: all 0.3s ease-in-out;
}

.btn.btn-primary:hover:enabled {
  box-shadow: 0 0.5em 0.5em -0.4em #ff923cba;
  color: #000;
  background-size: 100% 100%;
  transform: translateY(-0.15em);
}

@media (max-width:1200px) {
  #contact .container img{
    width: 500px;
    height: 300px;
  }
  #contact .container{
    min-width: 15rem;
  }
}
@media (max-width:992px) {

  #contact .container{
    flex-wrap: wrap;
  }
  
}
@media (max-width:768px){

  #contact .container img{
    display: none;
  }
  #contact{
    width: 110%;
    margin: 0 auto;
  }
  #contact .container{
    max-width: 100%;
    display: block;
    margin: 0;
    border-radius: 0%;
    margin-left: -20px;
  }
  form{
    min-width: 120%;
    height: 80vh;
    margin-left: -10%;
  }
form textarea{
  height: 150px;
  font-size: 10px;
}
form .title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin: 0;
}

}