:root {
    --primary: #aa0404;
}

html {
  height: 100%;
  background: white;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

body {
    height: calc(100% - 20px);
    margin: 0;
    padding: 0px 10px;

    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
}

html, body {

  overscroll-behavior: none;

}

#item-display {
    flex-grow: 1;
}

.buttons {
    display: grid;
    gap: 5px;
    grid-template-columns: auto auto;
    max-height: 50%;
    overflow-y: scroll;
}

#item-display {
    overflow-y: scroll;
}

button {
    border: 2px solid var(--primary);
    color:  var(--primary);
    border-radius: 5px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background-color: white;
}
  
button:hover {
    background-color: var(--primary);
    color: white;
}

input {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border: 2px solid var(--primary);
    border-radius: 5px;
}

#total {
    font-size: 1.5em;
}

#change {
    font-size: 1.5em;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 10px 0px;
    cursor: pointer;
}
li:hover {
    color: var(--primary);
}

.centerVertically {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}