@import url("https://fonts.cdnfonts.com/css/sf-pro-display");
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
  background-color: #e9e9eb;
}

main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}

#main-header {
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 20px;
  gap: 20px;
}

#tower-records {
  font-family: MS Gothic, sans-serif;
  font-size: 18px;
  font-style: italic;
  letter-spacing: -2px;
  text-align: center;
}

#title-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#main-title-text {
  font-family: 'IBM Plex Mono', sans-serif;
  font-size: 120px;
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: -20px;
  margin-top: 5px;
}

#back-button {
	pointer-events: all !important;
	image-rendering: pixelated;
	margin-left: 20px;
  margin-top: 20px;
  position: absolute;
}

#back-button img {
	width: 354px;
	height: 64px;
}

#intro-text {
  font-family: 'IBM Plex Mono', sans-serif;
  max-width: 800px;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 400ms ease, opacity 400ms ease;
}

#intro-text.is-visible {
  max-height: 1000px;
  opacity: 1;
}

#intro-text.is-hiding {
  opacity: 0;
}

.disclaimer {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  margin-bottom: 80px;
  transition: transform 200ms ease;
}

.disclaimer:hover {
  transform: scale(1.05);
}

.disclaimer:active {
  transform: scale(0.96);
}

.disclaimer:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.jewel-case {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-toggle {
  width: 800px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.album-art-wrap {
  position: relative;
  width: 400px;
  height: 350px;
}

.jewel-case-upper, .jewel-case-art, .jewel-case-lower {
  position: absolute;
  top: 0;
  transition: transform 200ms ease;
}

.jewel-case-upper, .jewel-case-lower {
  left: 0;
  width: 400px;
}

.jewel-case-upper {
  z-index: 3;
  opacity: 60%;
  pointer-events: none;
}

.yeezus-case .jewel-case-upper {
  height: 350px;
  object-fit: cover;
  opacity: 1;
}

.yeezus-case .jewel-case-art, .yeezus-case .jewel-case-lower {
  display: none;
}

.jewel-case-art {
  z-index: 2;
  left: 53px;
  top: 15px;
  width: 320px;
  height: 320px;
  object-fit: cover;
  filter: drop-shadow(0px 0px 2px black);
}

.jewel-case-lower {
  z-index: 1;
  pointer-events: none;
}

.album-toggle:hover .jewel-case-upper, .album-toggle:hover .jewel-case-art, .album-toggle:hover .jewel-case-lower {
  transform: scale(1.05);
}

.album-toggle:active .jewel-case-upper, .album-toggle:active .jewel-case-art, .album-toggle:active .jewel-case-lower {
  transform: scale(0.96);
}

.album-length:empty, .track-time:empty {
  display: none;
}

.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  margin-left: 5px;
}

.badge-icon {
  width: 32px;
  height: 32px;
  scale: 0.8;
  opacity: 0.4;
}

.badge:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25em 0.5em;
  background: #222;
  color: #fff;
  white-space: nowrap;
  border-radius: 4px;
  font-size: 0.75em;
  z-index: 10;
  font-family: 'SF Pro Display', sans-serif;
}

.section-title {
  font-size: 24px;
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
}

.album-heading {
  display: flex;
  flex-direction: column;
  text-align: start;
  max-width: 380px;
}

.album-title {
  font-size: 36px;
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 500;
  margin-bottom: 0px;
  margin-top: 0px;
  display: inline;
}

.album-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.album-year {
  font-size: 18px;
  color:#636366;
  margin-left: 2px;
  font-family: 'IBM Plex Mono', sans-serif;
  font-weight: 400;
}

.album-length {
  font-size: 16px;
  color:#909094;
  margin-bottom: 2px;
  font-family: 'IBM Plex Mono', sans-serif;
  font-weight: 400;
}

.album-summary {
  font-family: 'SF Pro Display', sans-serif;
}

.album-summary p {
  margin-top: 10px;
  margin-left: 3px;
  margin-bottom: 5px;
}

.album-info, .album-thoughts {
  font-family: 'SF Pro Display', sans-serif;
  font-weight: 400;  
  text-align: center;
}

.album-badges {
  display: inline;
  margin-left: 0;
}

.title-container {
  display: block;
}

.album-details {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 400ms ease, opacity 400ms ease;
  width: 850px;
}

.album-details.is-visible {
  max-height: 2000px;
  width: 850px;
  opacity: 1;
}

.album-details.is-hiding {
  opacity: 0;
  width: 850px;
}

.tracklist {
  list-style: none;
  padding: 0;
  margin-top: 5px;
  overflow-y: auto;
  font-family: 'IBM Plex Mono', monospace;
}

.main-tracklist {
  max-height: 300px;
}

.favorite-song-list {
  border-top: 1px solid #cdcdcd;
}

.tracklist::-webkit-scrollbar {
  display: none;
}

.track-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border-bottom: 1px solid #cdcdcd;
  cursor: pointer;
  user-select: none;
}

.track-row:hover { 
  background: #dbdbdb; 
}

.track-number {
  color: #8e8e93;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.track-name {
  min-width: 0;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-time {
  color: #8e8e93;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.track-number, .track-play {
  grid-column: 1; 
  grid-row: 1; 
  text-align: center;
}

.track-play {
  opacity: 0; 
  color: #8e8e93; 
  font-size: 13px; 
}

.track-row:hover .track-number {
  opacity: 0; 
}

.track-row:hover .track-play {
  opacity: 1; 
}
  
.track-row.active .track-name {
color: rgb(204, 0, 0);
font-weight: bold;
}

.track-row.active .track-number {
  opacity: 0;
}

.track-row.active .track-play {
  opacity: 1;
  color: rgb(204, 0, 0);
}

.favorite-songs h4 {
  margin: 0 0 0.25rem;
}

.favorite-song-list .track-row {
  row-gap: 0;
}

.favorite-song-list .track-name {
  grid-column: 2;
  grid-row: 1;
}

.favorite-subtitle {
  grid-column: 2;
  grid-row: 2;
  overflow: hidden;
  color: #666;
  font-size: 0.85em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-song-list .track-time {
  grid-column: 3;
  grid-row: 1;
}

.tcd .title-container {
  width: 820px;
}

#disclaimer-text {
  font-family: 'IBM Plex Mono';
  font-weight: 500;
  font-size: 50px;
  margin-left: 170px;
  margin-top: -163px;
}

#credits {
  font-family: 'IBM Plex Mono';
  text-decoration: none;
  color: #aaaaaa;
  padding-top: 40px;
  padding-bottom: 40px;
}

#credits a {
text-decoration: none;
color: #aaaaaa;
}