@font-face {
  font-family: HyundaiSansRegular;
  src: url(../fonts/HyundaiSansTextKRRegular.TTF) format("opentype");
}

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

#myBtnup {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 23px;
  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);
}

#activeC {
  color: #002c5f;
}

.navbar-nav .nav-link#activeC::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #002c5f;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.bg {
  margin-top: 5rem;
  width: 100%;
  text-align: center;
}

.cover {
  width: 100%;
  height: auto;
}

.title h1 {
  position: absolute;
  font-size: 110px;
  line-height: 120px;
  letter-spacing: 0px;
  /* font-weight: bold; */
  color: #ffffff;
  text-align: center;
  margin: 10% 0;
  width: 100%;
  /* top: 5rem; */
}

.contact {
  /* margin: 5rem 3rem !important; */
  padding: 5rem 0;
  text-align: center;
}

.container-fin {
  margin: 2rem !important;
  display: block;
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 2.5rem;
    margin: 1% 0;
  }
  .container-fin {
    padding: 0 !important;
  }
  .contact {
    padding: 0 !important;
  }
  .bg {
    margin-top: 7rem;
  }
}

@media (max-width: 768px) {
  .front .row {
    gap: 30px;
  }
}

label,
.title,
button {
  font-family: HyundaiSansHeadOfficeMedium !important;
}

input,
textarea {
  font-family: HyundaiSansRegular !important;
}

.content-wrapper {
  min-height: 100%;
  position: relative;
}

.get-in-touch {
  margin: 0 5rem;
}

.title-contact {
  font-family: HyundaiSansHeadOfficeMedium !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 36px;
  line-height: 48px;
}

.contact-info {
  display: inline-flex;
  justify-content: center;
}

.g-recaptcha {
  display: inline-block;
  background-color: #052941;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  padding: 10px 2rem;
}

.g-recaptcha:hover {
  background-color: #043c61;
}

.note {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-family: Lusitana, serif;
  font-size: 16px;
  line-height: 21px;
  .link {
    color: #888;
    text-decoration: none;
    &:hover {
      text-decoration: underline;
    }
  }
}

.ratio-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 60vh;
}

.ratio-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1600px) {
  .ratio-container {
    height: 85vh;
  }
}

@media (max-width: 767px) {
  .title-contact {
    padding-top: 30px;
  }
}

@media (max-width: 600px) {
  .ratio-container {
    height: 50vh;
  }
}


/* ///// inputs /////*/

input:focus ~ label,
textarea:focus ~ label,
input:valid ~ label,
textarea:valid ~ label {
  font-size: 14px;
  color: #052941;
  top: -10px;
  -webkit-transition: all 0.225s ease;
  transition: all 0.225s ease;
}

.styled-input {
  float: left;
  width: 293px;
  margin: 1rem 0;
  position: relative;
  border-radius: 4px;
}

@media only screen and (max-width: 768px) {
  .styled-input {
    width: 100%;
  }
}

.styled-input label {
  color: #999;
  background-color: #fff;
  padding: 0px 10px;
  position: absolute;
  top: 10px;
  left: 5px;
  transform: translateY(0.1rem);
  transition: all 0.3s ease;
}

.styled-input {
  width: 650px;
  max-width: 100%;
}

.styled-input textarea:focus,
.styled-input input:focus,
.styled-input input:valid {
  outline: none;
  border: solid 1px #052941;
}

input,
textarea {
  padding: 10px;
  border: 0;
  width: 100%;
  font-size: 1rem;
  color: #000000;
  border-radius: 4px;
  border: 1px solid rgb(219, 213, 213);
}

input:focus,
textarea:focus {
  outline: 0;
  border: solid 1px #052941;
}

input:focus ~ span,
textarea:focus ~ span {
  width: 100%;
  -webkit-transition: all 0.075s ease;
  transition: all 0.075s ease;
}

textarea {
  width: 100%;
  min-height: 15em;
}

.input-container {
  width: 650px;
  max-width: 100%;
  margin: 20px auto 25px auto;
}

@media (max-width: 1276px) {
  .input-container {
    width: 600px;
  }
}

@media (max-width: 1173px) {
  .input-container {
    width: 550px;
  }
}

@media (max-width: 1076px) {
  .input-container {
    width: 500px;
  }
}

@media (max-width: 976px) {
  .input-container {
    width: 400px;
  }
}

@media (max-width: 767px) {
  .input-container {
    width: 500px;
  }
}

@media (max-width: 507px) {
  .input-container {
    width: 400px;
  }
}

@media (max-width: 432px) {
  .input-container {
    width: 350px;
  }
}

@media (max-width: 394px) {
  .input-container {
    width: 300px;
  }
}

.submit-btn {
  float: right;
  padding: 7px 35px;
  border-radius: 60px;
  display: inline-block;
  background-color: #4b8cfb;
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow:
    0 2px 5px 0 rgba(0, 0, 0, 0.06),
    0 2px 10px 0 rgba(0, 0, 0, 0.07);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.submit-btn:hover {
  transform: translateY(1px);
  box-shadow:
    0 1px 1px 0 rgba(0, 0, 0, 0.1),
    0 1px 1px 0 rgba(0, 0, 0, 0.09);
}

@media (max-width: 768px) {
  .submit-btn {
    width: 100%;
    float: none;
    text-align: center;
  }
}

input[type="checkbox"] + label {
  color: #052941;
  /* font-style: italic; */
}

input[type="checkbox"]:checked + label {
  color: #f00;
  font-style: normal;
}
