@font-face {
  font-family: 'unitweb';
  src: url('unitweb.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'unitweb', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  background-color: #000;
  color: #acb8cd;
}

p {
  margin-bottom: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
  color: #acb8cd;
  font-weight: normal;
}

h1.title {
  font-size: 2rem;
}

h1.sub {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h4, h5, h6 {
  font-size: 1.2rem;
}

h5, h6 {
  font-style: italic;
  color: #fff;
}

a {
  color: #acb8cd;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
  color: #888;
}

blockquote {
  margin: 20px 0;
  padding: 10px 20px;
  border: 1px solid #E5E5DB;
  background: #F5F5F1;
}

ul, ol {
  margin-bottom: 22px;
  padding-left: 20px;
}

ul li {
  list-style-type: circle;
  margin-bottom: 6px;
}

ol li {
  margin-bottom: 11px;
}

/* Layout */
#main {
  max-width: 900px;
  margin: 0 auto;
  background: url('content.png') repeat-y;
  display: flex;
  flex-direction: column;
}

header#header {
  background-color: #000;
}

#logo {
  position: relative;
  height: 270px;
  background: url('../img/logo.png') no-repeat center/cover;
}

#logo_text {
  position: absolute;
  top: 20px;
  left: 30px;
}

#logo_text h1 a {
  text-decoration: none;
  color: #acb8cd;
  letter-spacing: 0.1em;
}

#logo_text h1 a .logo_colour {
  color: #555;
}

#menubar {
  background-color: #111;
  width: 100%;
}

nav#menubar ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;            /* entfernt Außenabstand */
  padding: 0;           /* entfernt Innenabstand */
}

nav#menubar ul li {
  flex: 1; /* jeder Link nimmt gleichen Platz ein */
  text-align: center;
  list-style: none; 
}

nav#menubar ul li a {
  display: block;
  padding: 9px 20px;
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  background-color: #ccc;
  text-align: center;
  text-decoration: none;
}

nav#menubar ul li a:hover {
  background-color: #aaa; /* optional: Hover-Farbe */
  color: #000;
}

nav#menubar ul li.selected a {
  background-color: #fff;
  color: #111;
}


main#site_content {
  display: flex;
  gap: 30px;
  padding: 20px;
  background-color: #000;
}

.sidebar {
  flex: 0 0 220px;
  padding: 20px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar li a {
  display: block;
  padding-left: 20px;
  background: url('link.png') no-repeat left center;
  color: #acb8cd;
  padding-left: 0;
  text-decoration: none;
  list-style: none;
}

.sidebar li a:hover {
  color: #888;
}

#content {
  flex: 1;
  padding: 0 20px;
}

#content ul li {
  background: url('bullet.png') no-repeat left center;
  padding-left: 25px;
  margin-bottom: 6px;
}

footer#footer {
  padding: 20px 0;
  text-align: center;
  background-color: #000;
  color: #AAA;
  border-top: 1px solid #fff;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

footer#footer a {
  color: #fff;
  text-decoration: none;
}

footer#footer a:hover {
  text-decoration: underline;
}

/* Forms */
.form_settings {
  margin-top: 15px;
}

.form_settings p {
  margin-bottom: 4px;
}

.form_settings span {
  display: inline-block;
  width: 200px;
}

.form_settings input,
.form_settings textarea,
.form_settings select {
  width: 100%;
  max-width: 300px;
  padding: 5px;
  border: 1px solid #E5E5E5;
  background-color: #000;
  color: #555;
  font-family: 'unitweb', sans-serif;
}

.form_settings .submit {
  background-color: #555;
  color: #fff;
  border: 1px solid #fff;
  width: 100px;
  height: 33px;
  cursor: pointer;
}


/* Intro-Bereich (Bild + Text nebeneinander) */
.intro {
  display: flex;
  align-items: flex-start; /* richtet Bild und Text oben aus */
  gap: 20px; /* Abstand zwischen Bild und Text */
  margin-top: 20px;
  flex-wrap: wrap; /* bei schmalen Bildschirmen umbrechen */
}

.intro img {
  flex: 0 0 270px; /* feste Breite wie im Original */
  max-width: 100%;
  height: auto;
  border-radius: 4px; /* leicht modernisiert */
}

.intro-text {
  flex: 1;
  color: #acb8cd;
  line-height: 1.5;
}

.intro-text p {
  margin-bottom: 1em;
  text-align: justify;
}

.album-row {
  display: flex;
  justify-content: center; /* zentriert horizontal */
  gap: 4%; /* Abstand zwischen den Bildern */
  flex-wrap: wrap; /* falls Bildschirm zu klein, umbrechen */
}
.album-row img {
  display: block;
}


.song-columns {
  display: flex;
  justify-content: center;
  gap: 50px; /* Abstand zwischen den Spalten */
  flex-wrap: wrap; /* falls Fenster zu klein */
}

.song-columns .column {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 4px;
}


.song-columns .column a {
  text-decoration: none;
  color: #FFF; /* optional: gleiche Farbe wie dein Layout */
  font-size: 14px; /* optional: anpassen */
}

.album {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.album-tracks {
  flex: 1;
  line-height: 1.5;
}

.album-cover img {
  border: 1px solid grey;
  max-width: 200px;
  height: auto;
}

@media (max-width: 1024px) {
  main#site_content {
    flex-direction: column;
    padding: 15px;
  }
  .intro img {text-align: center}
  .sidebar {
    flex: 1 1 auto;
    width: 100%;
    padding: 15px 0;
    order: 2; /* Sidebar unter Content */
  }

  #content {
    padding: 0;
    order: 1;
  }

  nav#menubar ul {
    flex-direction: row;
    flex-wrap: wrap;
  }

  nav#menubar ul li {
    flex: 0 0 33%;   /* genau 50% Breite = 2 pro Zeile */
    box-sizing: border-box;
    text-align: center;
    margin: 0;        /* kein zusätzlicher Abstand, sonst passt es nicht */
  }

  nav#menubar ul li a {
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

    .song-columns {
    flex-direction: column;  /* alle Spalten untereinander */
    gap: 20px;
  }

  .song-columns .column {
    width: 100%;             /* volle Breite */
    text-align: center;      /* optional für Links */
  }

  .song-columns .column a {
    font-size: 16px;         /* evtl etwas größer auf Mobile */
  }

  #logo {
    height: 150px; /* vorher 270px */
    background-size: contain; /* Bild passt sich an */
  }
    h1.title {
    font-size: 1.5rem;
  }

  h1.sub {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1rem;
  }
  .album {
    flex-direction: column; /* Stapelt Cover und Tracks */
  }

  .album-tracks {
    margin-top: 10px;
    margin-left: 10px;
  }

  .album-cover img {
    width: 80%;
    margin-left: 10px;
  }

}


@media (max-width: 768px) {
  .song-columns {
    flex-direction: column;  /* alle Spalten untereinander */
    gap: 20px;
  }

  .song-columns .column {
    width: 100%;             /* volle Breite */
    text-align: center;      /* optional für Links */
  }

  .song-columns .column a {
    font-size: 16px;         /* evtl etwas größer auf Mobile */
  }
}



@media (max-width: 600px) {
  h1.title {
    font-size: 2rem;
  }

  h1.sub {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  main#site_content {
    padding: 10px;
    gap: 15px;
  }

  main p {
    text-align: left;
  }

  .sidebar ul li a {
    padding-left: 15px;
  }

  nav#menubar ul li a {
    font-size: 0.9rem;
    padding: 8px 10px;
  }
}
