body, html {
    height: 100%;
}

body {
    font-family: Georgia, Garamond;
    font-size: 1.15em;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.5em;
}

a:link {
  color: #2f2cda;
}

a:visited {
  color: #2f2cda;
}

a:hover {
  color: #5d5aff;
}

a:active {
  color: #2f2cda;
}

.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("assets/hero.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.hero-text {
    font-size: 1.25em;
    text-align: center;
    color: white;
    padding: 10% 0;
    max-width: 50%;
    margin: auto;
}

main {
    background-image: linear-gradient(180deg,rgb(143, 130, 87) 0%, rgb(217, 197, 132) 32px, rgb(217, 197, 132) 100%);
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    width: 100%;
    position: absolute;
    padding: 0.75em;
    padding-top: 1.5em;
    box-sizing: border-box;
}

article {
    background-color: rgba(255, 255, 255, 0.67);
    border-radius: 25px;
    max-width: 960px;
    padding: 1.0em 1.25em;
    margin: auto;
    margin-bottom: 1em;
}

.jump-to-feed {
    text-align: center;
    margin: 0 auto 1em auto;
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
  margin-bottom: 1em;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: 30%;
  min-width: 240px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* A bit of padding around image */
  padding: 1.5em;

  /* Translucent background */
  background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}

.lightbox span {
  /* Full width and height */
  display: block;
  width: 100%;
  height: 100%;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
