:root {
  box-sizing: border-box;
  font-family: "Space Mono", monospace;
  font-weight: 700;
}

*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

body {
  background-color: #c5e4e7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
}

button, input {
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  border: none;
  border-radius: 0.25rem;
  width: 100%;
  outline: none;
}

input {
  background-color: #f4fafa;
  color: #00494d;
  text-align: right;
  font-size: 1.5rem;
  padding: 0.375rem 0.6785rem;
}
input:focus, input:hover {
  box-shadow: inset 0 0 0 0.125rem #5aaaa1;
}

.sr-only {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.logo {
  margin: 3.125rem 1.5rem 1.5rem;
}
@media (min-width: 56.25em) {
  .logo {
    margin-bottom: 5rem;
  }
}

.main-cont {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: white;
  color: #00494d;
  box-shadow: 0 1.5rem 2rem 0 #00000030;
  transition: all ease-out 200ms;
}
@media (min-width: 37.5em) {
  .main-cont {
    min-width: 35rem;
    max-width: -webkit-min-content;
    max-width: -moz-min-content;
    max-width: min-content;
  }
}
@media (min-width: 56.25em) {
  .main-cont {
    margin-bottom: 7.8125rem;
    width: unset;
    min-width: 57.5rem;
    max-width: -webkit-min-content;
    max-width: -moz-min-content;
    max-width: min-content;
    display: flex;
    gap: 1.875rem;
    gap: 48px;
  }
}
.main-cont .data-entry {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 56.25em) {
  .main-cont .data-entry {
    margin: 0;
    padding: 0.875rem 0 1rem 1rem;
    width: 100%;
    gap: 2.5rem;
  }
}
.main-cont .dashboard {
  margin: 0 -0.5rem;
  padding: 2.3125rem 1.5rem 1.5rem;
  background-color: #00494d;
  border-radius: 1rem;
}
@media (min-width: 56.25em) {
  .main-cont .dashboard {
    margin: 0;
    margin-left: 1.125rem;
    padding: 2.4375rem 2.4375rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.main-cont.simple-anim {
  position: relative;
  overflow: hidden;
}
.main-cont.simple-anim::before {
  content: "";
  background: white;
  opacity: 0.2;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -150%;
  width: 80vw;
  transform: skew(30deg);
  -webkit-animation: shine 1.2s;
  animation: shine 1.2s;
  -webkit-animation-delay: 500ms;
  animation-delay: 500ms;
  pointer-events: none;
}
@media (min-width: 37.5em) {
  .main-cont.simple-anim::before {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
  }
}
@media (min-width: 56.25em) {
  .main-cont.simple-anim::before {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
  }
}
@-webkit-keyframes shine {
  60% {
    left: 150%;
  }
}
@keyframes shine {
  60% {
    left: 150%;
  }
}

.data-entry .de-seg__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}
.data-entry .de-seg .divisor, .data-entry .de-seg .bill {
  padding-left: 2.875rem;
}
.data-entry .de-seg .error-msg {
  color: #b3675b;
}
.data-entry .de-seg.de-bill, .data-entry .de-seg.de-divisor {
  position: relative;
}
.data-entry .de-seg.de-bill::before, .data-entry .de-seg.de-divisor::before {
  position: absolute;
  left: 1.1875rem;
  bottom: 0.5625rem;
  pointer-events: none;
}
.data-entry .de-seg.de-bill::before {
  content: url("images/icon-dollar.svg");
}
.data-entry .de-seg.de-divisor::before {
  content: url("images/icon-person.svg");
}
.data-entry .de-seg .divisor.error {
  box-shadow: inset 0 0 0 0.125rem #b3675b;
}

.rates-cont {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 0.625rem;
}
@media (min-width: 37.5em) {
  .rates-cont {
    grid-template-columns: repeat(3, 1fr);
  }
}
.rates-cont .tip-rate.rate-btn {
  padding: 0.375rem;
  font-size: 1.5rem;
  background-color: #00494d;
  color: white;
}
.rates-cont .tip-rate.rate-btn.chosen, .rates-cont .tip-rate.rate-btn:focus, .rates-cont .tip-rate.rate-btn:hover {
  background-color: #26c0ab;
  color: #00494d;
}
.rates-cont .tip-rate.rate-input::-webkit-input-placeholder {
  text-align: center;
}
.rates-cont .tip-rate.rate-input::-moz-placeholder {
  text-align: center;
}
.rates-cont .tip-rate.rate-input:-ms-input-placeholder {
  text-align: center;
}
.rates-cont .tip-rate.rate-input::-ms-input-placeholder {
  text-align: center;
}
.rates-cont .tip-rate.rate-input::placeholder {
  text-align: center;
}
.rates-cont .tip-rate.rate-input.chosen {
  box-shadow: inset 0 0 0 0.125rem #26c0ab;
}

.dashboard .dash-seg {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.3125rem;
}
.dashboard .dash-seg:last-of-type {
  margin-bottom: 2.0625rem;
}
.dashboard .dash-seg__label {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin-right: 1rem;
  font-size: 1rem;
  color: #f4fafa;
}
.dashboard .dash-seg__label * {
  display: block;
}
.dashboard .dash-seg__label .pp {
  font-size: 0.875em;
  color: #7f9c9f;
  letter-spacing: -0.05em;
}
.dashboard .dash-seg.stacked {
  display: block;
}
.dashboard .dash-seg.stacked * {
  display: block;
}
.dashboard .dash-seg.stacked > :last-child {
  text-align: right;
}
.dashboard .dash-seg .tip-per-person, .dashboard .dash-seg .total-per-person {
  color: #26c0ab;
  letter-spacing: -0.05em;
  transform-origin: 100% 50%;
}
.dashboard .dash-seg .tip-per-person.norm-font, .dashboard .dash-seg .total-per-person.norm-font {
  font-size: 2rem;
  -webkit-animation: pop-font-norm 500ms;
  animation: pop-font-norm 500ms;
}
@media (min-width: 37.5em) {
  .dashboard .dash-seg .tip-per-person.norm-font, .dashboard .dash-seg .total-per-person.norm-font {
    font-size: 3.125rem;
  }
}
.dashboard .dash-seg .tip-per-person.min-font, .dashboard .dash-seg .total-per-person.min-font {
  font-size: 1.5rem;
  -webkit-animation: pop-font-min 500ms;
  animation: pop-font-min 500ms;
}
@media (min-width: 37.5em) {
  .dashboard .dash-seg .tip-per-person.min-font, .dashboard .dash-seg .total-per-person.min-font {
    font-size: 2rem;
  }
}
@-webkit-keyframes pop-font-norm {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pop-font-norm {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes pop-font-min {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pop-font-min {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.reset {
  padding: 0.625rem 0.5rem 0.5rem;
  position: relative;
  background-color: white;
  font-size: 1.25rem;
  text-transform: uppercase;
  cursor: auto;
}
.reset::before {
  content: "";
  position: absolute;
  background-color: #00494d;
  opacity: 0.9;
  -webkit-filter: saturate(2);
  filter: saturate(2);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  border-radius: inherit;
}
@media (min-width: 56.25em) {
  .reset {
    margin-top: auto;
  }
}
.reset.active {
  background-color: #26c0ab;
  cursor: pointer;
}
.reset.active::before {
  all: unset;
}
.reset.active:hover, .reset.active:focus {
  opacity: 1;
  background-color: #c5e4e7;
}

.attribution {
  font-size: 0.6878rem;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.attribution a {
  color: #3e52a3;
}

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