@charset "UTF-8";
/* CSS Document */

nav {
    display: flex;
    justify-content: space-between;
    align-items: left;
    background-color: #333;
    padding: 1rem;
	width: 100%; /* Navigation bg width */
}

.brand {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

/* TURNED THIS OFF -- Hide menu icon on larger screens */
.menu-icon {
    display: none; /* Show only on mobile */
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links {
  display: none;    /* hidden by default */
  background-color: #333;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  width: 80%; /* Not navigation bg width */
  padding: 1em;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}

.nav-links li {
        margin: 10px 0;
}

/* Show links when the 'active' class is added by JavaScript */
.nav-links.active {
  display: flex;   /* shown when .active toggled by JS */
}

.menu-icon {
        display: block; /* Show the icon on small screens */
    }

.hamburger {
  display: block;   /* always show */
  cursor: pointer;
  z-index: 10;
}

.button:hover {
  background: burgundy;
}

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 1rem;
}

.submenu.open {
  display: flex;
}

.submenu-arrow {
  cursor: pointer;
  color: white;
  margin-left: 8px;
  font-size: 1rem;
}
