* {
    margin: 0;
    padding: 0;
}

body {
    height: 100%;
    background-color: black;
    color: rgba(255, 255, 255, 0.913);
    font-family: sans-serif;
}

/* nav start */
.nav {
    background-color: black;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 5px;
}

.nav-sec1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 30px;
    cursor: pointer;
}

.logo {
    height: 33px;
    filter: invert();
}

.hamburgerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger {
    display: none;
}

.nav-sec2 {
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(31, 31, 31);
    border-radius: 100px;
    cursor: pointer;
}

.nav-sec2 img {
    height: 23px;
    filter: invert();
}

.nav-sec3 {
    height: 45px;
    margin-left: 10px;
    margin-right: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(31, 31, 31);
    border-radius: 30px;
}

.nav-sec3 span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-sec3 img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    height: 28px;
    filter: invert();
}

.nav-sec3 input {
    height: 30px;
    width: 350px;
    border: none;
    padding-left: 10px;
    color: white;
    background: transparent;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-sec3 input:focus {
    outline: none;
}

.nav-sec3 input::placeholder {
    color: rgb(176, 176, 176);
}

.nav-sec4 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(185, 174, 174);
}

.btn-grey {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.728);
    font-weight: 600;
    background-color: black;
    border: none;
    cursor: pointer;
}

.btn-grey:hover {
    color: white;
}

.btn-ins {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 40px;
    height: 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.728);
    font-weight: 600;
    background-color: black;
    border: none;
    cursor: pointer;
}

.btn-ins:hover {
    color: white;
}

.btn-sign {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    height: 30px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.728);
    font-weight: 600;
    background-color: black;
    border: none;
    cursor: pointer;
}

.btn-sign:hover {
    color: white;
}

.btn-white {
    margin: 20px 5px;
    height: 45px;
    width: 110px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.868);
}

/* nav end */



/* main start */
.main {
    display: flex;
    height: 92vh;
}

.main-left {
    height: auto;
    width: 30vw;
    background-color: rgb(18, 17, 17);
    margin: 8px;
    border-radius: 10px;
}

.main-left-header {
    padding: 20px 13px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 2%;
}

.main-left-header img {
    padding-left: 73%;
}

.main-left-body {
    height: 52vh;
    overflow: auto;
    overflow-y: scroll;
    margin-left: 25px;
}

.songList {
    height: 35vh;
    width: 25vw;
    background-color: rgb(31, 31, 31);
    display: inline-block;
    align-items: center;
    margin: 0 8px;
    border: none;
    border-radius: 10px;
    overflow: auto;
}

.songList ul {
    display: inline-block;
    justify-content: center;
    align-items: center;
}

.songList ul li {
    width: 20vw;
    list-style-type: none;
    list-style-type: decimal;
    padding: 5px;
    margin: 8px 18px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    cursor: pointer;

}

.songList ul li:hover {
    border: 1px solid white;
    border-radius: 10px;
}

.info {
    font-size: 15px;
    width: 344px;
}

.playNow {
    cursor: pointer;
}

.main-left-box {
    height: auto;
    width: 25vw;
    background-color: rgb(31, 31, 31);
    display: inline-block;
    justify-content: center;
    align-items: center;
    margin: 8px;
    border: none;
    border-radius: 10px;
}

.main-left-box h3 {
    font-size: 16px;
    font-weight: 700;
    padding-top: 15px;
    padding-left: 20px;
}

.main-left-box h5 {
    font-size: 14px;
    padding: 10px 20px;
}

.main-left-box button {
    margin: 10px 20px;
    height: 4vh;
    width: 130px;
    font-size: 14px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-left-box button:hover {
    background-color: rgba(255, 255, 255, 0.868);
}

.main-left-footer-elements {
    width: 350px;
    margin-top: 35px;
    margin-left: 27px;
}

.main-left-footer-elements span {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.537);
    padding-bottom: 15px;
    cursor: pointer;
}

.main-left-footer button {
    margin: 20px 30px;
    height: 5vh;
    width: 110px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid grey;
    border-radius: 30px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.84);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-left-footer button:hover {
    border: 1px solid white;
}

.main-right {
    height: 170vh;
    width: 70vw;
    overflow-y: auto;
    background-color: rgb(18, 17, 17);
    margin: 8px 8px 8px 0;
    border-radius: 10px;
    box-shadow: inset 0 80px 100px rgba(255, 255, 255, 0.062);
    position: relative;
}

.main-right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 20px 0px 20px;
}

.main-right-header h2 {
    font-weight: 700;
    cursor: pointer;
}

.main-right-header h2:hover {
    text-decoration: 4px underline;
}

.main-right-header h5 {
    margin-top: 5px;
    cursor: pointer;
}

.main-right-header h5:hover {
    text-decoration: 1px underline;
}


.main-right-body {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: auto;
    margin-top: 20px;
    flex-wrap: wrap;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    height: 250px;
    width: 165px;
    border-radius: 10px;
    position: relative;
}

.card:hover {
    background-color: rgb(31, 31, 31);
}

.card:hover .play {
    opacity: 1;
    top: -12px;
    cursor: pointer;
}

.card:hover .play:hover {
    background-color: #52e385;
}

.desc {
    position: absolute;
    top: 0;
}

.desc img {
    height: 140px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desc span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    left: 0;
    padding: 15px 5px;
}

.desc span h5 {
    font-size: 15px;
}

.desc span h6 {
    font-size: 12px;
    padding-top: 5px;
}

.play img {
    height: 35px;
    width: 35px;
    position: absolute;
    left: 5px;
    top: 2px;
}

.play {
    background-color: #1ED760;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    position: relative;
    top: 25px;
    left: 40px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.main-right-footer {
    height: 4%;
    width: 68vw;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 4px;
    position: fixed;
    bottom: 0px;
    background-color: rgba(31, 31, 31, 0.945);
    ;
}

.seekbar {
    height: 3px;
    width: 97%;
    background-color: rgba(255, 255, 255, 0.868);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 7px;
    border-radius: 10px;
    cursor: pointer;
}

.circle {
    height: 15px;
    width: 15px;
    background-color: white;
    border-radius: 100%;
    position: absolute;
    top: -7px;
    left: 0%;
    transition: left 0.5s;
}

.songinfo {
    position: absolute;
    left: 10%;
}

.songbuttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: absolute;
}

.songbuttons img {
    cursor: pointer;
}

#play {
    height: 45px;
}

#play:hover {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

#previous {
    height: 25px;
}

#previous:hover {
    transform: scale(1.2);
}

#next {
    height: 25px;
}

#next:hover {
    transform: scale(1.2);
}

.songtime {
    position: absolute;
    right: 20%;
}

.songtime:hover {
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    cursor: default;
}

/* main end */




/* Responsiveness */
@media (min-width: 1366px) and (max-width: 1440px) {
    .main-left-header {
        padding: 20px 10px;
    }

    .main-left {
        height: 100vh;
        width: 30vw;
        background-color: rgb(18, 17, 17);
        margin: 8px;
        border-radius: 10px;
        left: -100%;
    }

    .songList {
        height: 45vh;
    }

    .main-right {
        height: 100vh;
    }

    .card:hover .play {
        top: -23px;
    }

    .play {
        left: 36px;
    }

    .desc img {
        height: 130px;
    }

    .main-right-footer {
        width: 68vw;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .nav-sec3 {
        margin-right: 6%;
    }

    .nav-sec3 input {
        width: 210px;
    }

    .nav-sec4 {
        width: 45vw;
    }

    .nav-sec4 button {
        font-size: 13px;
    }

    .btn-white {
        height: 41px;
        width: 97px;
        font-size: 13px;
    }

    .main-left {
        height: 100vh;
    }

    .main-left-header {
        padding: 20px 12px;
    }

    .main-left-header img {
        padding-left: 63%;
    }

    .main-left-body {
        margin-left: 13px;
    }

    .songList ul li {
        margin: 8px 16px;
    }

    .main-left-footer-elements {
        width: 265px;
    }

    .main-right {
        height: 100vh;
        width: 68vw;
    }

    .card {
        width: 122px;
    }

    .desc img {
        height: 100px;
    }

    .play {
        position: relative;
        top: 0;
        left: 23px;
    }

    .card:hover .play {
        opacity: 1;
        top: -51px;
    }

    .main-right-footer {
        width: 67vw;
    }

    .songinfo {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 4%;
        bottom: 24px;
        max-height: 19px;
        max-width: 230px;
    }

    .songtime {
        position: absolute;
        right: 15%;
        bottom: 24px;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    .nav-sec1 {
        margin: 0px 8px;
    }

    .hamburger {
        display: block;
        height: 28px;
        filter: invert();
        margin-left: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-sec2 {
        display: none;
    }

    .nav-sec3 {
        margin-right: 0;
    }

    .nav-sec3 input {
        width: 200px;
    }

    .nav-sec3 img {
        height: 25px;
        padding: 0 8px;
    }

    .btn-ins {
        margin: 0 5px
    }

    .nav-sec4 {
        position: absolute;
        right: -11px;
        width: auto;
    }

    .nav-sec4 span {
        display: none;
    }

    .nav-sec4 button {
        height: 35px;
        width: 44px;
        font-size: 12px;
        border-radius: 14px;
    }

    .btn-grey {
        display: none;
    }

    .btn-ins {
        margin-right: 5px;
    }

    .btn-sign {
        margin-left: 5px;
    }

    .btn-white {
        margin-right: 40px;
        border-radius: 10px;
    }

    .main-left {
        height: 100vh;
        width: 49vw;
        /* display: block;
        justify-content: center;
        align-items: center; */
        position: absolute;
        left: -100%;
        transition: all .3s;
        z-index: 1;
    }

    .main-left-header img {
        padding-left: 70%;
    }

    .main-left-body {
        margin: auto;
    }

    .songList {
        width: 45vw;
    }

    .songList ul li {
        width: 36vw;
    }

    .main-left-box {
        width: 44vw;
    }

    .main-left-box button {
        height: 6vh;
    }

    .main-right {
        height: 100vh;
        width: 97vw;
        margin: 11px;
    }

    .main-right-body {
        gap: 20px;
    }

    .card {
        height: 207px;
        width: 119px;
    }

    .desc img {
        height: 78px;
    }

    .card:hover .play {
        top: -46px;
    }

    .play {
        height: 30px;
        width: 30px;
        left: 16px;
    }

    .play img {
        height: 28px;
        left: 0;
    }

    .main-right-footer {
        width: 96vw;
        height: 2vh;
    }

    .seekbar {
        width: 97%;
    }

    .songbuttons {
        top: 10px;
    }

    .songinfo {
        width: 32vw;
        left: 5%;
        top: 17px;
    }

    .songtime {
        top: 24px;
        right: 115px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .nav-sec1 {
        margin: 0 6px;
    }

    .hamburger {
        display: block;
        height: 25px;
        width: 25px;
        filter: invert();
        margin-left: 8px;
        cursor: pointer;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-sec2 {
        display: none;
    }

    .nav-sec3 {
        height: 40px;
        margin-left: 7px;
    }

    .nav-sec3 input {
        display: none;
    }

    .nav-sec3 img {
        height: 22px;
        padding: 0 10px;
    }

    .nav-sec4 {
        position: absolute;
        right: 10px;
        width: 40vw;
    }

    .nav-sec4 span {
        display: none;
    }

    .btn-grey {
        display: none;
    }

    .btn-ins {
        height: 32px;
        width: 44px;
        font-size: 11px;
        margin: 0 4px;
    }

    .btn-sign {
        height: 32px;
        width: 44px;
        font-size: 11px;
        margin: 0 4px;
    }

    .btn-white {
        height: 32px;
        width: 44px;
        font-size: 12px;
        margin: 0 -3px;
        border-radius: 10px;
    }

    .main-left {
        height: 100vh;
        width: 90vw;
        display: block;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: -100%;
        transition: all .3s;
        z-index: 10;
    }

    .main-left-header {
        margin: 15px 10px 0px 10px;
    }

    .main-left-header img {
        padding-left: 56%;
    }

    .main-left-body {
        margin-left: 6px;
    }

    .songList {
        height: 40vh;
        width: 79vw;
        overflow-x: hidden;
    }

    .songList ul li {
        width: 65vw;
        margin: 8px 15px;
    }

    .main-left-box {
        width: 79vw;
    }

    .main-left-footer-elements {
        margin-top: 28px;
        margin-left: 19px;
        display: block;
        justify-content: left;
        align-items: center;
        width: 300px;
    }

    .main-left-footer button {
        margin: 20px 19px;
    }

    .main-right {
        height: 100vh;
        width: 97vw;
        margin: 7px;
    }

    .main-right-header h2 {
        font-weight: 700;
        font-size: 21px;
    }

    .main-right-header h5 {
        font-size: 11px;
        margin-top: 2px;
    }

    .main-right-body {
        justify-content: center;
        margin: 15px auto;
    }

    .card {
        height: 180px;
        width: 80px;
        margin-bottom: 17px;
    }

    .desc img {
        height: 78px;
    }

    .card:hover .play {
        top: -35px;
    }

    .play {
        height: 30px;
        width: 30px;
        left: 16px;
    }

    .play img {
        height: 28px;
        left: 0;
    }

    .main-right-footer {
        width: 94vw;
        height: 2vh;
    }

    .seekbar {
        width: 97%;
        left: 0px;
    }

    .songbuttons {
        top: 10px;
    }

    #play {
        height: 30px;
    }

    #previous {
        height: 15px;
    }

    #next {
        height: 15px;
    }

    .songinfo {
        width: 28vw;
        left: 5%;
        top: 14px;
        font-size: 11px;
    }

    .songtime {
        top: 19px;
        right: 24px;
        font-size: 11px;
    }
}