#bgbody {
/* a position has to be set for the plant overlay to position correctly */
  position: relative;
}

body {
  text-align:justify;
  text-align-last:center;
  background-image: linear-gradient(0deg, rgba(255,255,255,0), #eeffe5), url("/rsrc/img/allium_bg.webp");
  background-size: 1920px auto;
  background-position: center bottom;
  background-repeat: no-repeat;
}

#mainhero {
  margin: 2em auto 0;
  padding: 0 30px;
  max-width: 720px;
  transform: rotate3D(0, 0, 1, -3deg);
  position: relative;
  & img {
    width: 100%;
  }
}

#content {
  @media screen and (max-width: 810px) {
    margin-top: -2em;
    padding-top: 3em;
  }
}

#container {
  width:100%;
  display: grid;
  gap: 15px;
  padding-bottom: 3em;
  grid-template-columns: 3fr 264px;
  grid-template-areas:
    "page sidebar",
    "anpa sidebar";

  @media screen and (max-width: 810px) {
      grid-template-columns: 1fr;
      grid-template-areas:
        "page"
        "sidebar"
        "anpa";
  }
}

#page {
  border: 1px solid #d3d3d3;
  outline: 1px solid #838383;
}

#members {
  column-gap: 0;
  & img {will-change: scale; &:hover {transform: scale(1.1);}}
  & #mord {transform: rotate3d(0, 0, 1, -9deg) translateY(-4px);}
  & #joey {transform: rotate3d(0, 0, 1, 9deg) translateY(5px);}
  & #mads {transform: rotate3d(0, 0, 1, -9deg) translateY(-3px) translateX(2px);}
  & #vince {transform: rotate3d(0, 0, 1, 9deg);}

}

#updates {
  content-visibility: auto;
  position: relative;
  z-index: 1;
  margin: -3.3em 1em 0;
  & div {
    background-color: LightYellow;
    padding: 1.5em 1.5em 1em;
    box-shadow: 0 3px 5px black;
  }
  & #last_commit {
    line-height: 1;
    letter-spacing: 1px;
    font-family: "mordecai";
  }
}

#anpa {
  content-visibility: auto;
}

#bottom {
  position: absolute;
  z-index:2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width:1920px;
  pointer-events:none;

  & img {
    position: absolute;
    width:1920px;
    height: auto;
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
    image-rendering: pixelated;
  }
}

#here {
  margin: 0 15px;
}

.tocstyle-nav {
  padding: 0;
  margin-bottom: 30px;
  container-type: inline-size;
  position: relative;
  overflow-x: hidden;

  & li {
    padding: 0;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;

    @container (width < 510px) {
      grid-template-columns: 100%; /* description sits under link if the lack of space would make the leader look weird*/
    }

    &::before {
      position:absolute;
      margin-top:1.6em;
      content: "——————————————————————————";
    }

    & .tocstyle-link {
      text-align: left;
      text-align-last: left;
      position: relative;
      & a {
        z-index: 1; /* must sit above the leader to mask it */
        background-color: white;
        padding-right:9px;
      }
    }

    & .tocstyle-desc {
      z-index:1; /* must sit above the leader to mask it */
      margin-top:1.65em;
      margin-bottom: 0;
      text-align: right;
      text-align-last: right;

      @container (width < 510px) {
        margin-top:0;
      }

      & span { /* color applied to p element cuts too much of the leader off, span hugs the text closely*/
        padding-left:9px;
        background-color: white;
      }
    }
  }
}

#splash {
  width: 51%;
  float: right;
  text-align: center;
  margin-right: -2.4rem;
  font-family: "Courier";
  font-size: 1.2rem;
  color: #f1ba51;
  font-weight: bold;
  -webkit-text-stroke: 2px black;
  text-shadow: 2px 2px 0 black;
  paint-order: stroke fill;
  z-index: 6;
  @media screen and (max-width: 810px) {
    float: none;
    width: 100%;
    margin: 0.5rem auto -0.5rem;
    font-size: 1.1rem;
  }
}

#bu88x31 {
  display:flex;
  flex-wrap:wrap;
  & a {
    line-height:0;
  }
  & img {
    width: 88px;
    height: 31px;
  }
  @media screen and (max-width: 810px) {
    justify-content: center;
  }
}


#arch-ring {
  padding:0;
  margin-top:1em;
  & table tr td {
    padding: 5px 15px;
  }
  & table {
    width:100%;
  }
}
