/* Place the navbar at the bottom of the page, and make it stick */
.navbar {
  overflow: hidden;
  position: fixed;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  width: 100%;
}

.h1 {
    position: absolute;
    left: 10px; /* adjust this value to move the title closer to the top */
    }

/* Style the links inside the navigation bar */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.navbar a:hover {
    background: rgba(255, 255, 255, 0.2); /* Slightly lighter background on hover */
    border-radius: 5px;
}

/* Add a color to the active/current link */
.navbar a.active {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px 20px;
    display: block;
    transition: background 0.3s;
}