/* styles.css */

body{
    color: #ffffff;
    margin: 2%;
}

.jamendologo{
    height: 20px;
    width: 62px;
}

.logo{
    height: 60px;
    width: 59px;
}


.disclaimer{
    font-size: 10px;
}


#genres {
    font-family: 'Poppins', sans-serif;
font-size: 12px;
margin-top: 10px;
color: #000000;
}


/* Reset default margin and padding */
* {
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle, rgb(0, 0, 0) 50%, rgb(9, 63, 107) 90%);
    padding-top: 20px; /* Add some top padding */
}


.switch-container {
    text-align: center;
    margin-bottom: 20px; /* Add bottom margin */
    margin-left:780px;
    margin-top:60px;
}

.prev-img {
    position: absolute;
    top: 630px;
    left: 10%; /* Adjust the left position for the Previous button */
    transform: translateY(-50%);

}
.harmony-section {
    text-align: center;
}
.next-img {
    position: absolute;
    top: 630px;
    right: 10%; /* Adjust the right position for the Next button */
    transform: translateY(-50%);
    height: 67px;
    width: 71px;
}





.switch {
    position: absolute;
    top: 360px;
    left: 93%;
    transform: translateX(-50%);
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: middle; 
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #29c5e8;
}

input:focus + .slider {
    box-shadow: 0 0 1px #29c5e8;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#tracks.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 50px; /* Add some top margin */
}

.track {
    width: calc(33.33% - 40px); /* Adjust width for desktop (3 tracks per row) */
    margin: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Hide overflow content */
    transition: transform 0.3s ease; /* Add smooth transition */
}






@media only screen and (max-width: 768px) {

    body{
        margin:15px;
    }
    .track {
        width: calc(82% - 40px);
        margin: 20px auto; /* Center tracks horizontally and add space between tracks */

    }
    .switch{
        top: 450px;
        left: 50%;
    }

    .switch-container {
        text-align: center;
        margin-bottom: 20px; /* Add bottom margin */
        margin-left: 0px;
        margin-top: 0px;

    }


    .prev-img {
        top: 600px;
        height: 25px;
        width: 20px;
    
    }

    .next-img {
        top: 600px;
        height: 30px;
        width: 20px;
    }
}



#album-art {
    width: 100%;
    height: auto;
}

.track-info {
    padding: 20px;
}

h2, h3 {
    margin: 0;
}

h2 {
    font-size: 1.2rem;
    color: #333;
}

h3 {
    font-size: 1rem;
    color: #666;
}

#audio {
    width: 100%;
    margin-top: 10px;
    outline: none; /* Remove default outline */
    background-color: #f7f7f7; /* Background color */
    padding: 10px; /* Add padding */
    border: 1px solid #ccc; /* Add border */
    border-radius: 5px; /* Add border radius */
}

audio::-webkit-media-controls-volume-slider {
    width: 30px; /* Adjust volume slider width */
}


audio {
    display: block;
    width: 100%;
    background-color: #f2f2f2;
    border-radius: 123px;
    box-shadow: inset 0 -1px 0 #dbdbdb;
    height: 50px;
    outline: none;
}

audio::-webkit-media-controls-panel {
    background-color: #ffffff; /* Background color of the controls panel */
    color: #ffffff; /* Color of the controls */
}


audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-volume-slider {
    color: #9000ff; /* Color of the play button and time displays */
}

audio::-webkit-media-controls-volume-slider-container {
    margin-right: 15px; /* Add some margin to the volume slider */
}




