html,
body {
  height: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.sr-only {
  position: absolute;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

body {
  background-color: black;
  color: white;
  box-sizing: border-box;
  position: relative;
}

a:link,
a:visited,
a:hover {
  color: white;
}

.flexContainer {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
}

.container,
footer {
  width: 100%;
  position: relative;
  max-width: 768px;
  margin: 0 auto;
}

footer {
  text-align: right;
}

footer div {
  padding: 20px;
}

ul {
  padding: 0;
}

li {
  padding: 0;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px;
  position: relative;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
}

blockquote p {
  font-size: 32px;
  font-style: italic;
}

blockquote cite {
  font-size: 16px;
  font-style: normal;
}
blockquote cite:before {
  position: relative;
  content: "- ";
}

.payhipContainer {
  display: block;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ====================*/
/* contact             */
/* ====================*/
.contact main {
  position: relative;
  z-index: 2;
}

.errors {
  display: inline-block;
  background-color: #a00;
  max-width: 200px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.success {
  display: inline-block;
  background-color: #6a6;
  padding: 20px;
  margin-bottom: 20px;
}

input, textarea {
  width: 100%;
  max-width: 300px;
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  padding: 3px;
}

button {
  background: white;
  color: black;
  border: 0 none;
  font-weight: bold;
  padding: 20px 30px;
}

button:hover {
  cursor: pointer;
  background-color: #ddd;
}

label {
  font-size: 22px;
  font-weight: bold;
}

/* ============ */
/* home styles  */
/* ============ */
.home {
  background-color: black;
  background: url("/images/backgroundsharp.gif") repeat;
}

.home main {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.home nav {
  max-width: 300px;
}

.home nav ul {
  display: grid;
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: auto;
  clip: none;
  column-gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.home nav li {
  display: block;
  text-align: center;
  position: relative;
  font-weight: bold;
  background-size: cover;
  padding: 0;
  margin: 0;
  border: 0 none;
  margin-bottom: 20px;
}

.home nav li a {
  position: static;
  display: block;
  text-align: center;
}

.home nav li a span {
  padding: 0;
  font-size: 28px;
  text-decoration: none;
  line-height: 1;
  width: 100%;
  display: inline-block;
  padding: 0 20px;
  color: black;
  position: static;
}

.home nav li a > img {
  display: block;
  object-fit: initial;
  height: auto;
}

@media screen and (min-width: 320px) {
  .home main {
    height: 100%;
    align-content: center;
  }
  .home nav {
    max-width: 600px;
  }
  .home nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0;
    grid-template-rows: initial;
    align-items: center;
  }
  .home nav li a div {
    position: absolute;
    z-index: 1;
    font-size: 32px;
    text-decoration: none;
    line-height: 1;
    bottom: 8px;
    right: 0;
    left: 0;
    display: block;
  }
  .home nav li a span {
    color: white;
    background-color: black;
    width: 60%;
    display: inline-block;
  }
  .home nav li {
    text-align: center;
    display: grid;
    position: relative;
    background-size: cover;
    margin: 0;
    padding: 0;
    background: transparent;
    grid-template-rows: 220px;
    grid-template-columns: 1fr;
  }
  .home nav li:hover {
    background: url("/images/paper.gif");
  }
  .home nav li:hover a span {
    color: rgb(82, 50, 0);
    background: transparent;
    text-shadow: 1px 1px 40px rgba(0, 0, 0, 0.5);
  }
  .home nav li a > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  .home nav li a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
  }
  .home nav li:nth-of-type(1) {
    border-bottom: black 2px solid;
    border-right: black 2px solid;
  }
  .home nav li:nth-of-type(2) {
    border-bottom: black 2px solid;
    border-left: black 2px solid;
  }
  .home nav li:nth-of-type(3) {
    border-top: black 2px solid;
    border-right: black 2px solid;
  }
  .home nav li:nth-of-type(4) {
    border-top: black 2px solid;
    border-left: black 2px solid;
  }
  .home nav li a {
    padding: 30px;
  }
}
@media screen and (min-width: 440px) {
  .home nav li a {
    padding: 40px;
  }
  .home nav li a span {
    font-size: 32px;
  }
  .home nav li {
    grid-template-rows: 300px;
  }
}
.galleryMainImageContainer {
  margin-top: 22px;
  display: inline-block;
  width: 100%;
  aspect-ratio: 16/10;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 32px;
  gap: 12px;
  justify-content: center;
}
.thumbnails figure {
  flex-basis: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 2px;
  border: 1px solid white;
}
.thumbnails figure img {
  object-fit: fill;
  object-position: center;
}

/* ============ */
/* nav styles   */
/* ============ */
.mainNav {
  display: block;
  width: 100%;
  position: relative;
}

#mobileControls {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
}
#mobileControls h1 {
  justify-self: end;
  display: inline-block;
  padding-right: 20px;
  position: relative;
}
#mobileControls h1:before {
  content: "";
  position: absolute;
  left: -55px;
  top: 50%;
  margin-top: -25px;
  width: 50px;
  height: 50px;
  filter: grayscale(100%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
#mobileControls h1.music:before {
  background-image: url("/images/bearscallop.gif");
}
#mobileControls h1.news:before {
  background-image: url("/images/acornaxe.gif");
}
#mobileControls h1.store:before {
  background-image: url("/images/antelopetiger.gif");
}
#mobileControls h1.contact:before {
  background-image: url("/images/castlesignal.gif");
}

#showNavigation {
  padding: 20px 40px;
  background-color: white;
  color: #222;
}

#pageTitle {
  text-align: right;
  padding-right: 15px;
  margin: 0;
}

.mainNav ul {
  list-style: none;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

ul#navigation:target,
ul#navigation.active {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 20px;
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  border: 0;
}

.mainNav li {
  overflow: hidden;
  border-bottom: 1px solid white;
}

.mainNav li a {
  padding: 20px;
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: 100px;
  align-items: center;
  position: relative;
  z-index: 8;
  text-decoration: none;
}
.mainNav li a:active, .mainNav li a:focus {
  color: white;
}

.mainNav li a span {
  display: inline-block;
  padding-left: 20px;
  color: white;
  font-size: 24px;
  line-height: 1.1;
  font-weight: bold;
}

.mainNav li a > img {
  object-fit: contain;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 3;
}

.mainNav li:last-of-type {
  border-bottom: 0 none;
}

.mainNav li.active {
  cursor: pointer;
  filter: grayscale(100%);
}

.mainNav li:not(.active):hover,
nav li.news:hover {
  background: url("/images/paper.gif");
  filter: sepia(100%);
}

.mainNav li:not(.active):hover span,
nav li.news:hover span {
  color: black;
}

.blogNav ul {
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.blogNav li:first-of-type {
  justify-self: start;
}

.blogNav li:last-of-type {
  justify-self: end;
}

@media screen and (min-width: 768px) {
  #mobileControls {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  main {
    height: 100%;
    align-content: center;
  }
  ul#navigation,
ul#navigation.active {
    display: grid;
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: auto;
    clip: initial;
    column-gap: 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .mainNav li {
    margin: 0;
    background: transparent;
    grid-template-rows: 180px;
    grid-template-columns: 1fr;
    border-top: 0;
    border-bottom: 0;
  }
  .mainNav li a {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mainNav li a span {
    padding: 0;
    background-color: transparent;
  }
  .mainNav li:not(.active):hover a span {
    width: auto;
    height: auto;
    overflow: visible;
    color: rgb(82, 50, 0);
    background: transparent;
    bottom: 8px;
    text-shadow: 1px 1px 40px rgba(0, 0, 0, 0.5);
  }
}
/* ====================*/
/* store               */
/* ====================*/
.store main {
  text-align: center;
}

.store main a:hover strong {
  text-decoration: underline;
}

.store strong {
  font-size: 32px;
  display: block;
  padding-bottom: 24px;
}

.store main a > div {
  padding: 8px 20px;
}

.store main a:hover > div {
  padding: 0 12px;
}

.store main a:hover img {
  border: 4px solid white;
}

/* ============= */
/* cursor trails */
/* ============= */
bubbles:nth-of-type(odd) {
  background: rgb(251, 246, 203);
  box-shadow: 10px 10px 30px rgb(255, 240, 120), -10px -10px 30px rgb(255, 240, 120), 5px 5px 30px rgb(255, 240, 120);
}

bubbles:nth-of-type(even) {
  background: rgb(2, 1, 77);
  box-shadow: 10px 10px 30px rgb(240, 255, 200), -10px -10px 30px rgb(240, 255, 200), 5px 5px 30px rgb(240, 255, 200);
}

bubbles {
  z-index: 0;
  border-radius: 100%;
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: shrink 0.7s 0.3s;
}

@keyframes shrink {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
  }
}
/* ====================*/
/* fluid width youtube */
/* ====================*/
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  margin-bottom: 20px;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============ */
/* landing page */
/* ============ */
.intro main {
  padding: 10px;
}

.intro {
  display: flex;
  align-content: center;
  justify-content: center;
  background-color: black;
}

.intro .btn {
  padding: 20px 20px;
  width: 100%;
  max-width: 190px;
  text-decoration: none;
  color: white;
  font-size: 18px;
  background-color: black;
  display: block;
}

.intro a:hover span {
  text-decoration: underline;
  background-color: rgb(243, 236, 221);
  color: black;
}

.intro img {
  padding: 4px;
}

.intro a:hover img {
  border: 4px solid white;
  padding: 0;
}

article header {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: center;
}

article header .title {
  text-align: left;
  font-style: italic;
}

article header .date {
  text-align: right;
}

article figure {
  width: 100%;
  height: auto;
  margin: 0;
}

article {
  padding-bottom: 40px;
  border-bottom: 5px groove white;
  margin-bottom: 20px;
}

article p {
  text-align: left;
}