body { 
    padding: 15px;
    min-height: 100vh;
    width: 100%;
}

.head {
    font-family: Bitcount Grid Double;
    text-decoration: none;
    font-size: 200%;
    color: black;
}

.head:hover {
    text-decoration: underline;
}

.nav {
    padding-bottom: 20px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 80%;
    font-weight: bold;
    color: black;
}

.nav :hover {
    background-color: rgb(204, 230, 127);
}

a {
    color: black;
}

.pic {
    text-align: center;
}

.image {
  color: black;
  width: 350px;
  align-items: center;
  height: auto;
  background: white;
  padding: 14px;
  background-clip: padding-box;
  border-image-slice: 6 5 5 5;
  border-image-width: 12px 10px 10px 10px;
  border-image-repeat: stretch;
  border-style: solid;
  border-color: transparent;
  image-rendering: pixelated;
  border-image-source: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAANAgMAAADgR2fRAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAAlQTFRFAAAAAAAA+Pj4V7faMwAAAAN0Uk5TAP//RFDWIQAAAC1JREFUeJxjZA34zSg14Rdj5hsRxtQPLIypsyMZU+ZIomCQXBRQnajDf0agegDBHREzb+pRsAAAAABJRU5ErkJggg==");
}

#text {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}


.geist-pixel {
  font-family: "Geist Pixel", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "ELSH" 0;
}

.photopile { 
  display: flex; 
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
}

.photopile figure { 
  display: inline-block;
  background: white;
  box-shadow: 1px 4px 5px rgba(0,0,0,0.55);
  margin: 0px;
}

.photopile figure img {
  max-width: calc(100% - 2rem);
  margin: 1rem 1rem 0 1rem;
  border: 2px rgb(0,0,0,0.55) inset;
  
}

.photopile figcaption, .popovers figcaption {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  margin: 0.5rem 1rem 1rem 1rem;
  font-size: 1rem;
  color: black;
}

.photopile button { 
  background: none; 
  border: none;
  max-width: 40%;
}

.photopile button:hover, .photopile button:focus { 
  z-index: 3;
  cursor:pointer;
  border: 3px solid black;
}

:popover-open {
    
  position: fixed;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%,-50%);
}

.popovers figure:popover-open {
  display: block;
  background: white;
  width: 88vmin;
}
.popovers figure:popover-open figcaption {
  margin: 2.5vmin 1rem 4vmin 1rem;
  font-size: 175%;
  color: black;
}
.popovers figure:popover-open img {
  margin: 4vmin 4vmin 0 4vmin;
  width: 80vmin;
  border: 4px rgb(0,0,0,0.55) inset;
}