* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }
:root {
  --font-heading: "Triplett Agency Light", Georgia, Times, "Times New Roman", serif;
  --font-paragraph: "AG Book Pro Regular", Arial, Helvetica, sans-serif;
}
html {
  font-size: 1rem;
  line-height: 1.4;
}
body {
  font-family: var(--font-paragraph);
  background: white;
  margin:0;
  font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  opacity: 0;
  visibility: hidden;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:transparent;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
  backdrop-filter: blur(10px);
}
body.menu-open::before {
  opacity: 1;
  visibility: visible;
}

::-moz-selection {
  color:white;
  background: #181818b9;
  text-shadow: none;
}

::selection {
  color:white;
  background: #181818b9;
  text-shadow: none;
}

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

.fade-in-item {
  opacity: 0; 
  transition: opacity 1.5s ease;
}

.visible {
  opacity: 1;
}

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


@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

.disabled.shake {
  animation: shake 0.4s ease;
}

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


/* Menu Trigger Button */
#menu-trigger {
  display: flex;
  justify-content: center;
  align-items:center;
  z-index: 100;
  position: fixed;
  top:0; right:0;
  background: black;
  border: none;
  cursor: pointer;
  width: 6em;
  height: 5.75em;
  font-size: clamp(.65rem, .5rem + .5vw, .85rem);
}
#menu-trigger .box {
  display: block;
  position: relative;
  width: 2.5em;
  height: 1.325em;
  margin-top: -1px;
}
#menu-trigger span {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  transition: all 0.4s ease-in-out;
}
#menu-trigger span:nth-child(2) {
  top:50%;
  transform: translateY(-50%);
  background-color: transparent;
  transition: transform 0.3s, opacity 0.3s;
}
#menu-trigger span:nth-child(2):before,
#menu-trigger span:nth-child(2):after {
  display: flex;
  content:"";
  position: absolute;
  top:0;
  width: 50%;
  height:100%;
  background-color: white;
  transition: transform 0.3s, background-color .3s;
}
#menu-trigger span:nth-child(2):before{
  left:0;
  flex-basis: 50%;
}
#menu-trigger span:nth-child(2):after{
  right:0;
}
.menu-open #menu-trigger span:nth-child(2):before {
  background-color: transparent;
  transform: translateX(-100%);
}
.menu-open #menu-trigger span:nth-child(2):after {
  background-color: transparent;
  transform: translateX(100%);
}

#menu-trigger span:nth-child(1){
  top:0;
  right:0;
  width: 50%;
  transition: transform 0.3s ease, width .3s ease, opacity 0.3s ease, top 0.3s ease;
}
#menu-trigger:hover span:nth-child(1), #menu-trigger:hover span:nth-child(3) {
  width:100%;
}
#menu-trigger span:nth-child(3) {
  bottom:-1px;
  left:0;
  width: 50%;
  transition: transform 0.3s ease, width .3s ease, opacity 0.3s ease, bottom 0.3s ease;
}
.menu-open #menu-trigger span:nth-child(1){
  top:50%;
  width:100%;
  transform: rotate(45deg) translate3d(0,-50%,0);
}
.menu-open #menu-trigger span:nth-child(3){
  bottom: 50%;
  width:100%;
  transform: rotate(-45deg) translate3d(0,50%,0);
}

/* Slide Menu */
#menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99;
  width: 100%;
  height: 100%;
  max-width: 30em;
  padding: clamp(2rem, 2rem + 2vw, 3.5rem);
  position: fixed;
  background: rgba(0, 0, 0, 0.85);
  top: 0;
  left: 0;
  transform: translate3d(-100%, 0, 0);
  will-change: transform;
  transition: transform .5s ease;
}

.menu-open #menu {
  transform: translate3d(0, 0, 0);
}

#menu a {
  display: inline-block;
  color:white;
  text-decoration: none;
  font-size: clamp(2rem, 1rem + 2vw, 2.75rem);
  font-weight: 500;
  transform: translate3d(0,100%,0);
  transition: opacity .35s ease, transform .35s ease
}

#menu li {
  margin-bottom: .75em;
  overflow: hidden;
}
#menu:hover ul a {
  opacity: .5;
}
#menu ul a:hover {
  opacity: 1;
}

#menu li:last-child {
  margin:0;
}

#menu a.logo {
  opacity: 0;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 1.5em;
  left: 1em;
  font-size: clamp(.875em, 1rem + .5vw, 1.325rem);
  font-weight: 500;
  color: hsl(0, 0%, 85%);
  transform:none;
  transition: opacity .5s .35s ease-in, transform .35s ease, border-color .35s ease;
}
#menu .flip-container {
  position: relative;
  width: 7em;
  height: 3em;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}
#menu a.logo:hover .flip-container, #menu a.logo:active .flip-container {
  transform: rotateY(180deg);
}

.menu-open #menu a.logo {
  opacity: 1;
}

a.logo span {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .35s ease;
}

a.logo:hover .elijah, a.logo:active .elijah {
  opacity: 0;
}
a.logo .home {
  transform: rotateY(180deg);
  background-color: rgba(0, 0, 0, 0.85);
}

.menu-open #menu ul a {
  animation: fadeIn .75s forwards;
  animation-delay: 0.25s;
}
.menu-open #menu li:nth-of-type(2) a {
  animation-delay: 0.3s;
}
.menu-open #menu li:nth-of-type(3) a {
  animation-delay: 0.35s;
}
.menu-open #menu li:nth-of-type(4) a {
  animation-delay: 0.4s;
}
.menu-open #menu li:nth-of-type(5) a {
  animation-delay: 0.45s;
}
.menu-open #menu li:nth-of-type(6) a {
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  100% {
    transform: none;
  }
}

/* HERO SECTION */
#hero {
  position: relative;
  text-align: center;
  top: 0;
  left: 0;
  height: 100vh;
  min-height: 30em;
  width: 100%;
  overflow: hidden;
}

#hero h1 {
  font-family: var(--font-heading);
  margin-bottom: 0.25em;
  color:white;
  font-weight: bold;
  letter-spacing: -.0125em;
  font-size: clamp(1.5rem, 3rem + 1.75vw, 4.85rem);
  transform: scale(.93,1); /* font stretch */
  text-shadow: 0 0 5px hsl(0,0%,100%), 0 0 20px hsla(0,0%,100%,.5), 0 0 40px hsla(0,0%,100%,.25), 0 0 40px hsla(0,0%,100%,.5), 0 0 160px hsla(0,0%,100%,.85)
}
#hero h2 {
  font-size: clamp(1.075rem, .75rem + .75vw, 1.25rem);
  font-weight: normal;
  color:white;
}

.scrolldown {
  position: absolute;
  right: clamp(2em,1.5em + 3vw,5.5em);
  bottom: 4em;
  z-index: 2;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .125em;
  transform: rotate(90deg);
  transform-origin: right bottom;
  padding-right: 5em;
  color:white;
  border:none;
  background:transparent;
  cursor:pointer;
}
.scrolldown:after {
  position: absolute;
  content: "";
  bottom: 50%;
  right: 0;
  height: 1px;
  width: 4em;
  background: white;
}

.tv {
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  background-image: url('/img/album_cover.webp');
	background-size: cover;
  background-position: center;
	transition: opacity 1.25s ease-in-out;
}
.tv::after {
  opacity: .25;
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background-color: black;
}
.tv video {
  pointer-events: none;
	object-fit: cover;
	position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
  
a.listen {
    margin-top: 3em;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: .85em;
    width: 100%;
    max-width: 12em;
    border-radius: .25em;
    transition: all .3s ease
}
.listen:hover {
    background-color: white;
    color: black;
}
#hero .social-media {
    display: flex;
    width: 100%;
    max-width: 6em;
    margin-top: calc(.5vw + 2.5em);
    justify-content: center; /* Center the items horizontally */
    align-items: center; /* Vertically center the items */
}
#hero .social-media a {
    color: white;
    font-size: clamp(1.425rem, 1rem + .5vw, 1.5rem);
    line-height: 0;
    text-decoration: none;
    margin: 0 20%; /* Adjust spacing between links */
}

/* Audio Player */
audio {display:none}
.audio-player {
  width: 100%;
  color:white;
  max-width: 25rem;
  margin:0 auto;
  margin-top: calc(1vw + 2rem);
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 6rem;
  margin:0 auto;
  margin-top: .5rem;
}
.audio-player button {
  cursor: pointer;
  background:transparent;
  border:none;
  color:white;
  font-family: "mementos";
}
button:focus {
  outline: none;
}
#prevTrack {
  transform:rotate(180deg)
}
#playBtn {
  position: relative;
  left: 1px;
  font-size: 1.125rem;}
#playBtn.playing::after {
  content: "\64";
}
#playBtn:not(.playing)::after {
  content: "\65";
}
.timer-wrapper {
  max-width: 20rem;
  margin:0 auto
}
.timer {
  margin-top: 10px;
  font-size: .725rem;
  display: flex;
  justify-content: space-between;
}
.timer span {
  font-family: "Arial";
}
#progress {
  width: 100%;
}
progress {
  height:3px;
  border:none;
  background: #404040;
  cursor: pointer;
}
progress::-moz-progress-bar, progress::-webkit-progress-value { 
 background: white;
}

/* ===== TRACKLIST SECTION ===== */
#tracklist {
  position: relative;
  overflow:hidden;
  min-height: 100vh;
  height: 100vh
}
#tracklist .container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding:0;
  max-width: none;
}

.background-slides {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background-color:black;
}
.background-slides::after, .background-slides::before {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(25px);
}
.background-slides::before {
  opacity: .4;
  background-color: black;
}

.slide {
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: opacity 0.75s cubic-bezier(0, 0, 0.3, 1), visibility 0.75s cubic-bezier(0, 0, 0.3, 1);
}
.slide.active {
  opacity: 1;
  visibility: visible;
}



.left {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  flex-basis: 60%;
  overflow: hidden;
}
.track-images {
  position: relative;
  margin: clamp(2.5em,3.5em + 5vw,7.5em) clamp(2rem, 2rem + 2vw, 4.5rem);
  margin-right: clamp(3rem, 3rem + 2vw, 5.5rem);
}

.track-image {
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top:0; left:0;
  height: 100%;
  width:100%;
  transition: opacity .5s ease, visibility .5s ease;
}
.track-image.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.track-image img {
  width: 100%;
  height: auto
}
.track-image .year {
  position: absolute;
  top: -1.325em;
  text-align: left;
  font-size: clamp(1.125rem, .5rem + .75vw, 1.25rem);
}
.track-image figcaption {
  writing-mode: sideways-lr;
  transform: translate3d(100%,0,0) rotate(180deg);
  text-align: center;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  position: absolute;
  right: 0;
  bottom:0;
  color:black;
  font-size: clamp(.9375rem, .75rem + .5vw, 1.25rem);
  font-weight: 400;
  transition: opacity .5s ease, visibility .5s ease;
}
.track-image figcaption b {
  font-weight: 500;
}
.track-image.active figcaption {
  opacity: 1;
  visibility: visible;
}
.track-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-basis: 40%;
  min-width: 30rem;
  padding:clamp(2.5em,3.5em + 5vw,7.5em) clamp(2rem, 2rem + 2vw, 4.5rem);
}
.track-info img {
  position: relative;
  z-index: 2;
  max-width: 18em;
  margin-bottom: clamp(3.5rem, 2rem + 2vw, 5rem);
  font-size: clamp(.75rem, .5rem + .5vw, 1rem);
}
.track-listing {
  position: relative;
  z-index: 2;
  display: flex;
  width:100%;
  max-width: 40em;
}
.track-listing ol {
  flex-basis: 100%;
  text-transform: lowercase;
}
.track-listing li {
  margin-bottom:clamp(1.75rem, 1rem + 1vw, 2rem);
  display: flex;
  color:hsla(0,0%,100%,.5);
  font-size: clamp(.9375rem, .5rem + .5vw, 1rem);
  justify-content: space-between;
  cursor: default;
  transition: color .35s ease
}
.track-listing li.active {
  color:hsla(0,0%,100%,1);
}
.track-listing li:hover {
  color:hsla(0,0%,100%,1);
}
.track-listing li:last-child {
  margin-bottom: 0;
}
.track {
  display: flex;
  flex-grow: 1;
  text-align: left;
}
.location {text-align: right;}
.track::after {
  display: inline-block;
  position: relative;
  content:'';
  flex-grow: 1;
  margin: 0 .25em;
  border-bottom: 1px dashed hsla(0,0%,100%,.5);
  bottom: .325em;
  transition:border-color .35s ease
}
.track-listing li.active .track::after {
  border-bottom: 1px dashed white;
}

/* ===== INFO SECTION ===== */
#info {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 100vh;
}
#info .container {
  flex-basis: 50%;
  align-items: center;
  padding:clamp(2.5em,3.5em + 5vw,7.5em) clamp(2em,2em + 2vw,5em)
}
#info figure {
  flex-basis: 25%;
  opacity: .9;
}
#info img {
  width: 100%;
  height: 100%;
  object-fit:cover;
  object-position: left;
}
#info figure:last-child img {
  object-position: right;
}

#info .text-wrapper {
  margin:0 auto;
  max-width: 40em;
  min-width: 28em;
}

#info .text-wrapper h3 {
  font-size: clamp(1rem, 1rem + .25vw, 1.25rem);
  margin-bottom: 1.5em;
  font-weight: 500;
  line-height: 1.5;
}

#info .text-wrapper p {
  margin-top: 0;
  margin-bottom: 1.25em;
  font-size: clamp(.9375rem, .5rem + .5vw, 1.075rem);
}
#info .text-wrapper p.end-note {
  margin-top: 3em;
  margin-bottom: 0;
}

 /* Full-screen video style */
 #mementos {
  position: relative;
  height:100vh;
  background: url('/img/mementos_bg.webp') no-repeat center;
  background-size: cover;
 }
 #map { position: absolute; top: 0; bottom: 0; width: 100%; height:100% }

 #map-overlay {
  z-index:5;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top:0;
  left:0;
  background-color:rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#map-overlay.visible {
  opacity: 1;
  visibility: visible;
  width:100%;
  height:100%;
}
#load-map {
  background-color: transparent;
  padding: 1rem 1.75rem;
  color:white;
  font-family: var(--font-paragraph);
  font-weight: 400;
  font-size: clamp(.9375rem, .5rem + .5vw, 1rem);
  border:1px solid white;
  border-radius: .25em;
  cursor: pointer;
  transition: color .35s ease, background-color .35s ease;
}
#load-map:hover {
  color: black;
  background-color: white;
}

 #mementos .select_memento {
  position: absolute;
  z-index: 2;
  bottom:0;
  left:0;
  right:0;
  padding:1em;
  background-color: rgba(0,0,0,.85);
  text-align: center;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  max-width: 20em;
  margin: 0 auto;
 }
 #mementos .select_memento p {
  font-size: clamp(1rem, 1rem + .25vw, 1.25rem);
  font-weight: 500;
  color: white;
 }
 #video-popup {
  opacity: 0;
  visibility: hidden;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: visibility .5s ease, opacity .5s ease, transform .5s ease;
}
#video-popup.appear {
opacity: 1;
visibility: visible;
}

#video-popup video {
  opacity: 0;
  max-width: 100%;
  max-height: 100%;
  transition: opacity 1s .5s ease;
}
#video-popup.appear video {
opacity: 1;
}

.pulse-loader {
  height: 50px;
  width: 50px;
  margin: auto 0;
  position: absolute;
}
.pulse-loader:before, .pulse-loader:after {
  animation: pulse-loader infinite 2s;
  box-shadow: 0 0 5px #FFFFFF;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  content: "";
  display: block;
  height: 100%;
  left: -3px;
  opacity: 0;
  position: absolute;
  top: -3px;
  width: 100%;
}
.pulse-loader:after {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}

@-webkit-keyframes pulse-loader {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes pulse-loader {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}


.map-marker div {
  transition: opacity .35s ease;
}
.map-marker:focus div {
  opacity: 1;
}

#credits .container {
  flex-direction: column;
}
#credits h2 {
  font-family: 'Triplett Agency Light';
  font-weight: bold;
  letter-spacing: -.0125em;
  transform: scale(.93,1); /* font stretch */
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  line-height: 1.4;
  margin-bottom: 0;
}
#credits h3 {
  font-size: clamp(1.25rem, 1.325rem + .5vw, 1.75rem);
  font-weight: 500;
  margin-bottom: .5em;
}
#credits p {
  font-size: .85rem;
}
#credits .k3 {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 35em;
    display: block;
    max-width: 70em;
    margin: 0 auto;
    padding: clamp(3rem, 2rem + 3vw, 5rem) 0 clamp(2rem, 2rem + 2vw, 4rem)
}


footer {
  background-color: black;
  color:white
}
footer .container {
  justify-content: space-between;
  padding: clamp(1.75rem,1rem + 1.5vw, 2.25em) 1.25em;
}
footer a, footer b {
  font-weight: 500;
  color:white;
  text-decoration: none;
}
footer .social-media {
  display: flex;
  align-items: center;
}
footer .social-media a {
  line-height: 0;
  font-size: 1.25rem;
  margin-left: clamp(.85rem, .5rem + .5vw, 1rem);
}
@media only screen and (max-width: 64rem) {
  .scrolldown {
    display: none;
  }
  .track-images {
    margin:0;
    margin-right: 0;
  }

  #tracklist {
    height: auto
  }
  
  #tracklist .container {
    flex-direction: column;
  }
  #tracklist .left {
    padding: clamp(3em,3.5em + 5vw,7.5em) 1.75em clamp(2.5em,3em + 5vw,7.5em) 1.25em
  }

  .track-info {
    flex-direction: column-reverse;
    min-width: 0;
    border:none;
    padding: clamp(3em,3.5em + 5vw,7.5em) 1.25em
  }

  .track-info img {
    max-width: 20em;
    margin-bottom: 0;
    margin-top: clamp(2.5em,3.5em + 5vw,7.5em);
    font-size: clamp(.75rem, .5rem + .5vw, 1rem);
  }
}
@media only screen and (max-width: 48rem) {
  #info {
    flex-direction: column;
    justify-content: center;
  }
  #info figure {
    display: none;
  }
  #info .container {
    padding: clamp(2.5em,3.5em + 5vw,7.5em) 1.5em
  }
  #info .text-wrapper {
    min-width: 0;
    max-width: 28em;
  }
}
@media only screen and (max-width: 40rem) {
  .track {
    min-width: 8em;
    margin-right: 2em;}
  .track::after{
    display: none;
  }
  .track-listing li{
    margin: 0;
    padding: clamp(.75em, .5em + .5vw, 1em) .125em;
    border-top: 1px dashed hsla(0,0%,100%,.25)
  }
  .track-listing li:last-child {
    border-bottom: 1px dashed hsla(0,0%,100%,.25)
  }

  footer .container {
    flex-direction: column-reverse;
    justify-content: center;
  }
  footer .social-media {
    margin-top: .25em;
    margin-bottom: 1.5em;
    justify-content: center;
  }
  .social-media a {
    margin: 0 .5em!important
  }
}

@media only screen and (max-width: 28.125rem) {
  .track-image {
    width:93%
  }

}


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

.container {
  display: flex;
  width: 100%;
  max-width: 94rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  padding:clamp(2.5em,3.5em + 5vw,7.5em) 1.25em
}

#hero .container {
  display: flex;
  z-index: 2;
  align-items: center;
  flex-direction: column;
  top: calc(50% + 1em);
  position: absolute;
  left:0;
  right:0;
  transform: translate3d(0,-50%,0);
  max-width: 30em;
}

.text-wrapper {
  text-align: left;
  line-height: 2.25;
  max-width: 45em;
}
.text-wrapper.center {
  text-align: center;
}
.text-wrapper h2 {
  margin: -.25em 0 .75em;
  font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
  line-height: 1.4;
}
.text-wrapper p {
  margin-top: .75em;
}
.spacing-right {
  margin-right: 7.5%;
}
.spacing-left {
  margin-left: 7.5%;
}

ul {
  list-style: none;
}

