/* Define CSS variables for colors */
:root {
  --grey: #434343;
  --orange: #f47d3f;
  --medGrey: #999999;
  --white: #eeeeee;
  --navBg: #d3d3d3;
  --main-bg-color: var(--grey);
  --text-color: var(--white);
  --menu-bg-color: var(--navBg);

}

html,
body {
  font-family: Lato, Monaco, monospace;
  padding: 0;
  margin: 0;
  color: var(--grey);
  background: var(--white);
}

a {
  text-decoration: none;
  color: var(--orange);
  transition: color 0.2s ease;
}

a:visited {
  color: var(--medGrey);
}

a:active {
  color: var(--grey);
}

header {
  border-bottom: 0.5em solid var(--medGrey);
  height: 8em;
  padding: 0.5em 0.5em 0.5em 4em;
  margin-bottom: 1em;
  align-items: center;
  align-content: space-between;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

header span {
  display: flex;
  width: 20%;
  height: 100%;
}

header img {
  display: flex;
  width: auto;
  height: 80%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--orange);
  max-width: 65%;
  padding-right: 2em;
  margin-left: 0.25em;
  border-bottom: 0.15em solid var(--orange);
}

.no-line {
  color: var(--medGrey);
  max-width: 45%;
  border-bottom: none;
}

section, section p {
  padding: 0 0.5em 0.5em 1em;
}

section + section {
  margin-bottom: 0.5em;
}

section title {
  display: block;
  font-weight: bold;
}

/* Default styles for the navigation menu */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 10px; */
  padding: 1em;
  color: var(--menu-bg-color);
  font-size: 1.5em;
  font-weight: bold;
  min-width: 40%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  margin-right: 20px;
}

nav a, nav a:visited, nav a:active {
  text-decoration: none;
  color: var(--grey);
  height: 80%;
  min-width: 2em;
  margin-right: 5px;
  text-decoration: none;
  border-top: 2px solid var(--orange);
  padding: 0.5em;
}

nav nav {
  display: none;
}

nav a:hover {
  color: var(--orange);
  background-color: var(--navBg);
}

nav a.active {
  background-color: var(--navBg);
  border-top: none;
}

nav a:hover nav {
  display: block;
}

.navbar-toggler {
  display: none;
}
/* Hamburger menu styles for smaller screens (phones) */
@media screen and (max-width: 768px) {
  header {
    height: 4em;
    padding: 0.25em 0.25em 0.25em 0.05em;
    margin-bottom: 0.25em;
  }
  header span {
    display: none;
  }
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust as needed */
    left: 0;
    right: 0;
    background-color: var(--menu-bg-color);
    display: none;
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
  }

  nav li {
    margin: 10px 0;
  }

  .navbar-toggler {
    display: block;
    background-color: var(--main-bg-color);
    color: var(--orange);
    border: none;
    cursor: pointer;
    padding: 3px 5px;
  }
}

/* SVG Styles*/
.st0 {
  fill: var(--white);
}
.st1 {
  fill: var(--grey);
}
.st2 {
  fill: var(--orange);
}
.st3 {
  fill: var(--white);
}
