body {
    background-color: rgb(24, 143, 190);
    /* Smoothly transition the background color */
    transition: background-color .5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 90vh;
    overflow: auto;
}
.content{
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    height: 80vh;
    width: 100%;
    padding-top: 20px;
} 

.player {
    height: 80vh;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 5px;
}
    
.details {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
    
.track-art {
    margin: 35px;
    height: 257px;
    width:280px;
    background-image: url("../images/SF007outline.png");
    background-size: cover;
    background-position: center;
    margin-bottom: auto;
    /*border-radius: 15%;*/
}

.track-name {
    font-size: 3rem;
    font-family: 'Times New Roman', Times, serif;
}
    
.track-artist {
    font-size: 1.5rem;
    font-family: 'Times New Roman', Times, serif; /*change this*/
}
    
/* Using flex with the row direction to align items in a horizontal direction */
.buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
}
    
.playpause-track,
.prev-track,
.next-track{
    padding: 25px;
    opacity: 0.8;
    
    /* Smoothly transition the opacity */
    transition: opacity .2s;
}
    
/* Change the opacity when mouse is hovered */
.playpause-track:hover,
.prev-track:hover,
.next-track:hover,
.change-color:hover,
.queue:hover {
    opacity: 1.0;
}
    
/* Define the slider width so that it scales properly */
.slider_container {
    width: 75%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
/* Modify the appearance of the slider */
.seek_slider, .volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: black;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
    
/* Modify the appearance of the slider thumb */
.seek_slider::-webkit-slider-thumb,
.volume_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    cursor: pointer;
    border-radius: 50%;
}
    
/* Change the opacity when mouse is hovered */
.seek_slider:hover,
.volume_slider:hover {
    opacity: 1.0;
}
    
.seek_slider {
    width: 60%;
}
    
.volume_slider {
    width: 30%;
}
    
.current-time,
.total-duration {
    padding: 10px;
}
    
i.fa-volume-down,
i.fa-volume-up {
    padding: 10px;
}

/* Change the mouse cursor to a pointer
when hovered over */
i.fa-play-circle,
i.fa-pause-circle,
i.fa-step-forward,
i.fa-step-backward {
    cursor: pointer;
}
/* Icon container for color and queue buttons */
.icon-container {
    display: flex;
    justify-content: space-between;
    gap: 6em;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
}
.change-color, .queue {
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.content .change-color:hover, .queue:hover {
    opacity: 1.0;
    transform: scale(1.1);
}
/* Style queue container for when it pops up*/
#queue-container {
    display: none;
    position: absolute;
    left: 115%;
    bottom: 10%;
    width: 300px;
    background-color: rgb(3, 74, 133); 
    opacity: 70%;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 3%;
    padding: 10px;
    overflow-y: auto;
    z-index: 20;
  }
  
  /* Style queue items */
  #queue-container li {
    color: rgb(255, 242, 165);
    font-family:'Courier New', Courier, monospace;
    padding: 10px;
    border-bottom: 1px solid gold;
    cursor: pointer;
  }
  
  #queue-container li:hover {
    background-color: rgb(30, 112, 180);
  }

/* Media query for smaller screens */
@media (max-width: 1000px) {
    .icon-container {
        display: flex;
        flex-direction: row; /* Keeps icons side by side */
        justify-content: center;
        gap: 20px;
        width: 100%; 
        margin-top: 10px;
    }
    
    .change-color, .queue {
        margin: 0 40px; /* spacing between icons */
        margin-top: 20px;
    }
    #queue-container {
        position: static; /* Position it naturally in the document flow */
        left: auto; /* Reset positioning */
        bottom: auto; 
        margin-top: 35px; 
        width: 90%; 
        max-width: 500%;
        min-height: 250px; /* set min height */
        max-height: 50vh;
        background-color: rgb(3, 74, 133); 
        opacity: 70%;
        box-shadow: -3px 0 5px rgba(0, 0, 0, 0.2);
        border-radius: 3%;
        padding: 10px;
        overflow-y: auto; 
    }
  
    #queue-container li {
        color: rgb(255, 242, 165);
        font-family: 'Courier New', Courier, monospace;
        padding: 10px;
        border-bottom: 1px solid gold;
        cursor: pointer;
    }
  
    #queue-container li:hover {
        background-color: rgb(30, 112, 180);
    }
}
