@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap');
:root {
  --dark-green: #064e3b;
  --light-green: #a7f3d0;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Ubuntu', sans-serif;
  color: white;
}
section .cash-given {
  display: none;
}
body {
  height: 100vh;
  width: 100vw;
}
section {
  background-color: var(--dark-green);
  width: 50%;
  /* max-width: 90%; */
  margin: auto;
  text-align: center;
}
section input {
  width: 60%;
  height: 2rem;
  color: black;
}
section h1 {
  color: var(--light-green);
  padding: 1rem;
}
section button {
  width: 20%;
  height: 2.5rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: var(--light-green);
  color: black;
}
.output {
  padding-top: 2rem;
  display: none;
}
.output td,
th {
  border: 1px solid black;
}
.output th,
td.notes {
  background-color: var(--light-green);
  color: var(--dark-green);
}
.output .numOfNotes {
  background-color: white;
  color: var(--dark-green);
}
.output table {
  border: 1px solid black;
  width: 100%;
  table-layout: fixed;
}

/* links */
.link {
  text-decoration: none;
  padding: 0.5rem 1rem;
  /* background-color: azure; */
  /* margin-bottom: 0.2rem; */
  display: inline-block;
  color: black;
}
.primary-link {
  background-color: var(--primary-color);
  border-radius: 0.5rem;
  color: white;
}
.secondary-link {
  /* color: red; */
  border-radius: 0.5rem;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}
/* list */
.list-non-bullet {
  list-style: none;
  padding: 0;
  margin-block-start: 1em;
  margin-block-end: 1em;
}
.list-item-inline {
  display: inline;
  padding: 0 0.5rem;
}

/* footer */
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--primary-color);
  padding: 2rem 1rem;
  text-align: center;
  color: white;
  text-align: center;
  border-top-right-radius: 1rem;
}
.footer-header {
  color: black;
}
.footer .links {
  color: white;
}
.footer ul {
  padding: 0;
}

@media only screen and (max-width: 700px) {
  section {
    width: 80%;
    margin: auto;
  }
}
