:root {
  --highlight: #9f3333;
}

body {
  background-image: url('./../images/base/bg-red.png');
  background-color: #230101;
}

h1 {
  color: var(--highlight);
}

em {
  color: var(--subText);
}

#main-content h2 {
  color: var(--highlight);
  font-size: 1.5rem;
  border-bottom: 1px dashed var(--highlight);
}

/* Disc */

.disc-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.disc-card a {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  text-decoration: none;
}

.disc-cover {
  width: 200px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #333333;
}

.disc-info {
  padding: .5rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.disc-title {
  margin: 0 0 1.5rem;
}

.disc-card a:hover .disc-title {
  text-decoration: underline;
}

.disc-release-date {
  margin: 0;
  color: var(--text);
}

/* Disk Details */

.detail-content h1 {
  margin: 1rem 0 1rem 0;
}

.detail-content .row {
  display: flex;
  flex-direction: row;
}

.detail-content .col {
  display: flex;
  flex-direction: column;
  width: 50%;
}

/* Carousel */

.carousel {
  position: relative;
  max-width: 450px;
  margin: 2rem 2rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.carousel-images {
  display: flex;
  transition: transform .4s ease;
}

.carousel-images a {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.carousel-images img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  user-select: none;
}

/*
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
*/



.dots button {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 6px;
  background-color: black;
  position: relative;
  top: -6px;
  cursor: pointer;
}

.dots .next {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  right: -6px;
}

.dots .prev {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  left: -6px;
}




.dots {
  text-align: center;
  margin-top: 12px;
  max-width: 450px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #666666;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #ffffff;
}

/* Credits */

.credits {
  color: var(--subText);
  margin: 0 2rem 0 0;
}

.credits span {
  color: var(--text);
  font-weight: bold;
}

.credits span.notes {
  color: var(--subText);
  font-weight: normal;
  font-style: italic;
}

/* Track List */

.tracklist {
  margin: 0;
  padding-left: 0;
}

.tracklist li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--subText);
  display: block;
  justify-content: space-between;
}

.tracklist li:last-child {
  border-bottom: none;
}

.track-number {
  color: var(--text);
  width: 26px;
  border-radius: 12px;
  background-color: #333333;
  display: inline-block;
  text-align: center;
  margin-right: 2rem;
}

/* Music Services */

.music-services {
  display: flex;
  flex-direction: row;
}

.services {
  padding: 2rem 2rem;
}

.service {
  margin: 1rem 0;
}

.service a {
  height: 32px;
  line-height: 32px;
  width: 80px;
  padding: 0 0 0 40px;
  display: block;
}

.bandcamp {
  background: url(./../images/base/bandcamp-icon.png) 0px 0px no-repeat;
}

.itunes {
  background: url(./../images/base/itunes-icon.png) 0px 0px no-repeat;
}

.spotify {
  background: url(./../images/base/spotify-icon.png) 0px 0px no-repeat;
}

.cdbaby {
  background: url(./../images/base/cdbaby-icon.png) 0px 0px no-repeat;
}

/* Audio Embed */

iframe {
  margin-top: 2rem;
}

/* Lyrics */

.lyrics {
  color: #ffffff;
}

@media (max-width:700px) {

  .detail-content .row {
    display: flex;
    flex-direction: column;
  }

  .detail-content .col {
    width: 100%;
  }

  .credits {
    margin: 0;
  }

  .carousel {
    margin: 2rem 0 0 0;
  }
}

@media (max-width:480px) {

  .disc-grid {
    gap: 1rem;
  }

  .disc-card a {
    flex-direction: column-reverse;
    flex-wrap: nowrap;
  }

  .disc-info {
    padding: .5rem .5rem .5rem 0;
  }

  .disc-title {
    margin: 0;
  }

  .music-services .services {
    padding: 1rem;
  }
}