* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
}

body {
  background: #121212;
  color: #ffffff;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.2; /* padding on top and below text line */
  padding: 3rem 3rem;
}

.layout {
  display: flex;
  gap: 20rem; /* gap between left and right section on home */
  align-items: flex-start;
}

.home {
  margin: 0;
  flex: 0 0 400px; /* area of the home sections */
}

.projects {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, 30px); /* size of boxes */
  gap: 4px;
  justify-content: end;
}

.tile {
  aspect-ratio: 1;
}

.time {
  max-width: 700px;
}

.home > * + * {
  margin-top: 1em; /* space between any two stacked items */
}

.home ul {
  list-style: none;
  margin-top: 0.5em;
}

/* table settings overall */
.home table {
  border-collapse: collapse;
  width: 100%;
}

.home td {
  vertical-align: top;
  padding: 2em 0.5em 0.5em 0; /* space of overall table */
  white-space: nowrap;
}

.home td:last-child {
  padding-right: 0;
  padding-left: 2em; /* space to the left of last column */
  width: 100%;
  white-space: normal;
}

.home td:first-child {
  padding-left: 4em; /* space to the left of first column */
}

.home summary {
  cursor: pointer;
  text-decoration: underline;
  list-style: none; /* hides the triangle for lists in most browsers */
}

.home summary::-webkit-details-marker {
  display: none; /* hides the triangle in Safari */
}

.home a {
  color: inherit;
}

/* wizards scoreboard */
.wizards {
  max-width: none;
}

/* flex so the score/leaderboard is 2 em apart */
.wizards-body {
  display: flex;
  gap: 2rem;
}

/* takes up 30% of the page */
.leaderboard {
  flex: 0 0 30%;
}

.scoreboard {
  flex: 1;
}

.scoreboard table {
  table-layout: fixed;
}

/* wizards header (th) and data cells (td) */
.wizards th,
.wizards td {
  text-align: center;
  padding: 0.5em 0.5em;
  white-space: nowrap;
  vertical-align: middle;
}

/* divider line */
.wizards th {
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.25em;
}

.wizards td:first-child,
.wizards th:first-child {
  padding-left: 1em;
}

.wizards td:last-child,
.wizards th:last-child {
  width: auto;
  white-space: nowrap;
}
