.grid {
  max-width: 50%;
  display: inline-grid;
  gap: 1vw;
  padding: 1vw;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  grid-template-areas:
    "navtop navtop"
    "hero aside1"
    "hero aside1"
    "navbottom navbottom";
  /* margin: 0 auto;
  margin-top: calc(50% - 512px); */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}



body {
  background-color: #0a0a0a;
}

.item {
  /*border: 2px solid #464545;*/
  border-radius: 5px;
  padding: 1.5vw;
  text-align: left;
  font-size: 1.2em;
}

.grid .item:nth-child(1) {
  grid-area: navtop;
  background: rgb(255, 253, 250);
}
.grid .item:nth-child(2) {
  grid-area: hero;
  background: rgb(255, 253, 250);
}
.grid .item:nth-child(3) {
  grid-area: aside1;
  background: rgb(255, 253, 250);
}
.grid .item:nth-child(4) {
  grid-area: navbottom;
  background: rgb(255, 253, 250);
}

.divTable {
  display: table;
  width: 100%;
}

.divTableRow {
  display: table-row;
}

.divTableCell,
.divTableHead {
  display: table-cell;
  padding: 3px 10px;
  line-height: 2vw;
}

.divTableBody {
  display: table-row-group;
}



body {
  font-family: SiteFont;
}

a {
  text-decoration: underline;
  color: black;
  font-weight: bold;
}

.imgcontainer img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

@font-face {
  font-family: "SiteFont"; /*a name to be used later*/
  src: url("font.ttf"); /*URL to font*/
}

@media only screen and (max-width: 600px) {
  .grid {
    display: contents;
    width: 100%;
    max-width: 90%;
  }
  .grid .item {
    margin-bottom: 1vw;
  }

  .divTableCell {
    line-height: 3vw;
  }

  .item {
    font-size: 1em;
  }
  .grid .item:nth-child(3) {
  height: fit-content;
  }
}