body {
    background-color: black;
    color: white;
}

@import url('https://fonts.googleapis.com/css2?family=Alan+Sans:wght@300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Alan Sans", sans-serif;
}

.nav {
    width: 100vw;
    height: 55px;
    position: absolute;
    /* background-color:  */
}

.navleft {
    padding-left: 30px;
    display: flex;
    gap: 30px;
    width: 49vw;
    z-index: 2;
}

.logo {
    width: 40px;
    margin-left:5vw ;
    margin-top: 10px;
}

.home {
    width: 50px;
    height: 50px;
    background-color: rgb(32, 32, 32);
    border-radius: 25px;
    position: relative;
    top: 6px;
}

.home:hover {
    background-color: rgb(56, 56, 56);
}

.home:active {
    background-color: rgba(31, 31, 31, 0.695);
}

.searchbar:hover {
    background-color: rgb(56, 56, 56);
}

.searchbar:active {
    background-color: rgba(31, 31, 31, 0.695);
    border: 2px solid white;
}

.homesvg {
    width: 25px;
    height: 25px;
}

.searchbar {
    width: 37vw;
    height: 50px;
    border-radius: 30px;
    gap: 5px;
    position: relative;
}

.serch {
    width: 29px;
    height: 29px;
    border-radius: 15px;
}

.input {
    background-color: transparent;
    font-size: 16px;
    overflow: auto;
    width: 70%;
    color: rgba(192, 192, 192, 1);
    outline: none;
}
.input1 {
    background-color: transparent;
    font-size: 16px;
    overflow: auto;
    width: 70%;
    color: rgba(192, 192, 192, 1);
    outline: none;
    display: none;
}

.browse {
    width: 29px;
    height: 29px;
    background-color: transparent;
    position: absolute;
    right: 10px;
    border-radius: 15px;
}

.verticalline {
    font-size: 40px;
    font-weight: 20px;
    position: absolute;
    right: 40px;
    bottom: 5px;
}

.navright {
    position: relative;
    left: 0px;
    top: 0px;
    width: 49vw;
    z-index: 3;
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
}

.login {
    position: absolute;
    right: 20px;
    gap: 40px;
    top: 0px;
}

.install {
    font-size: 15px;
    font-weight: 500;
}

.signup {
    font-size: 15px;
    font-weight: 500;
}

.inlogin {
    background-color: white;
    color: black;
    width: 70px;
    height: 45px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 500;
}

.verticalline2 {
    font-size: 40px;
    font-weight: 20px;
    position: absolute;
    right: 50%;
}

.psd {
    position: absolute;
    right: 55%;
    color: rgba(192, 192, 192, 1);
    font-size: 15px;
    gap: 15px;
    text-decoration: none;
    top: 15px;
}
.prem{
    text-decoration: none;
    color: rgba(192, 192, 192, 1);
}
.support{
    text-decoration: none;
    color: rgba(192, 192, 192, 1);
}
.download{
    text-decoration: none;
    color: rgba(192, 192, 192, 1);
}
.prem:hover{
    color: rgb(237, 237, 237);
}
.support:hover{
    color: rgb(237, 237, 237);
}
.download:hover{
    color: rgb(237, 237, 237);
}
.left{
    background-color: rgb(14, 14, 14);
    position: absolute;
    top: 70px;
    left: 1vw;
    width: 30vw;
    height: 80vh;
    border-radius: 13px;
}
.library{
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 20px;
    font-weight: 700;
}.plus{
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 40px;
}
.playlist{
    position: absolute;
    top: 60px;
    left: 10px;
    background-color: rgb(38, 38, 38);
    width: 90%;
    height: 25%;
    border-radius: 10px;
}
.text{
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: bolder;
    font-size: 17px;
}
.extratext{
    position: absolute;
    top: 35px;
    left: 10px;
    font-size: 15px;
}
.createplaylist{
    position: absolute;
    top: 75px;
    left: 10px;
    font-size: 19px;
    font-weight: 700;
    border-radius: 23px;
    width: 120px;
    height: 45px;
}
.createplaylist:hover{
    width: 124px;
    height: 48px;
}
.createplaylist:active{
    background-color: rgb(177, 177, 177);
}
.podcasts{
    position: absolute;
    top: 40%;
    left: 10px;
    background-color: rgb(38, 38, 38);
    width: 90%;
    height: 25%;
    border-radius: 10px;
}
.privacy{
    position: absolute;
    top: 78%;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
a{
    font-size: 11px;
    text-decoration: none;
    color: rgb(195, 195, 195);
}
.right{
    background: linear-gradient(
        to bottom,
        rgb(42, 42, 42) 0%,
        rgb(14, 14, 14) 100%
    );
    position: absolute;
    top: 70px;
    left: 32vw;
    width: 67vw;
    height: 80vh;
    border-radius: 13px;
}
.trend{
    margin: 12px;
    align-items: baseline;
    justify-content: space-between;
}
.trendingsongs:hover{
    text-decoration: underline;
}
.seemore:hover{
    text-decoration: underline;
}
.trendingsongs{
    font-size: 25px;
    font-weight: 750;
}
.seemore{
    font-size: 13px;
    font-weight: 600;
    color: #aeaeae;
}
.cardcontainers {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: auto;
    word-wrap: wrap;
    flex-wrap: wrap;
    width: 96%;
    height: 80%;
    padding: 10px;
    margin-left: 2%;
    position: relative;
    /* scrollbar-width: none; */
}
.cardcontainers::-webkit-scrollbar{
    width: 9px;
    background: scroll;
}
.cardcontainers::-webkit-scrollbar-thumb{
    border-radius: 999px;
    min-height: 30px;
    background-color: #5d5d5d;
}
.cardcontainers::-webkit-scrollbar-track{
    background:transparent;
}
.card {
    /* flex: 0 0 180px; */
    width: 160px;
    height: 230px;
    background-color: #282828;
    border-radius: 12px;
    position: relative;
}
.play{
    background-color: #1ed760;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    position: absolute;
    bottom: 30px;
    right: 20px;
}
.playsvg{
    position: relative;
    left: -3px;
    top: -5px;
    /* width: 100px; */
    /* height: 10px; */ 
}
.card:hover{
    background-color: #3c3c3c;
}
.image{
    object-fit: contain;
    width: 140px;
    height: 160px;
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 10px;
}
.songname{
    width: 150px;
    height: 39px;
    font-size: 16px;
    margin-left: 10px;
    margin-top: 5px;
    overflow: hidden;
}
.songname:hover{
    text-decoration: underline;
}
.artistname:hover{
    text-decoration: underline;
}
.music{
    position: relative;
    top: 90vh;
    left:5vw;
    width: 90vw;
    height: 10vh;
    border-radius: 10vh;
    background-color: #282828;
}
/* for play button on card / card containers */
@keyframes play {
    0%{bottom: 30px; background-color: #1ed75f17;}
    100%{bottom: 70px; background-color: #1ed760;}
}
@keyframes unplay {
    0%{bottom: 70px; background-color: #1ed760;}
    100%{bottom: 30px; background-color: #1ed75f17;}
}
.songnam{
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 25%;
    font-size: 20px;
    color:#aeaeae;
}
.plays{
    width: 100%;
    height: 25%;
    position: absolute;
    top: 35%;
    display: flex;
    justify-content: center;
}
.previous{
    width: 30px;
    height: 30px;
}
.next{
    width: 30px;
    height: 30px;
}
.playpause{
    width: 30px;
    height: 30px;
}
.seekbar{
    position: absolute;
    width: 80%;
    left: 10%;
    top: 75%;
    height: 0px;
    border: 2px solid #aeaeae;
    border-radius: 3px;
    padding: 0;
}
.circle{
    width: 14px;
    height: 14px;
    border-radius: 13px;
    position: absolute;
    background-color: #aeaeae;
    top: -7px;
    left: -1%;
    transition: left 0.5s;
}
.totaltime{
    position: absolute;
    top: 45%;
    right: 10%;
    color: #aeaeae;
}
.currenttime{
    position: absolute;
    top: 45%;
    left: 10%;
    color: #aeaeae;
}
@media (max-width : 1250px ) {
    .left{
        width: 25vw;
    }
    .navright{
        display: none;
    }
    .navleft{
        display: flex;
        width: 100vw;
        justify-content: center;
    }
    .right{
        left: 27vw;
        width: 72vw;
    }
}
@media (max-width : 900px) {
    .left{
        display: none;
    }
    .right{
        left: 1vw;
        width: 98vw;
        height: 70vh;
    }
}
@media (max-width : 730px) {
    .navleft{
        position: absolute;
        left: 40px;
        width: 300px;
        gap: 20px;
        flex-shrink:0 ;
        flex-grow: 0;
    }
    .browse img{
        display: none;
    }
    .verticalline{
        display: none;
    }
    .searchbar{
        width: 200px;
    }
    .input{
        display: none;
    }
    .input1{
        display: block;
    }
    .card{
        width: 145px;
        height: 180px;
    }
    .image{
        width: 135px;
        margin-top: 5px;
        margin-left:5px ;
        height: 120px;
    }
    .songname{
        width: 135px;
        margin-left: 5px;
    }
    .music{
        top: 82vh;
    }
    
}