* input:focus,
* select:focus,
* textarea:focus,
* button:focus {
  outline: none;
}
html,
body {
  width: 100%;
  height: 100%;
  background-color: lightgray;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  font-family: "Lato", sans-serif;
  margin-top: 30px;
}
@media only screen and (max-width: 600px) {
  html > section,
  body > section {
    max-width: 90%;
    box-sizing: border-box;
    max-height: 95%;
  }
  html > section > #list-section #headings h3,
  body > section > #list-section #headings h3 {
    font-size: 12px !important;
  }
  html > section > #list-section ul,
  body > section > #list-section ul {
    margin-top: 0 !important;
  }
  html > section > #total-paid,
  body > section > #total-paid {
    top: 100px !important;
    right: 50% !important;
    left: 10% !important;
    width: 240px !important;
  }
  html > section > #title-section,
  body > section > #title-section {
    text-align: center;
  }
  html > section > #title-section h2,
  body > section > #title-section h2 {
    font-size: 15px;
  }
  html > section > #input,
  body > section > #input {
    flex-direction: column;
  }
  html > section > #input .input-area input,
  body > section > #input .input-area input {
    max-width: 100% !important;
    margin-bottom: 10px;
  }
}
html > section,
body > section {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}
html > section > #total-paid,
body > section > #total-paid {
  position: absolute;
  background-color: crimson;
  color: white;
  top: -10px;
  right: -100px;
  font-weight: bold;
  padding: 10px;
  transform: rotate(30deg) scale(1);
  font-size: 30px;
  animation: slidein 1s;
}
@keyframes slidein {
  0% {
    transform: rotate(-360deg) scale(0);
  }
  75% {
    transform: rotate(30deg) scale(1.3);
  }
  100% {
    transform: rotate(30deg) scale(1);
  }
}
html > section > #calc,
body > section > #calc {
  width: 100%;
  margin-top: 10px;
  background-color: limegreen;
  border: none;
  padding: 5px;
  border-radius: 3px;
  font-family: inherit;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 2px;
  transition-duration: 0.2s;
}
html > section > #calc:active,
body > section > #calc:active {
  transform: scale(0.98) translateY(2px);
}
html > section > #title-section h1,
body > section > #title-section h1,
html > section > #title-section h2,
body > section > #title-section h2 {
  margin: 0;
}
html > section > #title-section h1,
body > section > #title-section h1 {
  font-size: 32px;
}
html > section > #list-section span#headings,
body > section > #list-section span#headings {
  display: flex;
  justify-content: space-between;
  height: 0;
  overflow: hidden;
}
html > section > #list-section span#headings h3,
body > section > #list-section span#headings h3 {
  font-weight: bold;
  font-size: 15px;
  margin: 10px 0 0 0;
  color: coral;
}
html > section > #list-section ul,
body > section > #list-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  box-sizing: border-box;
  overflow-y: scroll;
  transition-duration: 0.3s;
}
html > section > #list-section ul li,
body > section > #list-section ul li {
  padding: 10px;
  background-color: coral;
  margin: 5px 0;
  display: flex;
  justify-content: space-between;
}
html > section > #list-section ul li h3,
body > section > #list-section ul li h3 {
  font-size: 12px;
  color: #fff;
  margin: 0;
}
html > section > #input,
body > section > #input {
  display: flex;
  font-weight: bold;
  margin-top: 10px;
  justify-content: space-between;
}
html > section > #input .input-area,
body > section > #input .input-area {
  display: flex;
  flex-direction: column;
}
html > section > #input .input-area input,
body > section > #input .input-area input {
  max-width: 100px;
  margin-top: 5px;
  border: none;
  background-color: whitesmoke;
  padding: 5px;
}
html > section > #input .input-area input::-webkit-outer-spin-button,
body > section > #input .input-area input::-webkit-outer-spin-button,
html > section > #input .input-area input::-webkit-inner-spin-button,
body > section > #input .input-area input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#article {
  padding: 5% 10% 0;
}

#article h3 {
  text-align: left;
}

