/* View Specific CSS */

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

body {
  flex-direction: column;
  display: flex;
  height: 100vh;
}

header, footer {
  background-color: rgba(0, 0, 0, 1);
  padding: 0.5rem;
  display: block;
  color: white;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-header a {
  text-decoration: none;
  align-items: center;
  display: flex;
  color: white;
  gap: 1rem;
}

.site-header img {
  filter: invert();
  max-height: 3.5rem;
}

.page-header {
  background-color: deeppink;
}

main {
  overflow: auto;    
  position: relative;
  background-color: gainsboro;
  border: 3px solid gainsboro;
  flex-grow: 1;
}

.grid {
  width: fit-content; /* Very important! */
  display: flex;
  gap: 1px;
}

.col {
  flex-direction: column;
  min-width: 130px;
  display: flex;
  gap: 1px;
}

.row {
  background-color: white;
  overflow: visible;
  padding: 1rem;
  height: 4rem;
}

.freeze-first-col > .col:first-child {
  border-right: 1px solid gainsboro;
  position: sticky;
  z-index: 10;
  left: 0;
}

.freeze-top-row > .col > .row:first-child {
  border-bottom: 1px solid gainsboro;
  position: sticky;
  top: 0;
}

.col-header {
  background-color: aqua;
}

.row-header {
  background-color: lightcyan;
}
