@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");
* {
  margin: 0px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

p {
  font-size: 16px;
}

.calculator-background {
  background-color: hsl(0, 0%, 100%);
  width: 100%;
  padding: 3vh 5%;
  box-sizing: border-box;
  height: 65vh;
}

header .app-title {
  font-weight: 700;
}
header .clear-all {
  text-decoration: underline;
  color: hsl(200, 26%, 54%);
  font-weight: 500;
  font-size: 16px;
  margin-top: 1vh;
}

.mortgage-variables-container {
  width: 100%;
}
.mortgage-variables-container .description-field {
  color: hsl(200, 26%, 54%);
  margin-bottom: 1vh;
  font-weight: 500;
}
.mortgage-variables-container .description-field:nth-child(1) {
  margin-top: 2vh;
}
.mortgage-variables-container .input-field-container {
  display: flex;
  align-items: center;
  height: 4.8vh;
  width: 100%;
  border: 1px hsl(200, 26%, 54%) solid;
  border-radius: 5px;
  overflow: hidden;
}
.mortgage-variables-container .input-field-container .currency-icon {
  height: 5vh;
  width: 15%;
  background-color: hsl(202, 86%, 94%);
  color: hsl(200, 24%, 40%);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mortgage-variables-container .input-field-container .years-icon {
  height: 5vh;
  width: 30%;
  background-color: hsl(202, 86%, 94%);
  color: hsl(200, 24%, 40%);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mortgage-variables-container .input-field-container .percent-icon {
  height: 5vh;
  width: 20%;
  background-color: hsl(202, 86%, 94%);
  color: hsl(200, 24%, 40%);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mortgage-variables-container .input-field-container .error {
  background-color: hsl(4, 69%, 50%);
  color: hsl(0, 0%, 100%);
}
.mortgage-variables-container .input-field-container .variable-input {
  width: 100%;
  height: 5vh;
  border: none;
  color: hsl(200, 24%, 40%);
  font-size: 16px;
  font-weight: 700;
  padding-left: 5%;
  outline: 0;
}
.mortgage-variables-container .mortgage-type-input {
  display: flex;
  flex-direction: column;
}
.mortgage-variables-container .mortgage-type-input .mortgage-option {
  width: 100%;
  height: 4.8vh;
  border: 1px solid hsl(200, 26%, 54%);
  border-radius: 5px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: hsl(202, 56%, 12%);
  font-weight: 700;
}
.mortgage-variables-container .mortgage-type-input .mortgage-option input[type=radio] {
  appearance: none;
  height: 20px;
  width: 20px;
  border: 2px solid hsl(200, 26%, 54%);
  user-select: none;
  border-radius: 50%;
  margin: 0 5%;
  position: relative;
}
.mortgage-variables-container .mortgage-type-input .mortgage-option input[type=radio]:checked {
  border: hsl(61, 70%, 52%) 2px solid;
}
.mortgage-variables-container .mortgage-type-input .mortgage-option input[type=radio]:checked::before {
  content: "";
  width: 11px;
  height: 11px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: hsl(61, 70%, 52%);
  border-radius: 50%;
}
.mortgage-variables-container .mortgage-type-input .mortgage-option:nth-child(2) {
  margin-top: 1vh;
}
.mortgage-variables-container .mortgage-type-input .active {
  background-color: hsla(61, 70%, 52%, 0.173);
}
.mortgage-variables-container button {
  width: 100%;
  height: 4.8vh;
  background-color: hsl(61, 70%, 52%);
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mortgage-variables-container button img {
  margin-right: 2vw;
}
.mortgage-variables-container .input-error-handling {
  color: transparent;
}
.mortgage-variables-container .radio-input-error-handling {
  color: transparent;
}
.mortgage-variables-container .active {
  color: hsl(4, 69%, 50%);
}

.result-container {
  width: 100%;
  height: 35vh;
}
.result-container .no-data {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: hsl(202, 56%, 12%);
  height: 35vh;
}
.result-container .no-data .no-data-title {
  color: hsl(202, 86%, 94%);
  font-size: 25px;
  font-weight: 700;
}
.result-container .no-data .no-data-explain {
  text-align: center;
  color: hsl(203, 41%, 72%);
  margin: 1vh 0;
}
.result-container .calculate-data {
  display: none;
  height: 35vh;
  width: 100%;
  background-color: hsl(201, 54%, 16%);
  padding: 5%;
  box-sizing: border-box;
  flex-direction: column;
}
.result-container .calculate-data .data-title {
  color: hsl(202, 86%, 94%);
  font-weight: 700;
  font-size: 25px;
}
.result-container .calculate-data .data-explain {
  color: hsl(203, 41%, 72%);
  margin-top: 1vh;
  font-size: 16px;
}
.result-container .calculate-data .calculations-container {
  background-color: hsl(202, 56%, 12%);
  border-top: hsl(61, 70%, 52%) 5px solid;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  height: 16vh;
  margin-top: 2vh;
  box-sizing: border-box;
  padding: 3%;
  color: hsl(203, 41%, 72%);
}
.result-container .calculate-data .calculations-container .monthly-repayments {
  color: hsl(61, 70%, 52%);
  font-size: 30px;
  font-weight: 700;
  margin: 1vh 0;
}
.result-container .calculate-data .calculations-container .line {
  height: 1px;
  width: 100%;
  background-color: hsl(203, 41%, 72%);
}

@media (min-width: 1440px) {
  body {
    display: flex;
    background-color: hsl(202, 86%, 94%);
    padding: 20vh 15%;
    box-sizing: border-box;
    position: relative;
  }
  .calculator-background {
    background-color: hsl(0, 0%, 100%);
    width: 100%;
    padding: 3vh 5%;
    padding-right: 55%;
    box-sizing: border-box;
    height: 60vh;
    border-radius: 20px;
    box-shadow: 0px 0px 100px -61px rgb(0, 0, 0);
  }
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header .app-title {
    font-weight: 700;
  }
  header .clear-all {
    text-decoration: underline;
    color: hsl(200, 26%, 54%);
    font-weight: 500;
    font-size: 16px;
    margin-top: 1vh;
  }
  .mortgage-variables-container {
    width: 100%;
  }
  .mortgage-variables-container .description-field {
    color: hsl(200, 26%, 54%);
    margin-bottom: 1vh;
    font-weight: 500;
  }
  .mortgage-variables-container .description-field:nth-child(1) {
    margin-top: 3vh;
  }
  .mortgage-variables-container .mortgage-intrest-container {
    display: flex;
    justify-content: space-between;
  }
  .mortgage-variables-container .input-field-container {
    display: flex;
    align-items: center;
    height: 4.8vh;
    width: 100%;
    border: 1px hsl(200, 26%, 54%) solid;
    border-radius: 5px;
    overflow: hidden;
  }
  .mortgage-variables-container .input-field-container .currency-icon {
    height: 5vh;
    width: 15%;
    background-color: hsl(202, 86%, 94%);
    color: hsl(200, 24%, 40%);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mortgage-variables-container .input-field-container .years-icon {
    height: 5vh;
    width: 30%;
    background-color: hsl(202, 86%, 94%);
    color: hsl(200, 24%, 40%);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mortgage-variables-container .input-field-container .percent-icon {
    height: 5vh;
    width: 20%;
    background-color: hsl(202, 86%, 94%);
    color: hsl(200, 24%, 40%);
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mortgage-variables-container .input-field-container .error {
    background-color: hsl(4, 69%, 50%);
    color: hsl(0, 0%, 100%);
  }
  .mortgage-variables-container .input-field-container .variable-input {
    width: 100%;
    height: 5vh;
    border: none;
    color: hsl(200, 24%, 40%);
    font-size: 16px;
    font-weight: 700;
    padding-left: 5%;
    outline: 0;
  }
  .mortgage-variables-container .mortgage-type-input {
    display: flex;
    flex-direction: column;
  }
  .mortgage-variables-container .mortgage-type-input .mortgage-option {
    width: 100%;
    height: 4.8vh;
    border: 1px solid hsl(200, 26%, 54%);
    border-radius: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: hsl(202, 56%, 12%);
    font-weight: 700;
  }
  .mortgage-variables-container .mortgage-type-input .mortgage-option input[type=radio] {
    appearance: none;
    height: 20px;
    width: 20px;
    border: 2px solid hsl(200, 26%, 54%);
    user-select: none;
    border-radius: 50%;
    margin: 0 5%;
    position: relative;
  }
  .mortgage-variables-container .mortgage-type-input .mortgage-option input[type=radio]:checked {
    border: hsl(61, 70%, 52%) 2px solid;
  }
  .mortgage-variables-container .mortgage-type-input .mortgage-option input[type=radio]:checked::before {
    content: "";
    width: 11px;
    height: 11px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: hsl(61, 70%, 52%);
    border-radius: 50%;
  }
  .mortgage-variables-container .mortgage-type-input .mortgage-option:nth-child(2) {
    margin-top: 1vh;
  }
  .mortgage-variables-container .mortgage-type-input .active {
    background-color: hsla(61, 70%, 52%, 0.173);
  }
  .mortgage-variables-container button {
    width: 70%;
    height: 4.8vh;
    background-color: hsl(61, 70%, 52%);
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2vh;
  }
  .mortgage-variables-container button img {
    margin-right: 2vw;
  }
  .mortgage-variables-container .input-error-handling {
    color: transparent;
  }
  .mortgage-variables-container .radio-input-error-handling {
    color: transparent;
    margin-top: 1vh;
  }
  .mortgage-variables-container .active {
    color: hsl(4, 69%, 50%);
  }
  .result-container {
    width: 35%;
    height: 60vh;
    position: absolute;
    z-index: 1;
    right: 15%;
  }
  .result-container .no-data {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: hsl(202, 56%, 12%);
    height: 60vh;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
  }
  .result-container .no-data .no-data-title {
    color: hsl(202, 86%, 94%);
    font-size: 25px;
    font-weight: 700;
  }
  .result-container .no-data .no-data-explain {
    text-align: center;
    color: hsl(203, 41%, 72%);
    margin: 1vh 0;
  }
  .result-container .calculate-data {
    display: none;
    height: 60vh;
    width: 100%;
    background-color: hsl(201, 54%, 16%);
    padding: 5%;
    box-sizing: border-box;
    flex-direction: column;
    border-bottom-left-radius: 90px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
  }
  .result-container .calculate-data .data-title {
    color: hsl(202, 86%, 94%);
    font-weight: 700;
    font-size: 25px;
  }
  .result-container .calculate-data .data-explain {
    color: hsl(203, 41%, 72%);
    margin-top: 1vh;
    font-size: 16px;
  }
  .result-container .calculate-data .calculations-container {
    background-color: hsl(202, 56%, 12%);
    border-top: hsl(61, 70%, 52%) 5px solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 31vh;
    margin-top: 4vh;
    box-sizing: border-box;
    padding: 3%;
    padding-top: 3vh;
    color: hsl(203, 41%, 72%);
  }
  .result-container .calculate-data .calculations-container .monthly-repayments {
    color: hsl(61, 70%, 52%);
    font-size: 80px;
    font-weight: 700;
  }
  .result-container .calculate-data .calculations-container .line {
    height: 1px;
    width: 100%;
    margin: 2vh 0;
    margin-bottom: 3vh;
    background-color: hsl(203, 41%, 72%);
  }
  .result-container .calculate-data .calculations-container .yearly-repayments {
    color: hsl(0, 0%, 100%);
    font-size: 35px;
    font-weight: 700;
    margin-top: 1vh;
  }
}

/*# sourceMappingURL=style.css.map */
