
/* ========================= */
/* BEGIN: FLEXBOX MENU TEMPLATE STYLES */
/* Use these styles for the standalone menu template */



:root {
  --background: #f7f9fa;
  --foreground: #222;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;
  --accent: #fbbf24;
  --danger: #ef4444;
  --header-bg: #fff;
  --header-fg: #222;
  --nav-bg: #f1f5f9;
  --nav-link: #2563eb;
  --nav-link-hover: #1e40af;
  --nav-mobile-btn-bg: #2563eb;
  --nav-mobile-btn-fg: #fff;
  --base-font-size: 16px;
  --base-font-family: 'Nunito', sans-serif;
  --heading-font-family: 'Righteous', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #181a1b;
    --foreground: #f3f4f6;
    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --primary-dark: #1e3a8a;
    --accent: #fbbf24;
    --danger: #ef4444;
    --header-bg: #23272f;
    --header-fg: #f3f4f6;
    --nav-bg: #23272f;
    --nav-link: #60a5fa;
    --nav-link-hover: #fbbf24;
    --nav-mobile-btn-bg: #2563eb;
    --nav-mobile-btn-fg: #fff;
  }
}

body {
  background: var(--background);
  font-family: var(--base-font-family);
  color: var(--foreground);
  margin: 0;
}

* {
  transition: all .65s ease;
  box-sizing: border-box;
}

.container {
  max-width: 75em;
  margin: 0 auto;
  padding: 0 1em;
}

/* Header */
.header {
  background: var(--header-bg);
  color: var(--header-fg);
  padding: 0.75em 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.site-title, .site-tagline {
  font-weight: 400;
}
@media (max-width: 700px) {
  .header .site-title, .header .site-tagline {
    width: 100%;
    text-align: center;
  }
  .header .site-title {
    margin: 0;
  }
}


.site-title, h1, h2, h3 {
  font-family: var(--heading-font-family);
  font-size: 2.5em;
  color: var(--primary-dark);
  margin: 0;
}
.site-title {
  color: var(--primary);
}
.site-tagline {
  font-size: 1.125em;
  font-style: italic;
}


/* MOBILE-FIRST NAVIGATION */
.main-nav {
  background: var(--nav-bg);
  color: var(--foreground);
  border-bottom: 1px solid #e5e7eb;
}
.main-nav ul, .main-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
  background: var(--nav-bg);
}
.main-nav ul.open {
  max-height: 500px;
}
.main-nav .mobile-button a {
  display: flex;
  align-items: center;
  gap: 0.75em;
  background: var(--nav-mobile-btn-bg);
  color: var(--nav-mobile-btn-fg);
  width: 100%;
  text-align: left;
  padding: 1em 2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}
.main-nav .mobile-button a .menu-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  /* Hamburger icon color */
  fill: currentColor;
}
.main-nav a {
  color: var(--nav-link);
  text-decoration: none;
  padding: 1em 2em;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  background: transparent;
  border: none;
  font-size: 1em;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--nav-link-hover);
}
.main-nav .mobile-button {
  order: -1;
}

@media (min-width: 701px) {
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-height: none !important;
    overflow: visible;
    background: var(--nav-bg);
  }
  .main-nav .mobile-button a {
    display: none;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    padding: 1em 2em;
    width: auto;
    background: transparent;
  }
}

/* END: FLEXBOX MENU TEMPLATE STYLES */
/* ========================= */
