.navbar {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #333;
  color: white;
}

.logo {
  width: 500px;
}

.navbarLinks {
  height: 100%;
}

.navbarLinks ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbarLinks li {
  list-style: none;
  text-transform: uppercase;
}

.navbarLinks li a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 1rem;
}

.navbarLinks li:hover {
  background-color: #555;
}

.toggleButton {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggleButton .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

@media (max-width: 1150px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggleButton {
    display: flex;
  }

  .navbarLinks {
    display: none;
    width: 100%;
  }

  .navbarLinks ul {
    margin-top: 1rem;
    width: 100%;
    flex-direction: column;
  }

  .navbarLinks ul li {
    text-align: center;
  }

  .navbarLinks ul li a {
    padding: 1rem;
  }

  .navbarLinks.active {
    display: flex;
  }
  .logo {
    width: 70%;
  }
}
