@import url('https://fonts.googleapis.com/css?family=Cherry Bomb One|Itim|Coral Pixels|Special Elite');
@import url('https://use.fontawesome.com/releases/v5.8.1/css/all.css');

body {
    width: 800px;
    margin: 2px;
    height: 100%;
    
    font-family: "Itim", serif;
    overflow-x: hidden;
    cursor: crosshair;
    opacity: 95%;
    background-color: transparent;
}


header {
    font-family: "Coral Pixels", serif;
    color: #666;
    text-align: left;
    font-size: 25px;
    font-weight: bold;
    position: relative;
   
}


.entry {
    padding-bottom: 40px;
    margin: 10px 5px;  
    width: 400px;
    font-weight: bold;
    position: relative;  
    border-radius: 10px;
}
.entry p {
    font-family: "Courier New";
    font-size: 11px;
    color: #333;
    margin-top: 2px;
    
}

.album-grid {
    display: grid;
    grid-template-columns: 320px 320px; 
    column-gap: 10px;
    row-gap: 10px;
    padding: 10px;
    justify-content: start; 
    margin-top: 5px;
   
}


.container {
    width: 320px;
    padding: 10px;
    border: 1px dashed #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    box-sizing: border-box; 
    background-color: #ffffff;
}



.music-player {
  
    width: 100%;
    border-radius: 10px;
    padding-top: 4px;
}

.album-title {
    width: 100%;
    font-family: "Special Elite";
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 6px 0;
    padding-left: 2px;
}

.music-body {
    display: flex;
    align-items: flex-start;
}


.album-art {
    width: 125px;
    height: 125px;
    border-radius: 10px;
    border: 1px dashed #000000;
    image-rendering: pixelated;
       order: -1;
}




.player-info {
    flex-grow: 1;
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.artist-name {
    font-size: 18px;
    color: #333;
    font-family: "Itim", serif;
    font-weight: bold;
    margin: 0 0 2px 0;
}


.tags {
     margin: 2px 0 0px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.tags span {
     background-color: var(--accent);
     color: #eee;
    border: 1px dotted #333;
    padding: 2px 2px;
    font-size: 10px;
    border-radius: 4px;
    font-family: "Itim", serif;
    text-transform: lowercase;
}


.tracklist-label {
    font-family: "Itim", serif;
    font-size: 15px;
    font-weight: bold;
    color: var(--accent);
    margin-top: 8px;
    margin-bottom: 0px;
    padding-left: 2px;
}

.tracklist {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track {
    font-size: 12px;
    padding: 3px 0;
    border-bottom: 1px dashed  var(--accent);
    font-family: "Itim", serif;
    font-weight: bold;

}

.track:last-child {
    border-bottom: none;
}

/* Notes */
.notes {
    width: 100%;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid  var(--accent);
}


.notes p {
    font-family: "Courier New";
    font-size: 11px;
    color: #333;
     margin-top: 2px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}


.play-btn {
    cursor: pointer;
    font-size: 10px;
    margin-left: 5px;
    color: var(--accent);
}

.shuffle-btn {
    position: absolute;
    bottom: 5px;   
    left: 5px;    
    background: var(--accent);
    color: #eee;
    border: 1px dotted #000;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    z-index: 10;
}



.shuffle-btn::after {
    content: "Shuffle albums";
    position: absolute;
    left: 110%; 
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: 1px dotted #000;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.shuffle-btn:hover::after {
    opacity: 1;
}


#backToTop {
    position: fixed;
    bottom: 20px;
    left: calc(700px + 10px); 
    background:  var(--accent);
    border: 1px dotted #000;
    color: #eee;
    border-radius: 50%;
    padding: 10px 12px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.2s;
}


#backToTop::after {
    content: "Back to top";
    position: absolute;
    right: 110%; 
    top: 50%;
    transform: translateY(-50%);
    background:  var(--accent);
    border: 1px dotted #000;
    color: #eee;
    padding: 3px 6px;
    font-size: 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

#backToTop:hover::after {
    opacity: 1;
}

