.homepage-header {
  background-color: rgba(32, 39, 70, 1.0);
  padding: 0.1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.header-container {
  max-width: 1550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.075rem;
}

.app-name {
  font-family: 'Paytone One', sans-serif;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
}

.app-logo {
  display: block;
  height: 94px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.nav-link {
  font-family: 'Paytone One', sans-serif;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
}

.nav-link:hover,
.nav-link:focus {
  color: #31AFD4;
  background-color: rgba(255, 255, 255, 0.1);
  outline: 2px solid #31AFD4;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .app-name {
    font-size: 1.875rem;
    margin: 0;
  }

  .app-logo {
    height: 48px;
  }

  .main-nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .homepage-header {
    padding: 0.375rem 0.375rem;
  }

  .app-name {
    font-size: 2.25rem;
  }
}

.menu-open {
  cursor: pointer;
  display: inline-block;
  position: absolute;
  top: 20px;
  left: 20px;
  user-select: none;
  font-size: calc(10px + 1vw);
  font-family: 'Paytone One', sans-serif;
  z-index: 3;
}

.menu-open a {
  color: rgba(32, 39, 70, 1.0);
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  background-color: rgba(32, 39, 70, 0.9);
  /* background-color: rgba(0,0,0, 0.9); */
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 0%;
  width: 100%;
  text-align: left;
  /* margin-top: 10px; */
}

.overlay-menu {
  display: flex;
  flex-direction: column;
}

.overlay a, .overlay h2, .overlay p {
  padding: 2px;
  text-decoration: none;
  font-family: 'Paytone One', sans-serif;
  color: #FFFFFF;
  display: block;
  transition: 0.3s;
}

.overlay a {
  font-size: calc(6px + .5vw);
}

.overlay p {
  font-size: calc(6px + .5vw);
}

.overlay h2 {
  font-size: calc(6px + 2vw);
}

.overlay a:hover, .overlay a:focus {
  color: #31AFD4;
}

.menu-open a:hover, .menu-open a:focus {
  color: #31AFD4;
}

.overlay .menu-close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 11;
  font-size: calc(10px + 1vw);
  font-family: 'Paytone One', sans-serif;
  color: #E7BB41;
}

.overlay .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

.flash-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 6;
  transition: opacity 0.35s ease;
}

.flash-logo__img {
  height: 68px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

.flash-logo.flash-logo--hidden {
  opacity: 0;
}

/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: rgba(32, 39, 70, 1.0);
  color: #fff;
  font-family: 'Paytone One', sans-serif;
  font-size: .7em;
  cursor: pointer;
  padding: 5px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background-color: #fff;
  color: rgba(32, 39, 70, 1.0);
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: rgba(32, 39, 70, 1.0);
  display: none;
  overflow: hidden;
}
