* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #f0f7c7;
  --secondary-color: rgba(30, 30, 30, 0.5);
  --link-hover-background-color: #4a4848;
}
body {
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.logo {
  font-size: 2rem;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-decoration: none;
}

/** Menu **/

.navbar {
  position: fixed;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background-color: var(--secondary-color);
  color: white;
}

.navbar-links {
  height: 100%;
  margin-right: 34px;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  list-style: none;
  border-bottom: 1px solid var(--primary-color);
  margin-right: 5px;
}

.navbar-links li a {
  display: block;
  text-decoration: none;
  color: var(--primary-color);
  padding: 1rem;
}

.navbar-links li:hover {
  background-color: #555;
}

.toggle-button {
  position: absolute;
  top: 30px;
  right: 30px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
}

@media (max-width: 1000px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle-button {
    display: flex;
  }

  .navbar-links {
    display: none;
    width: 100%;
  }

  .navbar-links ul {
    width: 100%;
    flex-direction: column;
  }

  .navbar-links ul li {
    text-align: center;
    margin-right: 0;
  }

  .navbar-links ul li a {
    padding: 0.5rem 1rem;
  }

  .navbar-links.active {
    display: flex;
  }
}
