.hide{
    display: none;
}

body{
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
  background: linear-gradient( rgba(255, 206, 138, 1) 0%, rgba(255, 74, 74, 1) 50%, rgba(208, 138, 255, 1) 100%);
  overflow-y: hidden;
}

#stuff{
  display: grid;
  grid-template-areas:
    "main"
    "footer";
  place-content: center;
  grid-template-rows: 1fr 3rem;
  height: 100vh;
}

#main-container{
  width: min(60rem, 95vw);
  display: grid;
  grid-template-areas:
    "header"
    "middle";
  grid-area: main;
  grid-template-rows: 7rem 1fr;
  gap: 0;
  height: inherit;
}

#site-title a{
  text-decoration: none;
  color: black;
  font-size: 2.5rem;
}

.middle{
  overflow: auto;
  border: 1px solid black;
  justify-self: stretch;
  box-shadow:0px 8px 9px 4px blueviolet;
}

.yes-sidebar{
  display: grid;
  grid-template-areas:
    "sidebar content"
    "sidebar content";
  grid-template-columns: 1fr 3fr;
  min-width: 100%;
  grid-area: middle;
  background-color: blanchedalmond;
}

#header{
  grid-area: header;  
  text-align: center;
  padding-bottom: 0.1em;
  align-self: end;
  z-index: 2;
}

#site-title{
  font-size: 2rem;
}

#sidebar{
  grid-area: sidebar;
  padding: 1rem;
  position: absolute;
  max-height: calc(100vh - 10rem);
  overflow-y: auto;
}

#sidebar-title{
  font-size: 1.5rem;
}

#top + p{
  margin: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid black;
}

#breadcrumb{
  font-size: small;
}

.with-sidebar{
  grid-area: content;
  grid-template-columns: 1fr 3fr;
  padding: 1rem;
  padding-right: 1.5rem;
}

.small-nav{
  display: none;
}

@media (width <= 710px) {
  .yes-sidebar{
    grid-template-areas: 
      "content content" !important;
  }
  #sidebar{
    display: none !important;
  }
  .small-nav{
  display: block !important;
}
}

.no-sidebar{
  border: 1px solid black;
  padding: 1rem;
  background-color: blanchedalmond;
  text-align: center;
}

#footer{
  grid-area: footer;
  text-align: center;
}

.gallery-img img{
  display: block;
  max-width: 19rem;
  max-height: 19rem;
}

.gallery{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  justify-content: space-around;
  row-gap: 1rem;
}

.inline-image img{
  position: relative;
  float: right;
  display: inline;
  max-width: 20rem;
}

