body {
  background-color: #9fc4e9;
  background-size: cover;
}

/* -table formatting-*/
/* #region */
table{
  border: 1px solid black;
  border-radius: 0.5em;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  font-size: 0.95rem;
}

#comingEvents table tbody tr th:first-child {
    border-right: 1px solid black;
}

#comingEvents table tbody tr:first-child th,
#comingEvents table tbody tr:first-child td {
  background-color: #ffffff4a;
}

#comingEvents table tbody tr:first-child th:first-child {
  border-top-left-radius: 0.5em;
}

#comingEvents table tbody tr:first-child td:last-child {
  border-top-right-radius: 0.5em;
}

th, td {
  padding: 0.6rem 0.8rem;
  text-align: left;
}

th {
  width: 35%;
  font-weight: 600;
}

td {
  width: 65%;
}

/* make links nicer */
td a {
  color: #0066cc;
  text-decoration: none;
}

td a:hover {
  text-decoration: underline;
}

/* #endregion */

#tableDiv{
  margin-top: 5rem;
  width: 100%;
  padding-bottom: 20vh;
  top: 0;
}

#comingEvents,
#pastEvents{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#pastEvents table {
  border: 0px solid black;
}

#pastEvents table tbody tr td {
  width: 100%;
  text-align: center;
  text-decoration: none !important;
}

#comingEvents h2,
#comingEvents h3,
#pastEvents h2,
#pastEvents h3{
  margin-top: 1em;
  margin-bottom: 0;
}

h2{
  text-align: center;
  text-decoration: underline;
}

#comingEvents table{
  margin: 0.3em;
}