/* Main container for the media player */
#mediaplayer {
    position: relative;
    width: 350px;
    height: 400px;
    margin: auto;
    overflow-x: hidden;
    overflow-y: auto;

    background-image: linear-gradient(to top, #b2ccff, #cce0ff, #deebff, #cce0ff, #b2ccff);
    border-radius: 12px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    padding: 12px; 

    line-height: 0; /* to remove the pesky <br>s */
    scrollbar-width: none;
}

/* Style for each individual song track block */
#track {
    display: flex;
    align-items: center;
    clear: both;
    border: 1px solid #b2ccff;
    background-image: linear-gradient(to top, #cce0ff, #deebff, #cce0ff);
    padding: 5px;
    border-radius: 7px;
}

#track:not(:first-child) {
    margin-top: 7px;
}

.imgleft {
    padding: 0;
}

/* Styling for the image within the song entry */
#track img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 3px;
    object-fit: cover;
    margin-right: 12px;
    /*float: none;
     Note: If imgleft creates a wrapper div around the image and that div floats,
       this specific 'float: none' might not be needed or effective on the image directly.
       However, flexbox on #track generally takes over layout. */
}

/* Styling for the text content group (song title and album) */
#textinfo {
    flex-grow: 1;
}

/* Styling for the bold song title */
#textinfo b {
    display: block; /* Make the bold text a block to push the italic text to the next line */
    font-size: 1.1em;
    color: #333;
    margin-bottom: 2px; /* Small space between title and album */
    line-height: 1.5;
}

/* Styling for the italic album name */
#textinfo i {
    display: block; /* Ensure the italic text is on its own line */
    font-size: 0.9em;
    color: #555;
    line-height: 1;
}

/* Styling for the horizontal rule separator */
hr {
    height: 1px; /* Make it a thin line */
    border: none; /* Remove default borders */
    border-top: 1px solid #eee; /* Light gray line at the top */
    margin: 15px 0; /* Space above and below the line */
    background: none; /* Ensure no background color obscures the border */
}




/* ------------ Custom Blocks ------------ */
/* ------- Navs ------- */
#pageNav, #pageNavSub {
  display: inline-block;
  /*margin-top: 1em;*/
}
#pageNav a, #pageNavSub a {
  background: #F0F4FA55;
  color: #4678B3;
  padding: 5px 7px;
  border: 1px dashed #4678B3;
  border-radius: 1em;
  font-weight: bold;
  margin: 24px 2px;
}
#pageNav a {
  font-size: 15px;
}
#pageNav a:hover, #pageNavSub a:hover {
  background: #F0F4FA99;
  color: #274052;
  border: 1px solid #274052;
}
/* ------- Headers ------- */
#hdr1, #hdr2, #hdr3, #hdr4 {
  color: #4678B3;
  font-weight: bold;
  display: inline-block;
}
#hdr1 {
  font-size: 18px;
  margin-top: 7px;
  margin-bottom: 5px;
}
#hdr2 {
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 4px;
}
#hdr3 {
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: 3px;
}
#hdr4 {
  font-size: 12px;
  margin-top: 5px;
  margin-bottom: 3px;
  float: left;
}
/* ------- Inline Code Block ------- */
#inlineCode {
  background: #F0F4FA;
  border: 1px solid #9CABBB;
  font-family: "Courier New", Courier, monospace;
  border-radius: 3px;
  padding: 7px 9px;
  margin: 1px 0;
  display: inline-block;
  text-align: left;
  overflow-x: auto;
  max-width: 100%;
}
/* ------- Cards ------- */
/* --- Moods --- */
#moodCards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#moodCard {
  background: #9FBDE0 url("https://www.transparenttextures.com/patterns/crossword.png");
  border: 1px solid #4678B3A8;
  border-radius: 7px;
  box-shadow: 2px 1px 7px #27405226;
  padding: 0 1.5em 1.75em;
  margin: 6px;
  align-self: center;
}
/* --- Bases --- */
#baseCards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#baseCard {
  background: #9FBDE0 url("https://www.transparenttextures.com/patterns/crossword.png");
  border: 1px solid #4678B3A8;
  border-radius: 7px;
  box-shadow: 2px 1px 7px #27405226;
  padding: 1em;
  margin: 6px;
}
#baseCard img {
  box-sizing: border-box;
  border: 3px double #4678B3;
  padding: 1px;
  margin: 5px;
}
/* --- Eyes --- */
#eyeContainer {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
#eyeCard {
  background: #9FBDE0 url("https://www.transparenttextures.com/patterns/crossword.png");
  border: 1px solid #4678B3A8;
  border-radius: 7px;
  box-shadow: 2px 1px 7px #27405226;
  padding: 1em 1em 0;
  min-width: 175px;
  margin: .5em;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: row;
  grid-row-gap: 1em;
  grid-template-areas:
    "Title Title"
    "Green Blue"
    "Brown Red";
}
#title { grid-area: Title; }
#green { grid-area: Green; }
#blue { grid-area: Blue; }
#brown { grid-area: Brown; }
#red { grid-area: Red; }
/* ------- Artist's List ------- */
#artistsList ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
#artistsList li {
  list-style: none;
  padding: 1em;
}