/* CSS Custom Properties */
:root {
  /* Site Max Width Override */
  --site-max: 1140px;
  --site-bkgd: rgb(255,255,255); /* white */
  --site-bkgd-trans: rgba(255,255,255,.9);
  --main-txt: rgb(0,0,0);
  --main-txt-invert: rgb(255,255,255,.85);
  --txt-selection: rgb(170,10,40);
  --meta-txt: rgba(0,0,0,.65);
  --keyline: rgba(220,220,220,.75);

  --action-focus: rgba(170,10,40,.25);
  --action-normal: rgb(0,0,0);
  --action-active: rgb(170,10,40);
}
/* End of Custom Properties */

/* ---------------------------------------------------------------------------- 
  TEXT SELECTION */

::-moz-selection {
  color: var(--main-txt-invert);
  background: var(--txt-selection);
}

::selection {
  color: var(--main-txt-invert);
  background: var(--txt-selection);
}

/* ---------------------------------------------------------------------------- 
  DEFAULTS */

html {font-size: 62.5%;} /* Reset to 10px baseline */

* {box-sizing: border-box;}

body {
  background-color: var(--site-bkgd);
  color: var(--main-txt);
  font-family: "Operator Mono SSm A", "Operator Mono SSm B", monospace;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: normal;
  font-weight: 400;
  line-height: 2.4rem;
  margin: 0 auto;
  text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------------------- 
  TEXT DEFAULTS */

a {
  cursor: pointer;
  font-weight: 700;
}

a:link, a:visited {
  color: var(--action-normal);
  text-decoration: none;
}

a:hover, a:active {
  color: var(--action-active);
  text-decoration-thickness: .2rem;
  text-underline-offset: 4px;
  text-decoration-color: var(--action-normal);
}

p {
  line-height: 2.4rem;
  margin: 0;
  margin-bottom: 2.4rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: 5.6rem;
  font-weight: 400;
  line-height: 6.4rem;
  margin-bottom: 2.4rem;
}

h2 {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 3.6rem;
  margin-bottom: 1.6rem;
}

h3 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 2.8rem;
  margin-bottom: 1.2rem;
}

h4 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.4rem;
  margin-bottom: 0.8rem;
}

h5 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.4rem;
  margin-bottom: 0.8rem;
}

h6 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.entry li {margin-bottom: 1.2rem;}

figure {margin: 0;}

img {vertical-align: top;}

figure img {max-width: 100%;}

/* ---------------------------------------------------------------------------- 
  CORE STRUCTURE */

main[role="main"] {
  margin: 0 auto;
  max-width: var(--site-max);
  position: relative;
}

.container {
  margin: 0;
  margin-top: 4.8rem;
  width: 100%;
}

@media only screen and (min-width: 40em) {
  .container {
    margin-top: 6.4rem;
  }
}

/* ---------------------------------------------------------------------------- 
  NAVIGATION */

header.mast {
  background-color: var(--site-bkgd-trans);
  box-shadow: 1px 1px 4px 0 var(--keyline);
  padding-top: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
}

@media only screen and (min-width: 40em) {
  header.mast {position: relative;}
}

nav li.home-link {
  font-family: "Gotham Narrow SSm A", "Gotham Narrow SSm B", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav {
  background: rgba(255,255,255,.85);
  font-family: "Operator Mono SSm A", "Operator Mono SSm B", monospace;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 400;
  line-height: 4.8rem;
}

@media only screen and (min-width: 50em) {
  nav {line-height: 2.4rem;}
}

nav li {
  text-align: center;
}

@media only screen and (min-width: 50em) {
  nav li {display: inline-block;}
}

nav li a {
  display: block;
  font-weight: 400;
  text-decoration: none;
}

nav li.home-link a {
  font-weight: 700;
}

@media only screen and (min-width: 50em) {
  nav li a {padding: 1rem 1.4rem;}
}

nav li a:hover, 
nav .menu-button:hover {
  color: var(--action-active);
}

nav li a:hover,
nav li a:active {
  color: var(--site-bkgd);
  background: var(--action-active);
}

@media only screen and (min-width: 50em) {
  nav li a:hover,
  nav li a:active {
    color: var(--action-active);
    background: var(--site-bkgd);
  }
}

nav .nav {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

@media only screen and (min-width: 50em) {
  nav .nav {
    clear: none;
    margin: 0 auto;
    max-height: none;
    text-align: center;
    width: 100%;
  }
}

nav .menu-label {
  color: var(--main-txt);
  display: inline-block;
  font-family: "Gotham Narrow SSm A", "Gotham Narrow SSm B", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2.4rem;
  letter-spacing: 2px;
  padding: 1.8rem 2rem 0 2rem;
  text-transform: uppercase;
	user-select: none;
}

@media only screen and (min-width: 50em) {
  nav .menu-label {display: none;}
}

nav .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

@media only screen and (min-width: 50em) {
  nav .menu-icon {display: none;}
}

nav .menu-icon .navicon {
  background: var(--main-txt);
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

nav .menu-icon .navicon:before,
nav .menu-icon .navicon:after {
  background: var(--main-txt);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

nav .menu-icon .navicon:before {top: 5px;}
nav .menu-icon .navicon:after {top: -5px;}

nav .menu-button {display: none;}
nav .menu-button:checked ~ .nav {max-height: 388px;}
nav .menu-button:checked ~ .menu-icon .navicon {background: transparent;}
nav .menu-button:checked ~ .menu-icon .navicon:before {transform: rotate(-45deg);}
nav .menu-button:checked ~ .menu-icon .navicon:after {transform: rotate(45deg);}
nav .menu-button:checked ~ .menu-icon:not(.steps) .navicon:before,
nav .menu-button:checked ~ .menu-icon:not(.steps) .navicon:after {top: 0;}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

/* ----------------------------------------------------------------------------
  ENTRIES */

.entry {
  margin: 4.8rem 2.4rem 0 2.4rem;
  width: auto;
}

.entry ul,
.entry ol {
  padding-left: 2rem;
}

@media only screen and (min-width: 40em) {
  .entry {
    margin: 4.8rem 6.4rem 0 6.4rem;
  }
}

/* ----------------------------------------------------------------------------
  EVENTS */

ul.date-time {
  margin: 3.6rem 0;
  padding: 0;
}

ul.date-time li {
  list-style-type: none;
  margin: 0 0 0.8rem 0;
  padding: 0;
}

.price.free {
  margin-bottom: 2.4rem;
}

.price h4 span {
  font-size: 1.6rem;
  font-weight: 400;
}

/* ---------------------------------------------------------------------------- 
  FOOTER */

footer[role="contentinfo"] {
  clear: both;
  margin: 3.6rem 4.8rem 0 4.8rem;
  overflow: hidden;
  position: relative;
}

@media only screen and (min-width: 40em) {
  footer[role="contentinfo"] {
    margin: 3.6rem auto 0 auto;
    max-width: var(--site-max);
  }
}

#homepage footer[role="contentinfo"] {
  margin-top: 0;
}

footer[role="contentinfo"] .container {
  margin: 0 auto;
  width: 100%;
  padding-top: 4.8rem;
}

figure.site-logo {
  margin: 1rem auto 0 auto;
  padding: 0;
  text-align: center;
  width: 12rem;
}

/* ---------------------------------------------------------------------------- 
  HORIZONTAL LIST MENUS */

.menu-nav {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.menu-nav li {
  padding: 0 2rem;
}

/* ---------------------------------------------------------------------------- 
  BUTTONS */

.button {
  border-radius: .8rem;
  display: inline-block;
  margin-top: 2.4rem;
  padding: 1rem 2rem;
}

a.primary:link,
a.primary:visited {
  background-color: var(--main-txt);
  color: var(--site-bkgd);
}

a.primary:hover,
a.primary:active {
  background-color: var(--action-active);
  color: var(--site-bkgd);
}

a.info {
  font-weight: 400;
}

/* ---------------------------------------------------------------------------- 
  COPYRIGHT */

.copyright {
  clear: both;
  color: var(--meta-txt);
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding: 1.2rem;
  text-align: center;
  width: 100%;
}
