@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
    user-select: none;
}

.main {
    display: flex;
    gap: 7px;
}

.left {
    width: 22vw;
    max-height: 100vh;
    overflow-y: scroll;
}

.right {
    width: 78vw;
    height: 100vh;
    position: relative;
    overflow-y: scroll;
    max-height: 100vh;
}

.logo {
    padding: 20px 24px 0 24px;
}

.home {
    padding-bottom: 20px;

}

.firsmen {
    background-color: #121212;
}

.cross {
    position: absolute;
    top: 15px;
    right: 15px;
    visibility: hidden;
    cursor: pointer;
}

.cross img {
    fill: currentColor;
    width: 18px;
}

.left .home li {
    list-style: none;
    padding: 17px 24px 7px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.left .home li img {
    width: 23px;
}

.library {
    padding: 24px 10px 0px;
    background-color: #121212;
    margin-top: 8px;
    min-height: 66vh;
    position: relative;
}

.lib {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.library .pic {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
}

.library .pic img {
    width: 24px;
}

.library span img {
    fill: currentColor;
    width: 16px;
}

.songList {
    margin: 20px 0;
    max-height: 40vh;
    overflow-y: scroll;
    transition: overflow 0.2s;
    border-radius: 5px;
}

.songList::-webkit-scrollbar {
    width: 6px;
    border-radius: 18px;
}

.songList::-webkit-scrollbar-thumb {
    width: 5px;
    border-radius: 18px;
    background-color: #7b7979;
}

.songList ul {
    list-style: none
}

.songList ul li {
    font-size: 12px;
    height: 70px;
    width: 98%;
    padding: 7px;
    cursor: pointer;
    overflow-wrap: break-word;
    border: 1px solid rgb(98, 97, 97);
    border-radius: 6px;
    margin: 7px 0;
    background-color: #242323;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coverImage {
    width: 39.83px;
     border-radius: 4px;
    
}

.lekh {
    width: 100.49px;
    text-align: center;
    font-size: 13px;
}

.playnow {
    width: 44.83px;
    text-align: center;
}

.libplay {
    width: 20px;
}


.footer {
    display: flex;
    font-size: 10px;
    color: grey;
    gap: 13px;
    padding: 10px 0 0;
    flex-wrap: wrap;

}

.footer a {
    color: grey;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background-color: #121212;
    padding: 14px 24px;
    z-index: 5;
}

.leri {
    display: flex;
    gap: 22px;
}

.ham {
    display: none;
    cursor: pointer;
}
.ham img{
    position: relative;
    left: 6px;
}

.seclogo {
    display: none;
}
.seclogo img{
    width: 90px;
}

.button button {
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    cursor: pointer;
}

.button button:hover {
    transform: scale(1.04);
}

.button .alada {
    background-color: transparent;
    color: gray;
}

.button .alada:hover {
    color: white;
    transform: scale(1.04);
}

.spotifyplaylist {
    padding: 20px;
    background-color: #121212;
}

.spline {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

h2 {
    padding: 10px 18px;
}

.cardcontainer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-items: center;
    margin-bottom: 40px;
}

.card {
    position: relative;
    width: 24%;
    margin: 3px;
    border-radius: 8px;
    padding: 15px;
    border-radius: 5px;
    transition: all .4s;
    background-color: rgb(36, 33, 33);
    cursor: pointer;
}

.card img {
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.card .boro {
    margin: 7px 0;
    font-size: 24px;
}

.card .choto {
    font-weight: 400;
}

.card:hover {
    background-color: rgb(50, 47, 47);
    .playpic{
        opacity: 1;
        bottom: 96px;
    }
}
.playpic{
    width: 30px;
    height: 30px;
    background-color: #1fdf64;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 87px;
    right: 17px;
    opacity: 0;
    transition: all 0.4s ease-out;
}


.musicplayer {
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 74%;
    height: 30px;
    margin: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: #393939;
}

.musicplayer:hover {
    height: 70px;
    font-size: 18px;

    img {
        width: 30px;
    }

    .bar {
        padding: 2px 0;
        height: 4px;
        bottom: 7px;
    }

    .circle {
        height: 16px;
        width: 16px;
        bottom: 7px;
    }

    .change {
        margin-left: auto;
        margin-right: auto;
    }
}

.player {
    width: 100%;
}

.change {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 6px;
}

.info {
    cursor: pointer;
    width: 28%;
    text-align: center;
}

.change .image {
    width: 20%;
    height: 24px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.timer {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.volume {
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: all 1.4s ease;
}

.volume:hover {
    transition: all 1.4s ease;

    #volrang {
        display: flex;
        visibility: visible;
    }
}

#volrang {
    cursor: pointer;
    height: 4px;
    width: 70px;
    visibility: hidden;
    accent-color: rgb(255, 255, 255);
}

#previous {
    cursor: pointer;
}

#play {
    cursor: pointer;
}

#next {
    cursor: pointer;
}

.timer {
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: white;
    position: absolute;
    bottom: 0;
    cursor: pointer;
}

.circle {
    height: 12px;
    width: 12px;
    background-color: rgb(0, 0, 0);
    border: 2px solid white;
    border-radius: 30px;
    position: relative;
    left: 0;
    bottom: 4px;
    transition: left 0.5s;
}

.circle:hover {
    outline: 2px solid rgba(50, 49, 49, 0.369);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background-color: #595858;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background-color: #4a4a4a32;
}

/* For Firefox */
::-webkit-scrollbar {
    scrollbar-color: #333 #222;
}

@media(max-width:1026px) {
    .card .boro {
        font-size: 20px;
    }

    .info {
        font-size: 1rem;
    }

    .songList ul li {
        font-size: 10px;
    }

    .lekh {
        font-size: 10px;
    }

    .libplay {
        width: 15px;
    }

    .coverImage {
        width: 31px;
    }
}

@media (max-width:970px) {
    .left {
        position: absolute;
        transition: all .3s;
        left: -620px;
        width: 373px;
        height: 100vh;
        background-color: black;
        z-index: 20;
    }

    .logo {
        padding: 0;
    }

    .logo a {
        display: none;
    }

    .cross {
        visibility: visible;
    }

    .right {
        width: 100vw;
    }

    .ham {
        display: contents;
    }

    .seclogo {
        display: contents;
    }

    .vanish {
        display: none;
    }

    .songList ul li {
        font-size: 12px;
    }

    .lekh {
        font-size: 13px;
    }

    .libplay {
        width: 20px;
    }

    .coverImage {
        width: 39.83px;
    }
    .cardcontainer{
        justify-content: space-around;
        margin-bottom: 80px;
    }
    .card{
       width: 30%;
       cursor: pointer;
    }

    .musicplayer {
        width: 95%;
        height: 70px;
        display: flex;
        align-items: center;
        font-size: 18px;

        img {
            width: 30px;
        }
        .circle{
            bottom: 7px;
        }
    }


    .bar {
        padding: 2px 0;
        height: 4px;
        bottom: 7px;
    }

    .circle {
        height: 16px;
        width: 16px;
        bottom: 6px;
    }

    .change {
        margin-left: auto;
        margin-right: auto;
    }

}
@media (max-width:753px){
    .cardcontainer{
        margin-bottom: 130px;
    }
    .musicplayer{
        height: auto;
        width: 94vw;
    }
    .musicplayer:hover{
        height: auto;
    }
    .info{
        width: auto;
    }
    .change{
        height: auto;
        flex-direction: column;
        gap: 10px;
        padding: 10px 0 20px;
    }
    .timer{
        width: auto;
    }
    .volume{
        display: none;
    }

    nav{
        padding-left: 7px;
        padding-right: 7px;
    }
    .button{
        display: flex;
    }
    .button button{
        padding: 12px 18px;
        font-size: 12px;
    }
}

@media (max-width:570px){
    .musicplayer{
        width: 90vw;
    }
    .change.image{
        gap: 23px;
    }
}
@media (max-width:530px){
    .card{
        width: 90%;
     }
     .left{
        width: 100vw;
        height: 100vh;
     }
}
@media (max-width:427px){
    .card{
        width: 100%;
     }
}
@media (max-width:410px){
    .musicplayer{
        width: 88vw;
    }
}
@media (max-width:340px){
    .musicplayer{
        width: 85vw;
    }
}
