/* Base Colors */
:root {
    --background-color: #1c1c1c; /* Light black background */
    --primary-color: #3498db; /* Modern blue */
    --secondary-color: #F7B112; /* Secondary yellow */
    --text-color: #ffffff; /* White text */
    --muted-text-color: #b0b0b0; /* Muted text for secondary information */
    --navbar-bg-color: #2c2c2c; /* Slightly lighter black for navbar */
    --audio-player-bg: #222222; /* Dark background for audio player */
}

/* General page styling */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Nunito', sans-serif;
}

h1 {
    color: var(--primary-color);
}

h4 {
    color: var(--primary-color);
}

/* Navbar styling */
.navbar {
    background-color: var(--navbar-bg-color);
}

.navbar-brand {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-color);
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

/* Main content styling */
#main-content {
    background-color: #2c2c2c; /* Dark container background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

#main-content h4 {
    color: var(--primary-color);
}

.album-link {
    text-decoration: none;
}

.album-item:hover{
    transform:scale(1.05);
}

.album-item{
    height: 400px;
    transition:.3s;
}

.album-cover{
    object-fit: cover;
    height: 300px;
}

.album-image,
.album-image-current {
    width: 100%; /* Full width by default */
    object-fit: cover; /* Ensures images maintain their aspect ratio */
}

.card-title {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.card-text {
    text-decoration: none;
    color: black;
}

#playlist .tracknumber {
    width: 30px; /* Fixed width for numbers */
    text-align: right; /* Align the numbers to the right */
    margin-right: 10px; /* Space between number and text */
}

li.list-group-item-action {
    cursor: pointer; /* Changes cursor to hand icon */
}

#current-track {
    color: var(--secondary-color);
}

.modal-title {
    color: black;
}

.modal-body {
    color: black;
}

.play-button {
    width: 60px; /* Button size */
    height: 60px;
    border: none;
    border-radius: 50%; /* Makes it round */
    background-color: var(--primary-color); /* Background color */
    color: var(--text-color); /* Icon color */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.play-button:hover {
    background-color: var(--secondary-color);
}

/* FontAwesome icon size */
.play-button i {
    font-size: 24px; /* Adjust the icon size */
}

.track-play-icon {
    color: var(--primary-color); /* Icon color */
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.track-play-icon:hover {
    color: var(--secondary-color);
}
 /* track-play-icon when track is active*/
.audio-src.active i {
    color: var(--secondary-color)
}


/* Audio player styling */
#audio-player-container {
    background-color: var(--audio-player-bg);
    border-top: 2px solid black;
    color: var(--text-color);
}

.audio-player {
    display: flex;
    align-items: center;
    background-color: var(--audio-player-bg);
    padding: 5px 15px 0px 15px;
}

/* Play/Pause Button */
.play-pause-prev-next {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    color: var(--muted-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.play-pause-prev-next:hover {
    color: var(--secondary-color);
}

/* Progress Bar */
.progress-container {
    flex-grow: 1;
    margin: 0 10px;
    height: 8px;
    background-color: var(--muted-text-color);
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
    border-radius: 5px;
}

/* Time Display */
.time {
    font-size: 14px;
    color: var(--text-color);
    min-width: 50px;
    text-align: right;
}