/*
RGB(238, 238, 238) = #eee = bone
RGB(170, 170, 170) = #aaa
rgb(128, 0, 0) = #800 = blood
rgb(11, 92, 121) = #0b5c79 = murk
rgb(17, 17, 17) = #111 = void
*/

/* Global CSS variables */
:root,
[data-theme=light] {
  --primary: rgba(11, 92, 121, 0.9);
  --primary-hover: rgba(128, 0, 0, 0.9);
  --pico-primary: #0b5c79;
  --pico-primary-background: #0b5c79;
  --pico-primary-border: #0b5c79;
  --pico-primary-underline: rgba(11, 92, 121, 0.5);
  --pico-primary-hover: #073d52;
  --pico-primary-hover-background: #073d52;
  --pico-primary-hover-border: #073d52;
  --pico-primary-focus: rgba(11, 92, 121, 0.4);
  --spacing-company: 3rem;
  --font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: "Bebas Neue", sans-serif;
}

/* Force all primary buttons and role=button links to murk */
button:not(.secondary):not(.contrast):not(.outline):not(.btn-blood),
[role=button]:not(.secondary):not(.contrast):not(.outline):not(.btn-blood),
[type=submit]:not(.secondary):not(.contrast):not(.outline):not(.btn-blood) {
  background-color: #0b5c79 !important;
  border-color: #0b5c79 !important;
  color: #fff !important;
}

button:not(.secondary):not(.contrast):not(.outline):not(.btn-blood):hover,
[role=button]:not(.secondary):not(.contrast):not(.outline):not(.btn-blood):hover,
[type=submit]:not(.secondary):not(.contrast):not(.outline):not(.btn-blood):hover {
  background-color: #073d52 !important;
  border-color: #073d52 !important;
}

/* Sign up button — blood */
[role=button].btn-blood {
  background-color: #800 !important;
  border-color: #800 !important;
}

[role=button].btn-blood:hover {
  background-color: #111 !important;
  border-color: #111 !important;
  color: #eee !important;
}

header {
  height: 152px;
}

footer {
  height: 224px;
}

header h1, header h2, header h3 {
  width: 100%;
  padding-left: 20px;
}

main h1 {
  text-align: center;
}

article header h1,
article header h2 {
  width: 100%;
  text-align: center;
  padding-left: 0;
}

footer h1, footer h2, footer h3 {
  text-align: center;
}

footer a:hover{
}

h1 {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(11, 92, 121, 0.9);
  font-size: 4em;
}

h1.murk {
	width: 100%;
	text-align: center;
}

h1.blood {
  width: 100%;
  background-color: rgba(128, 0, 0, 0.9);
  text-align: center;
}

h1.void {
	width: 100%;
	background-color: rgba(17, 17, 17, 0.9);
	text-align: center;
}

footer h1 {
  font-size: 2em;
}

h2 {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(128, 0, 0, 0.9);
  font-size: 2em;
  text-align: center;
}

footer h2 {
  font-size: 4em;
}

h3 {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(17, 17, 17, 0.9);
  font-size: 0.75em;
  text-align: right;
}

h3 a {
  color: rgba(170, 170, 170, 0.9);
}

h4 {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(17, 17, 17, 0.9);
  font-size: 1em;
  text-align: center;
}

h4 a {
  color: rgba(170, 170, 170, 0.9);
}

/* Typography */
h2,
h3,
p,
hgroup > :last-child {
}

hgroup > :last-child {
}

nav{
	margin: 42px 0 14px;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
    display: none;
}

/* nav-menu holds both <ul>s; on desktop it acts as the space-between flex row */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

/* Mobile nav */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: 1px solid #0b5c79 !important;
        color: #0b5c79 !important;
        font-size: 1.25rem;
        line-height: 1;
        padding: 0.3rem 0.65rem;
        cursor: pointer;
        margin-left: auto;
        width: auto;
        min-width: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-top: 0.5rem;
    }

    .nav-menu.open {
        display: flex;
    }

    nav .nav-menu > ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    nav .nav-menu > ul > li {
        width: 100%;
    }

    nav .nav-menu > ul > li > a,
    nav .nav-menu > ul > li > [role=button] {
        display: block;
        width: 100%;
    }

    nav .nav-menu details.dropdown {
        width: 100%;
    }
}

.block {
  margin-right: 220px;
}

div.block a {
  font-family: "Bebas Neue", sans-serif;
}

a.beast {
  color: rgba(128, 0, 0, 0.9);
}

a.beast:hover {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(128, 0, 0, 0.9);
  text-decoration: none;
}

.hero {
  background-image: url("../img/hellsborough-website-header.new.png");
  background-position: center;
  background-size: cover;
}

header .hero {
}

ol li, ul li{
}

ol li a, ul li a{
  color: rgba(128, 0, 0, 0.9);
}

ol li a:hover, ul li a:hover{
	color: rgba(238, 238, 238, 0.9);
	background-color: rgba(128, 0, 0, 0.9);
}

/* Main */
@media (min-width: 992px) {
  main .grid {
    grid-column-gap: var(--spacing-company);
    grid-template-columns: auto 30%;
  }
}

form.grid {
  grid-row-gap: 0;
}

/* Aside nav */
aside img {
	margin-bottom:20px;
}

aside p {
	padding-bottom:20px;
}

aside p a {
  color: rgba(128, 0, 0, 0.9);
}

aside p a:hover {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(128, 0, 0, 0.9);
  text-decoration: none;
}

.shelf {
	display: flex;
    justify-content: center;
    gap: 10px;
}

.shelf img {
  width: 212px;
  height: auto;
}

div.shelf div a {
	color: rgba(128, 0, 0, 0.9);
}

div.shelf div a:hover {
  color: rgba(238, 238, 238, 0.9);
  background-color: rgba(128, 0, 0, 0.9);
  text-decoration: none;
}

/* Beast of the Week — home page */
.beast-week-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.beast-week-card {
    flex: 1 1 180px;
    max-width: 220px;
    text-align: center;
}

.beast-week-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.beast-week-card h3 {
    margin: 0.25rem 0;
    font-size: 1rem;
    text-align: center;
    background-color: transparent;
    color: inherit;
}

.beast-week-card .beast-type {
    font-size: 0.85rem;
    color: #880000;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}
