:root {
  --primary-color: #34d399;
  --secondary-color: #d1fae5;
  --danger-color: #ef4444;
  --success-color: #047857;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-family: "Courier New", Courier, monospace;
  background-color: var(--secondary-color);
}

.header {
  padding: 1rem;
  background-color: var(--primary-color);
  border-bottom-right-radius: 30%;
  margin-bottom: 0rem;
  display: flex;
  align-items: center;
  width: 100%;
}

.header .heading {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: bolder;
  margin-left: 1rem;
}

.main {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  align-items: center;
}

button {
  margin-top: 1rem;
  font-family: inherit;
  text-transform: uppercase;
  font-weight: bolder;
  font-size: 1.3rem;
  padding: 0.4rem 0.8rem;
  background-color: var(--primary-color);
  border: none;
  outline: none;
  border-radius: 1rem;
}

#input-cashGiven {
  display: none;
}

.details-section {
  max-width: 500px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.input-section {
  width: min-content;
}

.input-section input {
  margin: 0.5rem;
  padding: 0.5rem;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: bold;
}

.icon {
  width: 1.2rem;
  cursor: pointer;
}

.icon.delete {
  /* display: none; */
  align-self: flex-start;
  margin-top: 1rem;
}

.icon.cashRegister {
  width: 5rem;
}

.section-output {
  margin-top: 1.3rem;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

.section-output table {
  margin-left: auto;
  margin-right: auto;
}

#btn-calculate {
  display: none;
}

.output-text {
  text-transform: uppercase;
  font-weight: bold;
}

.output-text.success {
  color: var(--success-color);
}

.output-text.danger {
  color: var(--danger-color);
}

.list-item-inline {
  display: inline;
}

.list-non-bullet {
  list-style: none;
}

.link {
  text-decoration: none;
}

.footer {
  background-color: var(--primary-color);
  padding: 2rem 1rem 1rem 1rem;
  text-align: center;
  border-top-left-radius: 30%;
  border-top-right-radius: 30%;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.section-output {
  height: 100%;
  overflow-y: scroll;
}

.section-disclaimer {
  text-align: center;
  padding: 1rem 0rem 0rem 0rem;
  max-width: 600px;
  margin: auto;
}

.section-disclaimer h3 {
  margin-bottom: 0px;
}

.section-disclaimer p {
  margin-top: 5px;
  font-style: italic;
}

.footer ul {
  padding-inline-start: 0px;
}

.footer li {
  padding-top: 1rem;
}

.footer .link {
  color: white;
}

.footer .footer-header {
  font-weight: bold;
  font-size: large;
}

.footer .social-icon {
  width: 1.5rem;
  padding-right: 0.5rem;
  vertical-align: baseline;
}

@media (max-height: 700px) {
  .footer {
    position: unset;
    margin-top: 2rem;
  }
}
