:root {
  --body_gradient_left: #7200d0;
  --body_gradient_right: #c800c1;
  --form_bg: #f2f2f2;
  --input_bg: #ffffff;
  --input_hover: #f1f1f1;
  --submit_bg: #fea734;
  --submit_hover: #000000;
  --icon_color: #000000;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* do not group these rules */
*::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

*:-moz-placeholder {
  /* FF 4-18 */
  color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

*::-moz-placeholder {
  /* FF 19+ */
  color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

*:-ms-input-placeholder {
  /* IE 10+ */
  color: rgba(0, 0, 0, 0.5);
}

*::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgba(0, 0, 0, 0.5);
}

*::placeholder {
  /* modern browser */
  color: rgba(0, 0, 0, 0.5);
  text-align: left;
  font-size: 1em !important;
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

textarea::placeholder {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.5);
}

body {
  /* make the body full height*/
  min-height: 100vh;
  /* set our custom font */
  font-family: "Roboto", sans-serif;
  /* create a linear gradient*/
  background-color: #ffffff;
  display: flex;

  font-weight: 300;
}

#form_wrapper {
  width: 95%;
  min-height: 95vh;

  /* this will help us center it*/
  margin: auto;
  background-color: var(--form_bg);
  /* make it a grid container*/
  display: grid;
  /* with two columns of same width*/
  grid-template-columns: 1fr 2fr;
  /* with a small gap in between them*/
  grid-gap: 1vw;
  /* add some padding around */
  padding: 0px;
  border-radius: 30px;
  overflow: hidden;
}

.form_footer {
  display: none;
}

#form_left {
  /* center the image */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
}

#form_left img {
  width: 100%;
  height: 100%;
}

.display-desktop {
  display: block;
}

.display-mob {
  display: none;
}

#form_right {
  display: grid;
  /* single column layout */
  grid-template-columns: 1fr;
  /* have some gap in between elements*/
  grid-gap: 20px;
  padding: 25px;

  background-color: var(--form_bg);
}

.form-inner-wrapper {
  display: grid;
  border-radius: 50px;
  padding: 5% 5%;
  align-items: center;
  background: #ffffff;
  box-shadow: 0px 0px 10px 2px #ebebeb;
  min-height: 300px;
}

h3 {
  text-align: center;
  font-weight: 700;
  font-size: 1.6em;
  margin: 0;
}

p {
  text-align: center;
  font-weight: 300;
  font-size: 1em;
  margin: 10px 0;
}

.input_container {
  background-color: var(--input_bg);
  /* vertically align icon and text inside the div*/
  display: flex;
  height: 45px;
  align-items: center;
  border: 1px solid #000000;
  color: #000000;
  padding-right: 20px;
  margin: 15px 0;
}

.textarea_container {
  background-color: var(--input_bg);
  /* vertically align icon and text inside the div*/
  height: 120px;
  display: flex;
  align-items: center;
  border: 1px solid #000000;
  border-radius: 30px;
  padding: 20px 20px 20px 20px;
}

.input_container:hover {
  background-color: var(--input_hover);
}

.input_container,
.input_submit {
  /* make the borders more round */
  border-radius: 30px;
  width: 100%;
  height: 45px;
}

.textarea_container {
  height: 100px;
  /* make the borders more round */
  border-radius: 30px;
  width: 100%;
  margin-bottom: 15px;
}

.input_field {
  /* customize the input tag with lighter font and some padding*/
  color: #000000 !important;
  background-color: transparent;
  width: 100%;
  border: none;
  font-size: 1.1rem !important;
  font-weight: 400;
  border-radius: 20px;
  line-height: 1;
  margin: 2px 0 0 0;
  padding: 10px 20px;
  font-family: "Roboto";
  position: relative !important;
}

.textarea_field {
  /* customize the input tag with lighter font and some padding*/
  color: var(--icon_color);
  background-color: transparent;
  width: 100%;
  border: none;
  color: #000000 !important;
  outline: none;
  font-family: "Roboto";
  font-size: 1.1rem !important;
  height: 80px;
  font-weight: 400;
  padding-left: 0px;
}

.input_field:hover,
.input_field:focus {
  /* remove the outline */
  outline: none;
}

.input_submit {
  /* submit button has a different color and different padding */
  background-color: var(--submit_bg);
  padding-left: 0;
  font-weight: bold;
  height: 50px;
  color: white;
  display: inline-block;
  width: 180px;
  font-size: 1.3rem;
  text-transform: uppercase;
  border: none;
}

.iti {
  display: flex !important;
  width: 100% !important;
  align-items: center;
}

.input_submit:hover {
  background-color: var(--submit_hover);
  /* simple color transition on hover */
  transition: background-color, 1s;
  cursor: pointer;
}

.error {
  color: #ff0000;
  font-size: 11px;
  flex-wrap: wrap;
  padding-right: 0px;
  white-space: nowrap;
}

a {
  /* remove default underline */
  text-decoration: none;
  color: var(--submit_bg);
  font-weight: bold;
}

a:hover {
  color: var(--submit_hover);
}

i {
  color: var(--icon_color);
}

.clearfix {
  clear: both;
}

/* make it responsive */
@media screen and (max-width: 768px) {
  #form_wrapper {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: visible;
    grid-gap: 0vw;
    display: block;
    grid-template-columns: 1fr 1fr;
  }

  h3 {
    text-align: center;
    font-size: 1.2em;
  }

  p {
    text-align: center;
    font-size: 0.8em;
  }

  .error {
    font-size: 10px;
    flex-wrap: wrap;
    padding-right: 0px;
    white-space: unset
  }

  /* make the layout  a single column and add some margin to the wrapper */
  #form_wrapper {
    grid-template-columns: 1fr;
    margin: 0 0px;
    grid-template-rows: 1fr 1fr;
  }

  /* on small screen we don't display the image */
  #form_left {
    display: block;
    grid-gap: 0px;
  }

  #form_right {
    grid-gap: 0px;
    padding: 20px;
    background-color: #fea734;
  }

  .form-inner-wrapper {
    display: grid;
    border-radius: 50px;
    padding: 10% 5%;
    background: #ffffff;
    box-shadow: none;
  }

  .display-desktop {
    display: none;
  }

  .display-mob {
    display: block;
  }

  .input_container {
    margin: 10px 0;
  }

  .textarea_container {
    margin: 10px 0 20px 0;
  }

  .input_field {
    font-size: 0.9rem;
  }

  .textarea_field {
    font-size: 0.9rem;
  }

  .form_footer {
    display: block;
  }
}