@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    width: 100%;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #047717;
  color: white;
}

/* Right-aligned section inside the top navigation */
.topnav-right {
  float: right;
}

#contact {
  color: white;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  padding: 1em;
  width: auto;
  background-color: #222;
}

#filters li, #pjLink {
  padding: 0.5em;
  text-transform: uppercase;
  margin: 0.2em 0.2em;
  font-weight: 700;
  font-size: 1em;
  line-height: 1em;
  cursor: pointer;
  border-width: 1px 1px 2px 1px;
  border-style: solid;
  border-color:#222;
  border-radius: 3px;
  background-color: #0c751e;
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}
#filters li:hover, #pjLink:hover 
{
  background-color: #17c735;
}
#filters li:active, #pjLink:active
{
  background-color: #0c751e;
}

#pjLink a
{
  text-decoration: none;
  color: white;
}

#icons > a {
  color: black;
  font-size: larger;
  margin: 5px;
  background-color: white;
  border: 9px solid white;
  border-radius: 100%;
}

#icons > a:hover {
  background-color: #139c2a;
  border-color: #139c2a;
}

#icons > a:visited {
  color: black;
}

.infoButton a, .infoButton a:visited {
  color: white;
  text-decoration: none;
}

@media screen and (max-width: 600px) {
.topnav a {
  font-size: 12px;
}
}