@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
html,
body {
  display: grid;
  height: 100%;
  place-items: center;
  text-align: center;
  background: #eee;
}

form#contact {
  margin-left: -100px;
  position: relative;
  z-index: 2;
  opacity: 2.5;
  background-image: url(contact-form-bg.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-shadow: 0px 0px 15px rgb(0 0 0 / 10%);
  padding: 60px 120px;
  border-radius: 20px;
}

fieldset {
  display: block;
  margin-inline-start: 2px;
  margin-inline-end: 2px;
  padding-block-start: 0.35em;
  padding-inline-start: 0.75em;
  padding-inline-end: 0.75em;
  padding-block-end: 0.625em;
  min-inline-size: min-content;
  border-width: 0px;
  text-align: start;
}

form#contact input {
  width: 100%;
  height: 46px;
  border-radius: 0px;
  background-color: transparent;
  border-bottom: 1px solid #9bdbf8;
  border-top: none;
  border-left: none;
  border-right: none;
  outline: none;
  font-size: 15px;
  font-weight: 300;
  color: #2a2a2a;
  padding: 0px 0px;
  margin-bottom: 25px;
}
.label-in-form {
  color: #666;
  width: 100%;
}
h4 {
  color: #666;
  /* padding:20px; */
  margin-bottom: 10px;
}
form#contact button {
  display: inline-block;
  background-color: #ffb000;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-transform: capitalize;
  padding: 12px 25px;
  border-radius: 23px;
  letter-spacing: 0.25px;
  border: none;
  outline: none;
  transition: all 0.3s;
}

.star-widget input {
  display: none;
}

.star-widget label {
  border-bottom: 1px solid #9bdbf8;
  font-size: 30px;
  color: #666;
  padding: 5px;
  float: right;
  transition: all 0.2s ease;
}
input:not(:checked) ~ label:hover,
input:not(:checked) ~ label:hover ~ label {
  color: #fd4;
}
input:checked ~ label {
  color: #fd4;
}
input#rate-5:checked ~ label {
  color: #fe7;
  text-shadow: 0 0 20px #952;
}
/* @media (max-width: 992px){ form#contact {
    display:block;
    margin-top: 0px;
    margin-left: 10px;
    margin-right: 10px;
}
} */

@media (max-width: 992px) {
  html,
  body {
    display: block;
    margin-top: 0px;
    margin-left: 10px;
    margin-right: 10px;
  }
  form#contact {
    min-height: 90%;
    margin-top: 0px;
    margin-left: 10px;
    margin-right: 10px;
  }
  form#contact input {
    font-size: 35px;
    padding: 50px 50px;
    margin: 40px 40px;
  }
  form#contact textarea {
    border-bottom: 1px solid #9bdbf8;
    font-weight: 300;
    font-size: 15px;
  }

  .label-in-form {
    font-size: 35px;
    color: #666;
    width: 100%;
  }
  .star-widget label {
    font-size: 55px;
  }
  h4 {
    font-size: 55px;
  }
  fieldset .label-in-form {
    padding: 20px;
    text-align: justify;
    margin-left: 60px;
  }
  .captcha {
    margin-top: 10px;
    margin-left: 80px;
  }

  img {
    /* display: block; */
    /* margin: 10px auto; */
    width: 100%;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 200px;
  }
  form#contact button {
    padding: 30px;
    font-size: 35px;
  }
  form#contact textarea {
    width: 100%;
    height: auto;
    font-size: 35px;
    margin-top: 10px;
    margin-left: 70px;
    margin-right: 150px;
  }
}
