body {
  background-image: url(../images/lgrey008.jpg);
}

:root{
  --grid-template-columns: repeat(1, 1fr);
}
table {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
th {
  background-color: lightgray;
  padding-left: 5px;
  padding-right: 5px;
} 

td {
  text-align: right;
}

@media screen and  (min-width: 225px) {
  :root{
    --grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and  (min-width: 450px) {
  :root{
    --grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and  (min-width: 675px) {
  :root{
    --grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and  (min-width: 900px) {
  :root{
    --grid-template-columns: repeat(4, 1fr);
  }
}

div#cal {
  font-family: monospace;
  display: grid;
  grid-template-columns: var(--grid-template-columns);
  grid-gap: 10px 10px
  justify-items: center;
  left-margin: auto;
  right-margin: auto;
}

div {
  margin-top: 0;
  margin-bottom: 0;
}

h1, h2 {
  margin-top: .25em;
  margin-bottom: .25em;
}

h1, h2, #cal, #controls {
  text-align: center;
}

h2 {
  font-size: 1em;
  font-weight: normal;
}

.error {
  color: #f00000;
}

.today {
  background-color: #ffff00;
}

div#message {
  font-family: monospace;
  font-size: 100%;
  font-weight: bold;
  background-color: #ffff00;
  padding: .5em;
  border: 5px solid black;
  border-radius: 25px;
  z-index: 10;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

thead th {
  background-color: #000000;
  color: #ffffff;
}

div#controls div {
  margin-top: .5em;
}
