/* Copied from WIX Source Code */
:root {
  --font_0: normal normal normal 88px/1.2em poppins-semibold, poppins,
    sans-serif;
  --font_1: normal normal normal 14px/1.79em avenir-lt-w01_35-light1475496,
    avenir-lt-w05_35-light, sans-serif;
  --font_2: normal normal normal 37px/1.25em poppins-semibold, poppins,
    sans-serif;
  --font_3: normal normal normal 50px/1.34em poppins-semibold, poppins,
    sans-serif;
  --font_4: normal normal normal 40px/1.35em poppins-semibold, poppins,
    sans-serif;
  --font_5: normal normal normal 28px/1.375em poppins-semibold, poppins,
    sans-serif;
  --font_6: normal normal normal 22px/1.41em poppins-semibold, poppins,
    sans-serif;
  --font_7: normal normal normal 20px/1.67em questrial, sans-serif;
  --font_8: normal normal normal 15px/1.75em questrial, sans-serif;
  --font_9: normal normal normal 13px/1.875em questrial, sans-serif;
  --font_10: normal normal normal 14px/1.79em avenir-lt-w01_35-light1475496,
    avenir-lt-w05_35-light, sans-serif;
}

body {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
}

.layout {
  display: grid;
  grid-template-rows: 8vh auto 5vh 5vh;
}

/****************************** NAVBAR *******************************/
.navbar {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.navbar-inner {
  display: flex;
  width: 70%;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.navbar-inner img {
  height: 100%;
  width: auto;
}
.navbar-text {
  font: var(--font_8);
  font-style: italic;

  font-size: 16px;
  color: #688344;
}
.navbar-text svg {
  width: 27.15px;
  height: 27px;
  margin: 0px 24px;
}

/****************************** MAIN *******************************/
.main {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../Assets/background.webp");
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  flex-wrap: wrap;

  min-height: 82vh;
  justify-content: space-evenly;
  padding: 24px 0;
}
.main > div {
  color: white;
  width: 30%;
}

/****************************** LEFT *******************************/
.left-title {
  font: var(--font_2);
  font-size: 34px;
  font-style: italic;
  font-weight: 600;
  padding: 12px 0px;
  line-height: 1.2em;
  max-width: 480px;
  text-align: center;
}
.left-description {
  font: var(--font_8);
  line-height: 1.8rem;
  font-size: 18px;
  letter-spacing: 0em;
  font-weight: bold;
  max-width: 480px;
  text-align: center;
}
.left-green-title {
  color: #036096;
  font: var(--font_2);
  font-size: 24px;
  padding-top: 36px;
  padding-bottom: 12px;
  line-height: 1.4rem;
  letter-spacing: 0px;
  font-weight: 800;
  text-align: center;
}
.left-how-it-works {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: var(--font_8);
  font-size: 15px;
  text-align: center;
}
/****************************** RIGHT *******************************/
.right-title {
  font: var(--font_8);
  font-weight: bold;
  color: #9cc566;
  font-size: 15px;
  padding: 18px 24px 0px 24px;
}
.right-desc {
  font: var(--font_8);
  font-size: 15px;
  padding: 0px 24px;
  letter-spacing: 0px;

  width: 90%;
}

/****************************** PARTNERS *******************************/
.partners {
  background: linear-gradient(
      rgba(104, 131, 68, 0.95),
      rgba(104, 131, 68, 0.95)
    ),
    url("../Assets/footer-background.webp");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-inner {
  display: flex;
  align-items: center;
  width: 60%;
  height: 70%;
  justify-content: center;
  gap: 69px;
}
.partners-inner img {
  height: 100%;
  width: auto;
  cursor: pointer;
}
.partners-inner svg {
  cursor: pointer;
  height: 100%;
  width: auto;
}
.partners-inner span:nth-child(1) {
  font: var(--font_8);
  color: #ffffff;
  font-size: 19px;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
}

/****************************** FOOTER *******************************/
.footer {
  background: rgb(36, 35, 35);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.footer-copy {
  color: white;
}

.footer-insta {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.footer-insta img {
  height: 30px;
  width: auto;
}
.footer-insta button {
  display: flex;
  align-items: center;
  justify-items: center;
  padding: 0;
  margin: 0;
  font-family: questrial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0px 4px 0px 0px;
  letter-spacing: 0.1em;
  gap: 8px;
  background: #036096;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  padding: 8px;
  white-space: nowrap;
  text-align: center;
  transition: background 0.25s ease;
}
.footer-insta button:hover {
  background: #033d64;
}

.footer-insta svg {
  width: 10px;
  fill: white;
}
.footer-privacy a {
  color: white;
  text-decoration: none;
}
.footer-privacy a:hover {
  text-decoration: underline;
}
.footer-copy {
  font: var(--font_9);
  font-size: 13px;
  letter-spacing: 0em;
}
.footer-privacy {
  font-family: questrial, sans-serif;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

/****************************** FORM *******************************/
.form {
  background-color: rgba(0, 0, 0, 0.75);
  border-top: 4px solid #033d64;
  color: #ffffff;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  padding: 24px 16px;
  /* font-family: questrial, sans-serif; */
  font: var(--font_6);
  max-width: 408px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form h3 {
  font-size: 28px;
  text-align: center;
  font-style: italic;
  line-height: 38px;
  font-weight: 600;
  margin: 0;
}

/****************************** CALCULATOR *******************************/

.calculator {
  /* width: 50%; */
  max-width: 374px;
  background-color: rgba(0, 0, 0, 0.75);
  border-top: 4px solid #9cc566;
  color: #ffffff;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  padding: 24px 16px;
  padding-top: 24px;
  font-family: questrial, sans-serif;
  display: flex;
  flex-direction: column;
}

.calc-ans {
  margin: 20px;
  margin-bottom: 0px;
  padding: 14px;
  font-size: 24px;
  min-height: 25px;
  background-color: white;
  color: black;
}
.calc-ans span {
  font-size: 18px;
}

.input-container {
  position: relative;
  margin: 20px;
}

.input-container input {
  appearance: textfield;
  -moz-appearance: textfield;

  width: 100%;
  padding: 14px;
  padding-bottom: 4px;
  font-size: 14px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  color: white;
  transition: 0.2s ease all;
  outline: none;
}

.input-container label {
  position: absolute;
  top: 14px;
  left: 8px;
  pointer-events: none;
  transition: 0.2s ease all;
  font-size: 14px;
}
#credit > .input-container input {
  padding: 18px;
  padding-top: 28px;
  padding-bottom: 4px;
}

#credit > .input-container label {
  top: 20px;
  font-size: 14px;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 10px;
  color: #9cc566;
}

#credit > .input-container input:focus + label,
#credit > .input-container input:not(:placeholder-shown) + label {
  top: 2px;
  font-size: 12px;
}

.input-container span {
  position: absolute;
  left: 0px;
  top: 16px;
  font-size: 12px;
  opacity: 0;
  transition: 0.3s ease all;
  color: white;
}

.input-container input:focus,
.input-container input:not(:placeholder-shown) {
  border-bottom: 2px solid #1691d7;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.select-container {
  position: relative;
  margin: 20px;
}

.select-container select {
  width: 100%;
  padding: 14px;
  padding-left: 4px;
  padding-bottom: 4px;
  font-size: 14px !important;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #ccc;
  color: white;
  transition: 0.2s ease all;
  outline: none;
  font: var(--font_6);

  appearance: none;
  -webkit-appearance: none;
}

.select-container label {
  position: absolute;
  top: 14px;
  left: 8px;
  pointer-events: none;
  transition: 0.2s ease all;
  font-size: 14px;
}

.select-container select:focus {
  border-bottom: 2px solid #1691d7;
}

option {
  background-color: transparent;
}
option {
  color: #739842;
}
option:disabled {
  color: #ccc;
}

.bcmc {
  font-size: 18px;
  width: 100%;
  text-align: center;
  padding-top: 12px;
}

/****************************** VALIDATOR *******************************/

.input-container input.invalid:focus,
.input-container input.invalid:not(:placeholder-shown) {
  border-bottom: 2px solid red;
}

#credit > .input-container input.invalid:focus + label,
#credit > .input-container input.invalid:not(:placeholder-shown) + label {
  color: red;
}

.container {
  display: flex;
  justify-content: center;
}
.submit-btn {
  font: var(--font_5);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0em;
  color: white;
  background-color: #036096;
  border: none;
  border-radius: 4px;
  transition: 0.2s ease all;
  cursor: pointer;
  padding: 14px;
  width: 80%;
}
.submit-btn:hover {
  background-color: #033d64;
}

.small {
  font: var(--font_6);
  letter-spacing: 0em;
  font-size: 10px;
  text-align: center;
  margin-top: 8px;
}

.calc-input {
  position: relative;
  margin: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-input input {
  border: none;
  border-radius: 4px;
  font-size: 13px;
  padding: 11px 14px;
  width: 88%;
  outline: none;
}

.calc-input span {
  position: absolute;
  top: 12px;
  font-size: 12px;
  opacity: 0;
  left: 22px;
  color: #000;
  transition: 0.2s ease all;
}

.calc-input input:hover {
  border: 1px solid #9cc566;
  padding: 10px 13px;
}

.calc-input input:focus + span,
.calc-input input:not(:placeholder-shown) + span {
  opacity: 1;
}

.calc-input select {
  appearance: none;
  -webkit-appearance: none;

  color: #739842;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  padding: 11px 14px;
  width: 88%;
  outline: none;
}
.calc-input select:hover {
  border: 1px solid #9cc566;
  padding: 10px 13px;
}

input.invalid,
select.invalid {
  background-color: #642424;
  border: 1px solid red;
  padding: 10px 13px;
  color: white;
}
input.invalid:hover,
select.invalid:hover {
  border: 1px solid red;
}

input.invalid + label {
  color: red;
}

.caret {
  position: absolute;
  top: 4px;
  right: 24px;
  pointer-events: none;
  fill: #9cc566;
}
select.invalid + .caret {
  fill: red;
}

.small > .gap {
  height: 12px;
}
.green {
  color: #1691d7;
  font-size: 12px;
}

.pointer {
  cursor: pointer;
}

/* v2.0 */
.new_select .caret {
  top: 55%;
  transform: translateY(-50%);
}

.navbar-image {
  max-width: 256px;
  height: auto !important;
}
