/* ------------------------START BG CSS------------------ */

.bg {
  margin-top: 5rem;
  height: 30vw !important;
  background-image: url(../images/insurance-cover.png);
  width: 100%;
  text-align: center;
  transition: transform 0.5s ease;
  height: auto;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.cover {
  width: 100%;
  height: auto;
}

.title h1 {
  padding-top: 20px;
  position: relative;
  font-size: 7.5rem;
  color: #fff;
  font-weight: 700;
  top: 100px;
}

@media (max-width: 998px) {
  .title h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .bg {
    height: 40vw !important;
  }
  /* .bg img {
        margin-top: 6rem;
        margin-top: 1rem;
    } */
  .title h1 {
   font-size: 2.5rem;
    top: 30px;
    /* top: 27%;
        transform: translate(-50%, -50%); */
  }
   .bg {
    margin-top: 7rem;
  }
}

/* ----------------------------------END BG CSS------------------ */

#myBtnup {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgba(0, 170, 210, 1);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtnup:hover {
  color: rgba(0, 170, 210, 1);
  background-color: rgba(255, 255, 255, 0.1);
}

.cover {
  width: 100%;
  height: auto;
  width: 100%;
  height: auto;
}

.input-group-drive {
  position: relative;
}

.input {
  font-family: HyundaiSansRegular !important;
  width: 100%;
  border: solid 1.5px #9e9e9e;
  border-radius: 1rem;
  background: none;
  padding: 1rem;
  font-size: 1rem;
  color: #000000;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input::placeholder {
  color: transparent !important;
}

.user-label {
  font-size: 20px;
  position: absolute;
  left: 15px;
  color: #302d2d95;
  pointer-events: none;
  transform: translateY(1rem);
  transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input:focus,
input:valid {
  outline: none;
  border: 1.5px solid #1a73e8;
}

.input:focus ~ label,
input:valid ~ label {
  transform: translateY(-50%) scale(0.8);
  background-color: #ffffff;
  padding: 0 0.2em;
  color: #2196f3;
}

.spacing {
  width: 100% !important;
  margin: 0 10px 0 0 !important;
}

.carImage {
  width: 50%;
  height: auto;
  margin: auto;
  display: none;
}

.g-recaptcha {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #183153;
  font-family: HyundaiSansHeadOfficeMedium !important;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.g-recaptcha:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: rgba(0, 170, 210, 1);
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.g-recaptcha:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.g-recaptcha,
.inq {
  text-align: center;
  text-decoration: none;
  width: auto;
  padding: 10px 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.g-recaptcha:hover .inq {
  color: #ffffff;
  animation: scaleUp 0.3s ease-in-out;
}

.red {
  color: red;
}
#my-form-status {
  color: #00ff00;
}
#myForm {
  font-family: HyundaiSansRegular;
}

.unit {
  font-family: HyundaiSansHeadOfficeMedium !important;
}

/* Responsive */

@media (max-width: 768px) {
  .spacing {
    margin: 10px 0 !important;
  }
  .user-label {
    font-size: 15px;
  }
}
