/* ---------- NAVIGATION BAR STYLES ---------- */
/* TODO adaptar a barra para telas estreitas */

.NavBar {
  list-style: none;
  padding-left: calc(((100vw - 1200px) / 2) - 2.5px);
  padding-right: calc(((100vw - 1200px) / 2) - 2.5px);
  margin: 0;
  display: flex;
  align-items: center;
  background-color: var(--blue-5);
  position: sticky;
  top: 0;
  z-index: 1000;
  align-items: stretch;
}

.NavBar a {
  font-family: 'montserrat-variable', sans-serif;
  font-weight: 500;
  font-size: 16px;
  display: flex;
  color: white;
  text-align: center;
  padding: 9px 18px;
  border-radius: 15px;
  text-decoration: none;
}

.NavBar a:hover {
  background-color: var(--blue-1);
  color: white;
  transition: 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.active {
  background-color: var(--highlight-orange);
  color: black;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Keep hover-like styles on the trigger while its dropdown is open */
.dropdown.show > a:not(.active) {
  background-color: var(--blue-1);
  color: white;
  transition: 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}


.right-NavBar {
  margin-left: auto;
}

.navbar-button {
  padding: 5px 2.5px;
}

.dropdown {
  position: relative;
}

.triangle {
  width: 0;
  height: 0;
  border: solid 15px;
  border-color: transparent transparent var(--blue-9) transparent;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, 0);
}
  
.dropdown-content {
  border-radius: 20px;
  list-style: none;
  padding: 5px;
  display: none;
  position: absolute;
  top: 125%;
  left: 0;
  background-color: var(--blue-9);
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown.show .dropdown-content {
  display: block;
}

#home-button {
  padding-left: 0;
}

/* TODO: fix, doesn't do shit */
/* .active:hover {
  background-color: var(--orange-9);
  color: black;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
} */