/*
Theme Name: Moore Gore Theme
Theme URI: https://mooregore.com
Author: Jay Moore
Author URI: https://mooregore.com
Description: Gritty, dark theme with centered content, sticky footer, gritty nav, custom Front Page, and Customizer controls.
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moore-gore-theme
*/

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  color: #ffffff;
  background: url('./assets/images/MooreGore-Background.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.site-header {
  width: 100%;
  aspect-ratio: 1920 / 350;
  background: url('./assets/images/MooreGore-Header.png') no-repeat center center;
  background-size: cover;
}

.site-main {
  background-color: rgba(0,0,0,0.0);
  margin: 0 auto;
  max-width: 700px;
  padding: 0 20px 40px 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.0);
  border-radius: 10px;
  flex: 1;
}

.site-main h1, .site-main h2, .site-main h3 { color: #FFFFFF; }
.site-main h2 {
  text-decoration: underline;
  border-top: 4px solid #fff;
  padding-top: 10px;
  margin-top: 30px;
}

.site-footer {
  text-align: center;
  padding: 20px;
  color: #fff;
  margin-top: auto;
}
.site-footer a {
  color: #c22425;
  text-decoration: underline;
  font-weight: bold;
}
.site-footer a:hover {
  text-decoration: underline;
  color: #96090a;
}

a { color: #c22425; text-decoration: underline; font-weight: bold; }
a:hover { text-decoration: underline; color: #96090a; }

.primary-nav {
  background: url('./assets/images/gritty-bg.png') repeat center center;
  background-size: cover;
  padding: 0;
}
.primary-nav .menu {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.primary-nav .menu > li { margin: 0; }
.primary-nav .menu > li > a {
  display: block;
  padding: 10px 12px;
  color: crimson;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current_page_item > a {
  color: #96090a;
}

@media (max-width: 600px) {
  .primary-nav .menu { flex-direction: column; align-items: center; }
  .primary-nav .menu > li > a { width: 100%; text-align: center; padding: 12px 10px; }
}

.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.wp-post-image { height: auto; max-width: 100%; }
