@font-face {
  font-family: "Space Mono";
  src: url(../assets/font/SpaceMono-Bold.ttf);
}
label {
  font-family: "Space Mono";
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: #5E7A7D;
}

.num-input {
  border: none;
  border-radius: 0.5rem;
  direction: rtl;
  font-family: "Space Mono";
  font-size: 2.4rem;
  line-height: 3.6rem;
  letter-spacing: 0;
  color: #00474B;
  background-repeat: no-repeat;
  background-position: 1.85rem;
  background-color: #F3F9FA;
}
.num-input::-webkit-outer-spin-button, .num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  margin: 0;
}
#custom .num-input {
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  padding: 0;
}
.num-input.bill-amount {
  background-image: url("../assets/images/icon-dollar.svg");
}
.num-input.people-count {
  background-image: url("../assets/images/icon-person.svg");
}
.num-input:focus, .num-input:focus-visible {
  outline: 2px solid #26C2AE;
}
.num-input::placeholder {
  color: #9EBBBD;
}
.num-input.error {
  outline: 2px solid #E17052;
}

.people-container {
  position: relative;
}

.people-error {
  position: absolute;
  top: 0;
  right: 0;
  color: #E17052;
  font-family: "Space Mono";
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: 0;
}

.content__results-container {
  border-radius: 1.5rem;
  background-color: #00474B;
}

.result-name {
  font-family: "Space Mono";
  font-size: 1.6rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: #FFFFFF;
}

.result-descr {
  font-family: "Space Mono";
  font-size: 1.3rem;
  line-height: 1.9rem;
  letter-spacing: 0;
  color: #7F9D9F;
}

.result-sum {
  font-family: "Space Mono";
  font-size: 4.8rem;
  line-height: 7.1rem;
  letter-spacing: -0.1rem;
  color: #26C2AE;
}
@media screen and (max-width: 450px) {
  .result-sum {
    font-family: "Space Mono";
    font-size: 3.2rem;
    line-height: 3.6rem;
    letter-spacing: 0;
  }
}

.btn {
  width: 100%;
  height: 4.8rem;
  border: none;
  border-radius: 0.5rem;
}
.btn.radio-input {
  appearance: none;
  position: relative;
  background-color: #00474B;
  padding: 0.8rem 1.6rem;
  color: #FFFFFF;
}
.btn.custom-btn {
  background-color: #F3F9FA;
  color: #547878;
  font-family: "Space Mono";
  font-size: 2.4rem;
  line-height: 3.6rem;
  letter-spacing: 0;
}
.btn.custom-btn + .radio-label {
  color: #547878;
}
.btn.reset-btn {
  background-color: #26C2AE;
  color: #00474B;
  font-family: "Space Mono";
  font-size: 2rem;
  line-height: 3rem;
  letter-spacing: 0;
  text-transform: uppercase;
}
@media screen and (min-width: 1024px) {
  .btn:not(.custom-btn):not(.btn[disabled=disabled]):hover {
    color: #00474B;
    background-color: #9FE8DF;
  }
  .btn:not(.custom-btn):not(.btn[disabled=disabled]):hover + .radio-label {
    color: #00474B;
  }
}
.btn:disabled {
  color: #085C61;
  background-color: #0D686D;
}

.radio {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.radio-label {
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #FFFFFF;
  font-family: "Space Mono";
  font-size: 2.4rem;
  line-height: 3.6rem;
  letter-spacing: 0;
}

.radio-input:checked {
  background-color: #26C2AE;
}
.radio-input:checked + .radio-label {
  color: #00474B;
}

#custom {
  position: relative;
}

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

html {
  font-size: 62.5%;
}

body {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #C5E4E7;
}

.page-container {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 4.1rem 0;
  padding-top: 5rem;
}
@media screen and (min-width: 1024px) {
  .page-container {
    padding-top: clamp(0rem, 16vh, 30rem);
    gap: 8.8rem 0;
  }
}
@media screen and (min-height: 1025px) and (max-width: 1023px) {
  .page-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.main__container {
  background-color: #FFFFFF;
  box-shadow: 0 3.2rem 4.3rem rgba(79, 166, 175, 0.2007);
  border-radius: 2.5rem;
}
@media screen and (max-width: 450px) {
  .main__container {
    width: 100%;
    height: 100%;
    border-radius: 2.5rem 2.5rem 0 0;
    padding: 3.2rem 2.4rem;
  }
}
@media screen and (min-width: 450px) and (max-width: 1024px) {
  .main__container {
    width: clamp(439px, 79.17vw, 900px);
    padding: 4.8rem clamp(4rem, 5vw, 8rem);
  }
}
@media screen and (min-width: 1024px) {
  .main__container {
    width: clamp(810px, 63.89vw, 1500px);
    padding: 3.2rem 4rem;
  }
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width: 450px) {
  .content {
    gap: 3.2rem 0;
  }
}
@media screen and (min-width: 450px) and (max-width: 1024px) {
  .content {
    gap: 4rem 0;
  }
}
@media screen and (min-width: 1024px) {
  .content {
    gap: 4.8rem 4.8rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
}
@media screen and (min-width: 1024px) and (orientation: portrait) {
  .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
}

.content__bill-container {
  width: 100%;
}
@media screen and (max-width: 450px) {
  .content__bill-container {
    width: 95.2%;
  }
}

.content__results-container {
  width: 100%;
  min-height: 25.7rem;
  max-height: 42rem;
  padding: 4.2rem 4.7rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 450px) {
  .content__results-container {
    padding: 2.4rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
@media screen and (max-width: 450px) {
  .form {
    gap: 3.2rem 0;
  }
}
@media screen and (min-width: 450px) and (max-width: 1024px) {
  .form {
    gap: 2.4rem 0;
  }
}
@media screen and (min-width: 1024px) {
  .form {
    gap: 4rem 0;
  }
}

.bill-container,
.people-container,
.percent-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.8rem;
}

.num-input {
  width: 100%;
  height: 4.8rem;
  padding: 0.8rem 1.6rem 0.8rem 4rem;
}

.percent-btn-container {
  width: 100%;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 450px) {
  .percent-btn-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.result-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
@media screen and (max-width: 450px) {
  .result-content {
    gap: 3.2rem 0;
  }
}
@media screen and (min-width: 450px) and (max-width: 1024px) {
  .result-content {
    gap: 1.6rem 0;
  }
}
@media screen and (min-width: 1024px) {
  .result-content {
    gap: 12.8rem 0;
  }
}
@media screen and (min-width: 1024px) and (orientation: portrait) {
  .result-content {
    gap: 6rem 0;
  }
}

.result-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2.4rem 0;
}
@media screen and (min-width: 450px) and (max-width: 1024px) {
  .result-details {
    gap: 0.8rem 0;
  }
}

.tips,
.total {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.hidden {
  display: none;
}

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