
* {
    background-color: rgb(0, 0, 0);
    font-family: 'Circular', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.main {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    column-gap: 10px;
    padding: 10px;
}



.sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0.8;
    padding: 10px;
    row-gap: 10px;
    background-color: rgb(26, 25, 25);
    border-radius: 10px;
    height: 100%;
    width: 40vw;
    overflow-y: hidden;
}

.sidebarC1-lib {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: grey;
    background-color: transparent;
}



.content {

    flex: 2.2;
    background-color: rgb(26, 25, 25);
    display: flex;
    flex-direction: column;
    padding: 10px;
    row-gap: 10px;
    border-radius: 10px;
    color: white;
    overflow-y: auto;
    height: 88vh;
}

.content::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    display: none;
}

.playlist {

    background-color: transparent;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: white;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: rgb(40, 40, 40);
    border-radius: 10px;
    color: white;
    width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card>.play {
    position: relative;
    top: -115px;
    left: 145px;
    background-color: transparent;
    opacity: 0;
}

.card:hover .play {
    opacity: 1;
    transition: all 0.3s ease;
    transform: scale(1.2);
    cursor: pointer;
}

.card:hover {
    background-color: rgb(54, 53, 53);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.log-in:hover {
    background-color: rgb(217, 216, 216);
    color: black;
    transition: all 0.1s ease;
    transform: scale(1.1);
    cursor: pointer;
}



#songList {
    margin-top: 20px;
    background-color: rgb(39, 38, 38);
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    color: white;
    align-items: center;
    overflow-y: scroll;
    height: 100%;
   
}

#songList::-webkit-scrollbar {
    display: none;
}

.song {
    border-radius: 10px;
    background-color: black;
    max-height: 70px;
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    border: 2px solid rgb(132, 131, 131);
    column-gap: 10px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.song:hover,
.song:hover img,
.song:hover h3 {

    cursor: pointer;
}

.song:hover .playAtlib:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;

}

.song {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-info h3,
.song-info p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#songDuration {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    row-gap: 0px;
    color: white;
    align-items: center;
}

.playAtlib {
    margin-left: auto;
    margin-right: 10px;

}

.playbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background-color: rgb(255, 255, 255);
    padding: 10px;
    padding-top: 20px;
    border-radius: 10px;
    position: absolute;
    right: 0px;
    left: 28.5%;
    bottom: 0px;
    width: 69.2%;
    height: 50px;
    gap: 10px;
    height: auto;
    padding-bottom: 25px;
}


.seekbar {

    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    position: absolute;
    left: 3px;
    bottom: 17px;
    width: 98%;
    height: 4px;

}

.seekbar:hover {
    background-color: rgb(36, 87, 36);
    cursor: pointer;
    .circle{
        background-color: rgb(36, 87, 36);
    }
}

.circle {
    background-color: rgb(11, 11, 11);
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 0px;
    width: 10px;
    height: 10px;
    cursor: pointer;
    transition: left 0.3s ease;
}

.ControlButtons {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 10px;

    height: 15px;
    gap: 10px;
}

#startButton,
#nextButton,
#prevButton,
#pauseButton {
    border: none;
    outline: none;
    background: none;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#startButton:hover,
#nextButton:hover,
#prevButton:hover,
#pauseButton:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#startButton:hover,
#nextButton:hover,
#prevButton:hover,
#pauseButton:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#songInfo {
    color: rgb(0, 0, 0);
    background-color: white;
}

#songDuration {
    color: rgb(0, 0, 0);
    background-color: white;
}

.hamburger {
    display: none;
}

.hamburger:hover {
    cursor: pointer;
}
.closeButton {
    background-color: transparent;
   cursor: pointer;
}

@media (max-width: 1200px) {

   
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 30px;

    }

    .homeButton {
        display: none;
    }

    .sidebar {
        position: absolute;
        left: -100%;
        transition: all 0.5s ease;
        z-index: 1;
    }
    .playbar {
        left: 0;
        width: 98%;
    }

}

@media (max-width: 600px) {
    .playbar {
        right: 5%;
        left: 3%;
        width: 90%;
    }
    .playbar{
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;
    }
}

@media (max-width: 1200px) {

   
    .search {
        display: none;
    }

}



@media screen and (max-width: 515px) {
    .ControlButtons {
        width: 34px;
    }
    .playlist {
        justify-content: center;
        align-items: center;
        }

    }
    .volume{
        background-color: white;
    }
    .volume:hover{
        cursor: pointer;
    }
    .durationVolume{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        background-color: white;
    }
    #volume{
        width: 100px;
    }
