/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

:root {
   --dark: 43, 42, 42; /* #2b2a2a dark warm gray */
   --text: 101, 101, 99; /* #656563 less crazy text */
   --light: 253, 248, 232; /* #fdf8e8 light cream */
   --highlight: 0, 204, 102; /* #00cc66 highlight green */
   --link: 6, 135, 245; /* #0687f5a link blue from Bandcamp embeds */
 }

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: rgba(var(--text), 1);
  font-size: 1.125em;
  line-height: 1.3;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

footer {
  font-size: 14px;
  background-color: rgba(var(--dark), 1);
  color: rgba(var(--text), 0.8);
}

h1 {
     display: block;
     height: 87px;
     width: 100%;
     max-width: 220px;
     margin: 0 auto 24px auto;
     padding: 0;
     background-image: url(../img/logo.svg);
     background-size: 220px 86px;
     background-repeat: no-repeat;
   }

header {
  background-color: rgba(var(--highlight), 1);
  color: rgba(var(--light), 1);
  padding: 36px 0 0 0;
  margin: 0;
}
header h4 {text-align: center; }
header h1,
header h2,
header h3,
header h4 {
  color: rgba(var(--light), 1);
}

section#music {
  background-color: rgba(var(--light), 1);
  color: rgba(var(--text), 1);
}
section#music h1,
section#music h2,
section#music h3,
section#music h4 {
  color: rgba(var(--dark), 1);
}

section#music nav {
  background-color: rgba(var(--highlight), 1);
  color: rgba(var(--text));
}
section#music nav h2 {
  background-color: rgba(var(--light), 1);
}
section#music nav a {
  color: rgba(var(--light), 0.7);
}
section#music nav a:hover {
  color: rgba(var(--light), 1);
}

section#shows {
  background-color: rgba(var(--text), 1);
  color: rgba(var(--light), 1);
}
section#shows nav {
  background-color: rgba(var(--light), 1);
  color: rgba(var(--text));
}
section#shows nav h2 {
  background-color: rgba(var(--text));
  color: rgba(var(--highlight));
}
section#shows nav a {
  color: rgba(var(--text), 0.7);
}
section#shows nav a:hover {
  color: rgba(var(--text), 1);
}

section#links {
  background-color: rgba(var(--dark), 1);
  color: rgba(var(--light), 1);
}
section#links nav {
  background-color: rgba(var(--text), 1);
  color: rgba(var(--light));
}
section#links nav h2 {
  background-color: rgba(var(--dark));
  color: rgba(var(--highlight));
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid;
}

/* ol.music a.button {
  float: right;
  margin: 0 0 0.5rem 0.5rem;
} */

p.meta {
  font-size: 0.75rem;
  color: rgba(var(--text), 0.8);
}

ol.music h3 a.button {
  /* color: rgba(var(--link), 1); */
  font-weight: 400
}

a.button {
  border: 0 none;
  /* border: 1px solid rgba(var(--link), 0.2); */
  color: rgba(var(--link), 1);
  /* padding: 0.4rem 0.5rem; */
  /* display: inline-block; */
  /* border-radius: 3px; */
  background-color: rgba(var(--link), 0.1);
  /* font-size: 16px; */
  font-weight: 250;
  white-space: nowrap;
  
}

a.button:hover {
  background-color: rgba(var(--link), 0.25);
}

.wrapper {
  margin: 0 auto;
  max-width: 502px;
  padding: 0 24px 48px 24px;
  border-collapse: collapse;
}

article {
  width: 100%;
}

html, body {
  background-color: rgba(var(--light), 1);
  font-family: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 0;
  margin: 0;
}

section#links, section#links h4 {
  font-size: 14px;
}
section#links .wrapper {
  width: calc(100% - 40px);
  padding: 0 20px 20px 20px;
  display: flex;
  flex-direction: row;
  max-width: 500px;
  margin: 0 auto;
}
section#links section {
  flex-basis: 25%;
}
section#links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box
}
section#links section h4 {
  margin-top: 0;
  padding: 0 4px;
}

@media only screen and (max-width: 450px) {
  section#links .wrapper {
    flex-flow: wrap;
  }
  section#links ul {
    margin-bottom: 1em;
    flex-basis: 50%;
  }
}

section#links ul li {
  padding: 0;
  margin: 0;
  font-weight: 300;
}

section#links ul li a {
  color: rgba(var(--light), 0.7);
  text-decoration: none;
  padding: 4px;
  display: inline-block;
  border: 0 none;
}
section#links nav a {
  color: rgba(var(--light), 0.7);
}
section#links nav a:hover {
  color: rgba(var(--light), 1);
}

ol.shows {
  list-style: circle;
  margin-left: 0;
  padding-left: 0;
}

h1, h2, h3, h4 {
  font-weight: bold;
}

h4 {
  color: rgba(var(--highlight), 1);
}

section#links ul h4 {
  padding: 4px;
  margin: 0;
  color: rgba(var(--highlight), 1);
}

section#links ul a:hover {
  color: rgba(var(--light), 1);
}

h2 {
  margin: 1em 0 0.25em 0;
}

h2, nav a {
  font-size: 27px;
  line-height: 46px;
  margin: 0;
  display: inline-block;
}

nav {
  padding: 0em 1em 0 1em;
  margin: 0 0 2em 0;
  display: block;
  text-align: center;
}

nav a {
  font-weight: 300;
  border-bottom: 0 none;
  text-decoration: none;
}

nav > * {
  display: inline-block;
  margin: 0;
  padding: 0 12px;
}


h3 {
  font-size: 22px;
  line-height: 23px;
  margin: 1em 0 0.5em 0;
}

h4 {
  font-size: 18px;
  line-height: 23px;
  margin: 1em 0 0.25em 0;
}

p {
  margin: 0 0 1em 0;
}

ol.music {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-indent: 0;
}

ol.music li:not(:last-child) {
  margin-bottom: 3em;
}

ol.music h3 {
  margin-bottom: 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

