body {
  background-image: linear-gradient(
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.4)
      ),
      url(images/background.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: aliceblue;
  font-size: x-large;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
}

h2{
  margin-top: -8px;
}

main {
  max-width: 650px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
}

.user {
  height: 200px;
  width: 300px;
  margin: auto;
  margin-bottom: 20px;
  border-radius: 20px;
  padding: 10px;
  background-color: rgb(79, 113, 143);
  overflow: auto;
}

.users {
  padding: 0 14px;
}

.calc{
  height: 200px;
  width: 300px;
  margin: auto;
  margin-bottom: 20px;
  border-radius: 20px;
  padding: 10px;
  background-color: rgb(79, 143, 126);
  overflow: auto;
}

input{
  font-size: 18px;
  height: 30px;
  width: 60px;
}

#pay{
  font-size: 18px;
  height: 30px;
  width: 100px;
}

#payButton{
  width: 107px;
}

button{
  font-size: 18px;
  height: 36px;
  width: 60px;
}

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

#history {
  display: flex;
  justify-content: center;
  max-width: 99%;
  overflow-x: auto;
}

table {
  width: 98%;
  border-collapse: collapse;
  background-color: rgb(57, 56, 54);
}

th, td {
  border: 2px solid;
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}

@media only screen and (max-width: 600px) {
  th, td {
    padding: 5px;
    font-size: 12px;
  }
}

#reCalc{
  background-color: cadetblue;
}