@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-VariableFont_wght.ttf");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter_24pt-Regular.ttf");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PT Serif";
  src: url("fonts/PTSerif-Regular.ttf");
  font-weight: 400;
  font-display: swap;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-color: rgb(98%, 98%, 98%);
  --text-color: rgb(2%, 2%, 2%);
  --accent1-color: #FC222D;
  --accent2-color: #FC8422;
  --accent3-color: #FC229A;
  --player-color: #f4d8b977;
}

body {
  font-family: monospace, system-ui, -apple-system;
  font-size: 18px;
  line-height: 1.5;
  background: var(--player-color);
  color: var(--text-color);
  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  
  padding: 1rem;

  /*background-image: url('images/inlay2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;*/
}

a {
  color: var(--text-color);
}

p {
  margin-bottom: 1rem;
  line-height: 1.5rem;
  font-family: "Inter", sans-serif;
}

h2 {
  font-size: larger;
  padding-bottom: 1rem;
  font-family: "PT Serif", serif;
}

/* -- LAYOUT -- */

#main-wrapper {
  border: 1px solid var(--text-color);
  padding: 0;
  max-width: 680px;
  width: 100%;
  /*background: var(--bg-color);*/
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
}

header {
  display: flex;
  align-items: center;
  padding: .5rem;
  border-bottom: 1px solid black;
  font-size: small;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
}

.broadcast-info {
  padding: 4rem 1rem 4rem 1rem;
  border-bottom: 1px solid var(--text-color);
}

.announcement {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
span.date {
  margin: auto;
  display: block;
  width: max-content;
  font-size: larger;
  max-width: 80%;
  font-family: "PT Serif", serif;
  font-weight: 600;
  text-align: center;
}

.announcement img {
  max-width: 80%;
  margin: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
}


/* -- SHOW DETAILS -- */

.show-details {
  margin-top: 4rem; 
  margin-bottom: .5rem;
}
.show-details span {
  display: block;
}

.artist-photo {
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--accent1-color);
}

.artist {
  color: var(--accent1-color);
  font-weight: bold;
  font-family: "PT Serif", serif;
}

.show-title, .show-time {
  font-weight: bold;
  font-family: "PT Serif", serif;
}

/* -- ABOUT-- */
#about p {
  font-size: x-large;
  font-weight: 600;
  line-height: 1.5;
  margin: 1rem 1rem 2rem 2rem;
  font-family: "PT Serif", serif;
}

/* -- LAYOUT ARCHIVE-- */
div.archive-track {
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}

/* -- LAYOUT FOOTER -- */
#socials {
  padding: 1rem;
  /*background-color: var(--bg-color);*/
}
#socials a {
  display: block;
  margin-bottom: .5rem;
  font-family: "Inter", sans-serif;
  font-size: small;
}

footer {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;

  font-size: small;
  gap: 1rem;
}

/* -- PLAYER -- */
.player {
  position: sticky;
  top: 0;
  background-color: var(--player-color);
  z-index: 1000;

  border-radius: 0px;
  text-align: center;
  color: var(--text-color);
  display: flex;
  flex-direction: row;

  padding: 1rem;

  border-bottom: 1px solid var(--text-color);
}

.track-info {
  text-align: left;
  margin-top: .7rem;
  margin-left: 20px;
}

.track-title {
  font-size: 18px;
  font-weight: 500;
}

.track-sub {
  font-size: 13px;
  color: #888780;
  min-height: 1.2em;
}

.track-counter {
  font-size: 11px;
  color: #b4b2a9;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
}

.marquee-track.scroll {
  animation: marquee 10s linear infinite;
}

.marquee-container:hover .marquee-track.scroll {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* -- CONTROLS -- */
.controls {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0.5px solid #b4b2a9;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a18;
  font-size: 18px;
  transition: background 0.12s, transform 0.08s;
}

.ctrl-btn:hover { background: #f5f4f0; }
.ctrl-btn:active { transform: scale(0.93); }

.play-btn {
  /*
  width: 54px;
  height: 54px;
  font-size: 22px;
  */
  background: #1a1a18;
  color: #ffffff;
  border-color: #1a1a18;
}

.play-btn:hover {
  background: #3a3a38;
  border-color: #3a3a38;
}

.pause-btn {
  display: none;
}

.pause-btn.active{
  display: inline-flex;
}


/* -- ACCORDION -- */

details#about,
details#archive,
details#elsewhere {
  border-bottom: 1px solid black;
  padding: 1rem 1rem 0 1rem;
}

summary {
  list-style: none;
}

/* -- IMPORTANT STYLES in the end to override earlier settings -- */

.hidden {
  display: none;
}

/*-- SHOW DETAILS ACCORDION LYRICS --*/

div.lyrics-container {
  margin-left: 1rem;
  margin-top: 1rem;
}
div.lyrics p {
  margin-bottom: 0;
}

