/* BASE CSS */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --primary-color: #00A950;
  --sub-primary-color: #ea5455;
  --white-color: #ffffff;
  --text-color: #383838;
  --header-color: #198754;
  --footer-color: #003C46;
  --border-color: #ced4da;
  --button-color: #ff9800;
  --input-color: #0C4E27;
}

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

html {
  font-family: "Roboto", sans-serif;
  font-size: 62.5%;
}

img {
  display: block;
  width: 100%;
}

body {
  background-image: url("../img/kbank_bg.png");
  background-color: var(--footer-color);
  background-size: cover;
  height: 100vh;
  font-size: 1.6rem;
  line-height: 1.172;
  font-weight: 400;
  color: var(--text-color);
}

button {
  border: none;
  border-radius: 3px;
}

button:hover {
  cursor: pointer;
  opacity: 0.85;
}

input {
  outline: none;
}
input:focus{
  border-color: #EA5455;
}
::placeholder {
  color: var(--text-color);
}

:-ms-input-placeholder {
  color: var(--text-color);
}

::-ms-input-placeholder {
  color: var(--text-color);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.primary {
  color: var(--primary-color);
}

/* END: BASE CSS */

/* CUSTOM STYLE */
.landing-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.landing-head {
  display: flex;
  gap: 50px;
  justify-content: start;
  background-color: var(--white-color);
  padding: 20px 100px;
  position: fixed;
  left: 0;
  right: 0;
  top: 46px;
}

.landing-container--head {
  height: 46px;
  width: 100%;
  background-color: var(--header-color);
}

.landing-head__logo {
  height: 64px;
}

.landing-head__logo img:last-child {
  display: none;
}

.landing-body {
  margin-top: 104px;
  display: flex;
  gap: 98px;
  justify-content: center;
}

.landing-body__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 700;
  width: 942px;
  height: 204px;
}

.landing-body__text h1 {
  font-size: 96px;
  color: var(--white-color);

  position: relative;
}

.landing-body__text h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background-color: var(--white-color);
  width: 100%;
}

.landing-body__text h2 {
  font-size: 61px;
  color: var(--white-color);
}

.landing-body__text h3 {
  font-size: 61px;
  color: var(--primary-color)
}

.landing-body__inner {
  max-width: 460px;
  width: 100%;
  background-color: var(--white-color);
  border-radius: 16px;
  padding: 40px 39px;
  border-top: 8px solid var(--primary-color);
}

.landing-heading {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.landing-heading span {
  color: var(--primary-color);

}
.landing-subheading {
  font-size: 1.4rem;
  line-height: 16.41px;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 400;
}

#form {
  max-width: 356px;
  width: 100%;
  margin: 0 auto;
}

.form-group {
  width: 100%;
  margin-bottom: 24px;
  position: relative;
}

.form-group:last-child {
  margin-top: 28px;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 8px 10px;
  color: var(--input-color);
  font-size: 1.4rem;
  line-height: 1.5;
  width: 100%;
  height: 46px;
}

.btn-submit {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 13px;
  width: 100%;
  font-weight: 500;
  text-transform: uppercase;
}

.error-message {
  color: var(--sub-primary-color);
  padding-left: 16px;
  font-size: 1.4rem;
  line-height: 21px;
  position: absolute;
  top: 100%;
}

.landing-foot {
  padding: 16px;
  text-align: center;
  color: var(--white-color);
  background-color: var(--footer-color);
}

/* END: CUSTOM STYLE */

/* DOWNLOAD APP PAGE */
.introduce-box {
  background: rgba(234, 84, 85, 0.12);
  padding: 8px;
  text-align: center;
  color: var(--sub-primary-color);
  border-radius: 3px;
}

.introduce-box__message {
  font-size: 1.4rem;
  line-height: 21px;
  margin-bottom: 8px;
}

.introduce-box__message span:first-child {
  font-weight: 700;
}

.introduce-box__code {
  position: relative;
}

.introduce-code {
  padding: 8px 15px;
  font-weight: 700;
  color: var(--input-color);
  text-align: center;
}

.copy-btn {
  padding: 4px 7px;
  color: var(--white-color);
  background-color: var(--primary-color);
  border-radius: 3px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.apps-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apps-list__item {}

.mobile-break {
  display: none;
}

.wrap-mobile {
  display: none;
}


/* END: DOWNLOAD APP PAGE */

/* RESPONSIVE MOBILE */
@media screen and (max-width: 39.75em) {
  body {
    position: relative;
  }

  .landing-container {
    padding: 0;
    gap: 0;
  }

  .landing-container--head {
    display: none;
  }

  .landing-head {
    position: relative;
    height: 18%;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    align-items: center;
    background-color: transparent;
  }

  .landing-heading {
    font-size: 2.4rem;
    line-height: 2.813rem;
  }

  .landing-subheading {
    max-width: 240px;
    width: 100%;
    margin: 0 auto 24px;
  }

  .landing-head__logo {
    width: 135px;
    height: fit-content;
  }

  .landing-head__logo img:first-child {
    display: none;
  }

  .landing-head__logo img:last-child {
    display: block;
  }

  .landing-body {
    height: 82%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .landing-body__text {
    display: none;
  }

  .landing-body__inner {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: 100%;
    padding: 40px 26.5px 0;
  }

  .landing-foot {
    display: none;
  }

  .wrap-mobile {
    display: unset;
  }

  .form-control {
    height: 46px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .form-group:last-child {
    margin-bottom: 28px;
  }

  /* DOWNLOAD PAGE */
  .apps-list {
    align-items: center;
  }

  .apps-list__item {
    width: 180px;
  }

  .mobile-break {
    display: unset;
  }

  .break-desk {
    display: none;
  }

  /* END: DOWNLOAD PAGE */
}

/* END: RESPONSIVE MOBILE */
