@font-face {
    font-family: mmc;
    src: url('./fonts/mmc.ttf') format('truetype');
}

/* --- Grundlayout --- */

body {
    margin: 0;
    background-color: #6b5553; /* Hintergrundfarbe aus Screenshot */
    font-family: mmc, 'Courier New', Courier, monospace;
    color: #ECD7AF; /* Beige Farbe aus Screenshot */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  h1 {
    font-size: 6rem;
    margin: 1rem 0 0;
    font-weight: bold;
    text-align: center;
  }
  h2 {
    font-size: 3rem;
    margin: 0;
    font-weight: bold;
    text-align: center;
  }
  
  p {
    font-size: 1rem;
    margin: 0;
    font-weight: bold;
    text-align: left;
    color: #6c5553;
  }
  /* --- "Now Playing" Banner --- */
  .banner {
    position: absolute;
    top: 6em;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background-color: #C9B790;
    padding: 1em 0;
    font-weight: bold;
    font-size: 3rem;
    color: #6b5553;
    letter-spacing: 2px;
    font-family: 'Space Mono', monospace;
    overflow: hidden;
    white-space: nowrap;
  }

/* --- Animation für den Bannertext --- */
.banner span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  display: inline-block;
  animation: marquee 12s linear infinite;
  font-weight: bold;
  color: #6b5553;
}

@keyframes marquee {
  from {
      left: 100%;
  }
  to {
      left: -100%;
  }
}
  
  /* --- Container für Kassetten --- */
  #spell-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    margin-top: 8em;
    max-width: 1200px;
  }
  
  /* --- Kassette --- */
  article {
    width: 260px;
    height: 135px;
    background-color: #ECD7AF;
    border: 2px solid black;
    border-radius: 10px;
    position: relative;
    padding: 0.8rem 1rem 0.3rem 1rem;
    box-shadow: 0em 2.5em 0em 0em rgb(0, 0, 0);
    /* display: flex; */
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 2em;
  }
  
  /* --- bunte Streifen --- */
  article::before {
    content: "";
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to right, #e05260, #f8dc5e, #49a16c, #5da7d4);
  }
  
  /* --- Kassettenspulen --- */
  .band-area {
    background-color: #000;
    height: 60px;
    width: 100%;
    position: relative;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 1rem 0;
  }
  
  .spool {
    position: absolute;
    top: 75px;
    width: 25px;
    height: 25px;
    background: #111;
    border: 6px solid white;
    border-radius: 50%;
  }
  
  .spool.left {
    left: 60px;
  }
  
  .spool.right {
    right: 60px;
  }
  
  /* --- Text-Icons-Zeile --- */
  .song-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 2;
  }
  
  .song-info p {
    margin: 0;
  }
  
  .icon-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .icon-line i {
    font-style: normal; /* Icons (optional) kannst du mit Emojis oder Fonts umsetzen */
  }

  /* --- Header mit Icon-Bildern links und rechts vom Titel --- */
.header-with-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.header-with-icons img {
  width: 430px;
  height: 250px;
}

.header-with-icons h1 {
  font-size: 6rem;
  margin: 0;
  font-weight: bold;
  text-align: center;
}

/* --- Archiv Dropdown und Songliste --- */
.archive-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.archive-label {
  font-size: 3rem;
  font-weight: bold;
  display: block;
  margin-bottom: 1rem;
  color: #ECD7AF;
}

.archive-dropdown {
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  background-color: #C9B790;
  color: #6b5553;
  border: none;
  border-radius: 5px;
  margin-bottom: 2rem;
  font-family: mmc, 'Courier New', Courier, monospace;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 2rem;
}

.archive-list li {
  padding: 1rem 0;
  border-bottom: 3px solid #ECD7AF;
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
}

.cassette {
  flex-direction: inherit;
    display: flex;
    height: 100%;
}

.label-time {
  margin-top: auto;
}

.label-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.label-image img {
  position: absolute;
  top: -32.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 143px;
  height: auto;
}

/* --- Responsive Design für mobile Geräte --- */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .banner {
    font-size: 1.5rem;
    padding: 1.2em 0;
    margin-top: 1em;
  }

  .banner span {
    font-size: 1.2rem;
  }

  #spell-container {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    margin-top: 6em;
  }

  article {
    height: 11em;
    padding: 0.8rem 1rem 0.3rem 1rem;
    font-size: 0.8rem;
  }

  article::before {
    bottom: 0;
  }

  .header-with-icons {
    flex-direction: row;
    gap: 1rem;
  }

  .header-with-icons img {
    width: 120px;
    height: 100px;
  }

  .header-with-icons h1 {
    font-size: 3rem;
  }

  .archive-list li {
    font-size: 1rem;
  }
  
  .label-image img {
  top: -35.3%;
}

.archive-label {
  font-size: 2rem;
}
}
