
body {
font-family: sans-serif;
max-width: 700px;
margin: 0 auto;
padding: 10px;
background-color: #ddd;
}

img {
max-width: 700px;
border-radius: 12px;
}

#albumsContainer{
margin: 20px 0;
}

.album {
margin-bottom: 20px;
padding: 20px;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.album-description {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.9em;
  line-height: 1.25;
}
.album-description p{
  margin-bottom: 10px;
}

.album-desc-text a {
  cursor: pointer;
  margin-left: 5px;
  text-decoration: underline;
}

.playlist {
list-style: none;
padding: 0;
margin: 10px 0;
}

.playlist li {
  background-color: #f3f3f3;
  color: #000;
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}


.playlist li:not(.active):hover {
background-color: #d6eaf8;
}

.playlist li.active {
background-color: #d1f2eb;
color: #000;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track-title {
color: #000;
font-weight: bold;
  text-align: left;
  flex-grow: 1;
  font-size: 0.9em;
  cursor: pointer;
}

.track-meta,
.track-video{
  display: flex;
  gap: 10px;
  align-items: right;
  font-size: 0.9em;
}

.track-credits {
  text-align: left;
  margin-top: 4px;
  font-size: 0.75em;
  font-style: italic;
  color: #777;
}
.playlist li span img {
  vertical-align: top; /* or try bottom or text-bottom */
  display: inline-block;  /* ensures the image respects vertical alignment */
  height: 100%;           /* if you want it to fill the span */
  padding-top: 2px;
}
.controls {
margin-top: 10px;
display: flex;
justify-content: center;
gap: 20px;
}

button {
padding: 6px 10px;
border: none;
border-radius: 6px;
background: #444;
color: #fff;


width: 90px;
cursor: pointer;
}

button:hover {
background: #000;
}

audio {
width: 100%;
margin-top: 12px;
}

.modal {
display: none;
position: fixed;
z-index: 9999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
background-color: #fff;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 90%;
max-width: 650px;
border-radius: 8px;
text-align: center;
}

.modal-close {
float: right;
font-size: 20px;
font-weight: bold;
cursor: pointer;
}

@media only screen and (max-width:640px) {

#albumsContainer{
margin: 10px 0;
}

.album {
margin-bottom: 10px;
padding: 10px;
}

.playlist li {
padding: 6px 6px;
}

.modal-content {
padding: 10px;
width: 90%;
}

}