@font-face { font-family: Intellij; src: url('../fonts/JetBrainsMono-Thin.woff2'); }
@font-face { font-family: IntellijBold; src: url('../fonts/JetBrainsMono-Regular.woff2'); }

/* Add a black background color to the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #6d5c53;
  font-family: IntellijBold, Verdana, Serif;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #fff0e2;
  text-align: center;
  padding: 0.5em 0.8em;
  text-decoration: none;
  font-size: 1.2em;
}

/* Change the color of links on hover */
.topnav a:hover {
  background: #625142;
}

/* Style the "active" element to highlight the current page */
.topnav a.active {
  background: #ffaa65;
  color: black;
}

/* Style the search box inside the navigation bar */
#searchBar {
  float: right;
  padding: 0.5em;
  border: none;
  font-size: 1.2em;
  color: white;
  background: black;
}

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */
@media screen and (max-width: 500px) {
  .topnav a, .topnav input[type=text] {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 1em;
  }
  .topnav input[type=text] {
    outline: 1px solid #ccc;
  }
}