/* ------- Global Classes ------- */

a {
  text-decoration: none;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* ------- Navigation Bar ------- */
.nav {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
  min-height: var(--navbar-height);

  padding: 0 3rem;
  transition: all 0.75s cubic-bezier(0.26, -0.01, 0, 1.01);

  background-color: var(--color-main);

  margin-right: calc(var(--html-padding) * -1);
  margin-left: calc(var(--html-padding) * -1);
}

.nav .nav-bar {
  justify-content: space-between;
  margin-bottom: -16px;
}

.nav .nav-brand {
  font-size: 1.5rem;
  padding: 1.4rem;
  display: block;
}

.nav .nav-brand .brand-logo {
  color: white;
  fill: white;
  background: none;
  vertical-align: text-top;
  max-width: 100px !important;
  margin: 0 !important;
}

.nav  .nav-brand  .brand-logo:hover {
  color: var(--color-highlight);
  fill: var(--color-highlight);
  filter: invert(54%) sepia(53%) saturate(5971%) hue-rotate(236deg) brightness(81%) contrast(85%);
  cursor: pointer;
}

.nav .menu {
  position: absolute;
  top: 0;
  left: 80px;
  cursor: pointer;
  display: none;
  font-size: 2rem;
}

.nav a {
  color: var(--color-white);
}

.nav a:hover {
  color: var(--color-highlight);
}

.nav .nav-items a::after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  background: var(--color-white);
  transition: width 0.3s ease 0s,
    left 0.3s ease 0s;
  width: 0;
}

.nav .nav-items a:hover::after {
  width: 100%;
  left: 0;
}

.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.nav .nav-items {
  display: flex;
  flex-wrap: wrap;
}

.nav .nav-items .nav-link {
  padding: 1.6rem 1rem;
  font-size: 1.5rem;
  position: relative;
}

.nav .list {
  color: var(--color-white);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  padding: 1.4rem;
  text-align: center;
  font-size: 2.5rem;
}

.nav-bar .list:hover {
  color: var(--color-highlight);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-white);
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: var(--color-highlight);
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}


.nav .icons {
  color: var(--color-white);
  display: flex;
  justify-content: flex-end;
  padding: 2rem 0;
}

.navbar-padding {
  height: var(--navbar-height);
}

nav .nav-btn {
  align-self: center;
}

nav .nav-btn button {
 width: 50px;
 border-radius: 50px;
 color: var(--color-dark);
 background-color: var(--color-white);
}

/* ------- JS Classes ------- */

.expand {
  height: 38rem;
}

.fixNav {
  position: fixed;
  background: linear-gradient(to right, var(--color-main), var(--color-background));
}

.currentLocation {
  outline: 2px solid white;
  outline-offset: -13px;
}

.display {
  display: block;
}

/* ------- Resize Viewport depending on device screen -------*/

/*      Called If Viewport > 883        */
@media only screen and (max-width: 900px) {

  .nav {
    background: var(--color-dark);
  }

  .nav .nav-bar,
  .nav .nav-items {
    flex-direction: column;
  }

  .brand-logo {
    visibility: hidden;
  }

  .nav .menu {
    display: initial;
  }
}