#navcontainer {
  background-image: linear-gradient(to bottom, #d0d0d0, white);
}

#navcontainer a:not(.active) {
  color: var(--near-black);
}

.gridcontainer {
  padding-top: 100px;
}

article {
  /* position: relative; */
  /* height: 900px; */
  background-color: #b5eaf5; /* light blue */
}

article header h2 {
  font-family: Arial, sans-serif;
  font-size: 1.6em;
  font-weight: bold;
  color: black;
  margin-bottom: 0.75em;
}

article .body {
  margin-bottom: 2em;
}

article footer {
  /* position: absolute; */
  /* bottom: 0; */
  text-align: center;
}

article footer img {
  width: 30%;
}

article footer a {
  display: block;
  font-family: "Lato", sans-serif;
  text-decoration: none;
  background-color: white;
  color: black;
  padding-top: 15px;
  padding-bottom: 13px;
  margin: 20px;
  border: 1px solid black;
  border-radius: 3px;
}

@media only screen and (min-width : 768px) {
  .gridcontainer {
    display: grid;
    grid-template-columns: 320px 320px;
    justify-content: center; /* Centers the entire grid block on the page */
    column-gap: 40px; /* Adds space between columns */
    row-gap: 40px; /* Adds space between lines */
    padding-top: 80px;
    padding-bottom: 3%;
  }
  article {
    align-self: start;
    border: 1px solid var(--near-black);
    border-radius: 5px;
    margin-bottom: 0;
  }

}