
/*
Theme Name: Dynamic Animated Theme Boilerplate
Theme URI: https://example.com
Author: You
Version: 1.4
Description: Lightweight WordPress theme with dynamic REST API content loading, GSAP animations, PreloadJS asset management, history API, and in-memory + sessionStorage caching.
Text Domain: dynamic-theme
*/

body {
  margin: 0;
  font-family: sans-serif;
  background: #f9f9f9;
}

#app {
  display: grid;
  grid-template-columns: 1fr 3fr;
  min-height: 100vh;
}

#primary-menu {
  list-style-type: none;
  padding: 3px 0;
}

#primary-menu li {
  padding: 5px 0;
}

.menu-column {
  background: #333;
  color: white;
  padding: 20px;
}

.menu-column nav ul {
  list-style: none;
  padding: 0;
}

.menu-column nav ul li a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.content-columns {
  background: white;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

#progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background-color: #0073aa;
  z-index: 10;
}

.menu-column nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 15px;
  padding-left: 15px;
}

.menu-column nav ul li {
  list-style: none;
  margin-bottom: 10px;
}

.menu-column nav ul ul {
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid #444;
}

.menu-column a,
.menu-column a:link,
.menu-column a:active,
.menu-column a:visited,
.menu-column a:hover,
.menu-column a:focus {
  text-decoration: none;
  color: white;
  display: block;
  margin-bottom: 5px;
}
.menu-column a:hover,
.menu-column a:focus {
    text-decoration: underline;
}

body, h1 {
  font-family: indivisible-variable, sans-serif;  
}
