@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CONTAINER HERE */
.container {
  margin-top: 10rem;
  height: 51vh;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.container img {
  width: 100%;
}

.container h1 {
  display: inline-block;
  font-size: 55px;
  font-weight: 700;
  line-height: 50px;
  position: relative;
  bottom: 245px;
  left: 200px;
}

.container p {
  display: inline-block;
  font-size: 18px;
  position: relative;
  bottom: 175px;
  right: 205px;
}

/* CONTAINER-FORM HERE */

.container-form {
  width: 80%;
  margin: 50px auto;
  font-family: 'Poppins', sans-serif;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.container-form h1 {
  font-size: 36px;
  margin: 30px 0;
  text-align: center;
  color: rgb(48, 48, 48);
}

.container-form .para {
  font-size: 18px;
  text-align: center;
  color: rgb(48, 48, 48);
  margin-bottom: 30px;
}

/* CONTACT-BOX */

.contact-box {
  display: flex;
  background-color: #fff;
}

/* LEFT-BOX */
.contact-left {
  flex-basis: 60%;
  padding: 40px 60px;
}

.contact-left h3 {
  margin-bottom: 30px;
  font-weight: 600;
  color: rgb(48, 48, 48);
}

.input-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.input-row .input-group {
  flex-basis: 45%;
}

input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  padding-bottom: 5px;
  letter-spacing: 1px;
}

textarea {
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  padding: 10px;
}

label {
  margin-bottom: 6px;
  display: block;
  color: #dd1818e6;
}

button {
  background: #dd1818e6;
  width: 100px;
  border: none;
  outline: none;
  color: #fff;
  height: 35px;
  border-radius: 5px;
  margin-top: 20px;
  box-shadow: 0px 5px 15px 0px rgba(28, 0, 181, 0.3);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  transform: translateY(-5px);
  font-size: 15px;
  border-radius: 0;
}

/* RIGHT-BOX */

.contact-right {
  flex-basis: 40%;
  padding: 40px;
  background-color: #dd1818e6;
  color: #fff;
}

.contact-right h3 {
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-right p {
  margin-top: 30px;
  font-weight: 400;
  color: #ccc;
  line-height: 30px;
  letter-spacing: 1px;
  font-size: 18px;
}


/* ------------------------ RESPONSIVE SECTION ------------------------ */

@media (max-width: 1024px) {

  .container {
    height: 40vh;
    margin-top: 13rem;
  }

  .container-form {
    width: 90%;
  }

  .container h1 {
    font-size: 38px;
    left: 72px;
    bottom: 180px;
  }

  .container p {
    font-size: 15px;
    bottom: 125px;
  }

  .contact-left {
    flex-basis: 55%;
  }

  .contact-right {
    flex-basis: 45%;
    padding: 35px;
}
}

@media (max-width: 768px) {

  .container {
    height: 25vh;
  }

  .container h1 {
    font-size: 28px;
    line-height: 30px;
    left: 65px;
    bottom: 128px;
  }

  .container p {
    font-size: 14px;
    bottom: 75px;
    left: -140px;
  }

  .container-form {
    width: 95%;
  }

  .container-form h1 {
    font-size: 32px;
  }

  .contact-left,
  .contact-right {
    padding: 20px;
  }

  .contact-left{
    flex-basis: 60%;
  }

  .contact-right{
    flex-basis: 40%;
  }

  .contact-right h3{
    font-size: 16px;
    text-align: center;
  }

  .contact-right h2 {
    text-align: center;
  }

  .contact-right p {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    height: 20vh;
  }

  .container h1 {
    font-size: 25px;
    line-height: 30px;
    left: 45px;
    bottom: 115px;
  }

  .container p {
    font-size: 12px;
    bottom: 72px;
    left: -140px;
  }

  .container-form h1 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .container-form .para {
    font-size: 16px;
  }

  .contact-box {
    flex-direction: column-reverse;
  }
}

@media (max-width: 475px) {
  .container {
    margin-top: 9.5rem;
    height: 12vh;
}

  .container h1 {
    font-size: 20px;
    line-height: 22px;
    left: 20px;
    bottom: 85px;
  }

  .container p {
    font-size: 10px;
    bottom: 52px;
    left: -126px;
  }

  .container-form h1 {
    font-size: 23px;
  }

  .container-form .para {
    font-size: 14px;
  }

  .input-row {
    flex-direction: column;
  }

  .input-group {
    margin-bottom: 8px;
  }

  button {
    width: 100%;
  }
}

@media (max-width: 376px) {
  .container {
    height: 12vh;
  }

  .container h1 {
    font-size: 18px;
  }

  .container p {
    font-size: 9px;
  }

  .container-form .para {
    font-size: 14px;
    padding: 0 10px;
  }

  .contact-box .contact-right p {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .container {
    height: 8vh;
  }

  .container h1 {
    font-size: 14px;
    line-height: 15px;
    bottom: 65px;
  }

  .container p {
    font-size: 7px;
    bottom: 40px;
    left: -85px;
  }

  .container-form h1 {
    font-size: 20px;
  }
}