

#navbar {
  width: 70vw;
  padding: 0 15vw;
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: var(--main);
  color: var(--white);
  border-bottom: 2px solid black;
}

#nav-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#nav-links a {
  color: var(--white);
  font-size: 1rem;
  padding: 1.5em;
  font-weight: bold;
  transition: 0.3s;
  opacity: 0.8;
}

#nav-links a:hover {
  opacity: 1;
}


#cart-holder {
  width: 2em;
  height: 2em;
  padding-left: 1.5em;
  display: flex;
  align-content: center;
}

#cart-holder:hover {
  cursor: pointer;
}

#cart {
  width: 100%;
}

#cart-counter {
  position: relative;
  left: 0.1em;
  top: -1.3em;
  font-weight: bold;
  color: var(--white);
  font-size: 1.2em;
}

#emptyCartMessage {
  font-size: 1.6rem;
  text-align: center;
}

#hamburger {
  display: none;
  padding-left: 4em;
  z-index: 1;
}

#hamburger img {
  width: 3em;
}

#logo-link {
  height: 80%;
}

#logo-main {
  height: 100%;
  object-fit: contain;
}


#hamburger-menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 101vw;
  z-index: 10;
  width: 100vw;
  height: calc(100vh - 60px);
  background-color: var(--background);
  border-top: 2px solid black;
}

#hamburger-links {
  text-align: center;
  display: block;
  padding-top: 2em;
  width: 70vw;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 1.5rem;
}

#hamburger-links a {
  color: black;
  background-color: var(--background);
  height: 2em;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 1000px) {

  #hamburger {
    display: block;
    padding-left: 0em;
  }

  #links {
    display: none;
  }
  
  #cart-holder {
    width: 2.5em;
    height: 2.5em;
    padding-left: 1.5em;
  }

}

@media only screen and (max-width: 500px) {

  #navbar {
    width: 85vw;
    padding: 0 7.5vw;
  }

}