@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap");
body {
  font-family: 'Space Mono', monospace !important;
  font-weight: 700;
  font-size: 15px;
  background-color: #c5e4e7;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100vh;
}

.logo-wrapper {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.logo-wrapper img {
  margin: 40px auto;
}

main {
  background-color: white;
  margin: 0;
  padding: 20px 25px;
  border-radius: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width: 992px) {
  main {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
  }
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

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

.input-section {
  color: #5e7a7d;
  padding: 10px;
}

.input-section .message-wrapper {
  margin-top: 25px;
  margin-bottom: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.input-section .message-wrapper p {
  margin: 0;
}

.input-section .message-wrapper .error-message {
  display: none;
  text-align: right;
  color: #e08476;
}

.input-section .tip-buttons-section {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  -ms-grid-rows: (50px)[3];
      grid-template-rows: repeat(3, 50px);
  gap: 15px;
}

@media screen and (min-width: 992px) {
  .input-section .tip-buttons-section {
    -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
    -ms-grid-rows: (50px)[2];
        grid-template-rows: repeat(2, 50px);
  }
}

.input-section .tip-button {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 24px;
  background-color: #00494d;
  color: white;
  border: none;
  border-radius: 5px;
}

.input-section .tip-button:hover {
  background-color: #c5e4e7;
  color: #00494d;
}

.input-section .selected {
  background-color: #26c0ab;
  color: #00494d;
}

.input-section .input-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #e6f2f4;
  padding: 3px 15px;
  border-radius: 5px;
  height: 40px;
}

.input-section .input-wrapper img {
  margin: 0px 5px;
  width: 13px;
}

.input-section .input-wrapper input {
  border: none;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 24px;
  text-align: right;
  background-color: #e6f2f4;
  color: #00494d;
  border-radius: 5px;
  height: 100%;
  width: 90%;
  -webkit-box-flex: 2;
      -ms-flex-positive: 2;
          flex-grow: 2;
  outline: none;
  caret-color: #26c0ab;
}

.input-section .input-wrapper input::-webkit-input-placeholder {
  color: #7f9c9f;
}

.input-section .input-wrapper input:-ms-input-placeholder {
  color: #7f9c9f;
}

.input-section .input-wrapper input::-ms-input-placeholder {
  color: #7f9c9f;
}

.input-section .input-wrapper input::placeholder {
  color: #7f9c9f;
}

.input-section .input-wrapper:focus-within {
  border: 2px solid #26c0ab;
}

.input-section .custom-tip {
  padding: 5px 15px;
}

.input-section .custom-tip input {
  width: 100%;
}

.input-section .custom-tip input::-webkit-input-placeholder {
  color: #5e7a7d;
}

.input-section .custom-tip input:-ms-input-placeholder {
  color: #5e7a7d;
}

.input-section .custom-tip input::-ms-input-placeholder {
  color: #5e7a7d;
}

.input-section .custom-tip input::placeholder {
  color: #5e7a7d;
}

.input-section .input-error {
  border: 2px solid #e08476 !important;
}

@media screen and (min-width: 992px) {
  .input-section {
    padding: 20px;
  }
  .input-section .message-wrapper {
    margin-top: 35px;
    margin-bottom: 5px;
  }
  .input-section .bill .message-wrapper {
    margin-top: 0;
  }
}

.results-section {
  background-color: #00494d;
  margin: 30px 0;
  padding: 30px 20px 20px;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.results-section .amount-section {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  -ms-grid-rows: (1fr)[2];
      grid-template-rows: repeat(2, 1fr);
  margin-bottom: 20px;
}

.results-section .amount-section .title {
  color: white;
  margin: 0px;
}

.results-section .amount-section .subtitle {
  color: #5e7a7d;
  margin: 0px;
  font-size: 14px;
}

.results-section .amount-section .result {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / 3;
  margin: 0px;
  color: #26c0ab;
  font-size: 35px;
  text-align: right;
}

.results-section #reset-button {
  text-transform: uppercase;
  width: 100%;
  background-color: #26c0ab;
  color: #00494d;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  border: none;
  border-radius: 5px;
  padding: 10px 0px;
  margin-top: 10px;
}

.results-section #reset-button:hover {
  background-color: #c5e4e7;
}

@media screen and (min-width: 992px) {
  .results-section {
    padding: 40px;
    margin: 10px;
  }
  .results-section .amount-section p.result {
    font-size: 40px;
  }
}

.attribution {
  font-size: 11px;
  text-align: center;
  color: #00494d;
}

.attribution a {
  color: #26c0ab;
}
/*# sourceMappingURL=style.css.map */