* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body {
    height: 100vh;
    background: rgb(0, 0, 0);
    color: white;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container {
    /* border: 2px solid red; */
    display: flex;
    flex: 1;
    overflow: hidden;
    gap: 4px;
}

.left {
    /* border: 2px solid black; */
    width: 28vw;
    display: flex;
    flex-direction: column;
    height: 93%;
    /* transition: left 0.3s ease-in-out; */
}



.home {
    /* border: 4px solid red; */
    margin: 4px 6px;
    padding: 8px;
    border-radius: 8px;
    background: #121212;

}


.home ul li {
    width: 40px;
    display: flex;
    gap: 18px;
    font-weight: 800;
    font-size: 15px;
    align-items: center;
    padding: 8px;
    color: white;
    cursor: pointer;
}

.nav-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-right: 16px;
}

.close-hidden{
    display: none ;
    transition: left 0.3s ease-in-out;
}

.search-text {
    color: #a1adae;
    cursor: pointer;
}

.library {
    /* border: 2px solid green; */
    height: 54%;
    margin: 8px 6px;
    border-radius: 8px;
    background: #121212;
    display: flex;
    flex-direction: column;
}


.library-content {
    flex: 1;
    overflow: hidden;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    transition: all 0.3s ease;
}


.library-content:hover {
    overflow-y: auto;

}

.library-content::-webkit-scrollbar {
    width: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.library-content:hover::-webkit-scrollbar {
    opacity: 1;
}

.library-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.library-content:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
}

.library-content::-webkit-scrollbar-track {
    background: transparent;
}


.library-head {
    cursor: context-menu;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #a1adae;
}

.playlist-img-span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}


.library-head img {
    width: 24px;
}

.cross-img-span {
    padding: 7px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
    width: 32px;
    height: 32px;
}

.cross-img-span:hover {
    background-color: #201f1f;
    cursor: pointer;
}

.cross-img-span:hover img {
    filter: brightness(0) invert(1);
}

.cross-img-span img {
    width: 18px;
    cursor: pointer;
    transition: filter 0.3s;
}


.box {
    /* border: 2px solid red; */
    background: #242424;
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 18px 18px;
    row-gap: 20px;
    margin: auto;
    border-radius: 10px;
    margin-bottom: 12px;
}

.box h4 {
    font-size: 16px;
    font-weight: 800;
    cursor: context-menu;
}

.box p {
    font-size: 14px;
    cursor: context-menu;
}

.box button {
    padding: 8px 14px;
    font-weight: 700;
    border-radius: 30px;
    font-size: 14px;
    transition: transform 0.4s ease;
}

.right {
    /* border: 2px solid yellow; */
    width: 71vw;
    height: 99%;
    display: flex;
    /* flex: 1; */
    overflow: hidden;
    flex-direction: column;

}

.navbar {
    /* border: 2px solid orange; */
    background: #101010;
    height: 10%;
    margin-top: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    flex-shrink: 0;
}


.nav-svg {
    padding: 10px 30px;
    cursor: pointer;
}



.nav-svg svg {
    background: black;
    border-radius: 25px;
}

.hidden {
    display: none;
}

.playbar {
    position: fixed;
    /* border: 2px solid red; */
    height: 12%;
    width: 71%;
    bottom: 7px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    background: #242424;

    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.playbar.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}



.sign-button {
    background: black;
    border: none;
    color: #a1adae;
    font-size: 16px;
    font-weight: 800;
    margin-right: 16px;
    transition: transform 0.4s ease;
}

.sign-button:hover {
    transform: scale(1.1);
    color: white;
    cursor: pointer;
}


.log-button {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    margin-right: 6px;
    transition: transform 0.4s ease;
}

.main {
    margin-top: 10px;
    background-color: #121212;
    height: calc(100vh-(header height + footer height));
    border-radius: 10px;
    flex: 1;
    overflow: hidden;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    /* scroll-snap-type: y mandatory; */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}



.main:hover {
    overflow-y: auto;

}

.main::-webkit-scrollbar {
    width: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main:hover::-webkit-scrollbar {
    opacity: 1;
}


.main::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.main:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
}

.main::-webkit-scrollbar-track {
    background: transparent;
}


.main1 {
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
}




.main-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
}

.main-name h1 {
    cursor: pointer;
    font-size: 24px;
    margin-top: 10px;
}

.main-name h1:hover {
    text-decoration: underline;
}

.main-name button {
    background-color: #121212;
    color: #a1adae;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.main-name button:hover {
    text-decoration: underline;
    text-decoration-color: white;
}

.left-size-footer {
    /* border: 2px solid red; */
    height: 32%;
    display: flex;
    position: relative;
    background-color: #121212;
    bottom: 23px;
    width: 97%;
    left: 7px;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 15px;
    padding: 25px 8px;
    border-radius: 0px 0px 10px 10px;
    justify-content: flex-start;
}


.first a {
    color: #a1adae;
    font-size: 11px;
    text-decoration: none;
    font-weight: 500;
    padding: 0px 8px;
}

.second a {
    color: #a1adae;
    font-size: 11px;
    text-decoration: none;
    font-weight: 500;
    padding: 0px 8px;
}

.third a {
    color: white;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
    padding: 0px 8px;
}

.third a:hover {
    text-decoration: underline;
}

.left-footer-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 10px 10px;
}

.left-footer-button button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 800;
    color: white;
    background-color: #121212;
    border: 1px solid #a1adae;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.left-footer-button button:hover {
    background-color: #121212;
    transform: scale(1.05);
    box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
}

.left-footer-button button img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s, filter 0.3s;
}


.left-footer-button button:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}




.button:hover {
    transform: scale(1.1);
    cursor: pointer;
}


.card-container {
    /* border: 2px solid red; */
    width: 95%;
    margin: auto;
    font-family: "Inter", sans-serif;
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}




.card {
    /* border: 2px solid green; */
    width: 150px;
    height: 266px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;

}

.play {
    width: 50px;
    height: 50px;
    background-color: #1fdf64;
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 100px;
    right: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.play img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card:hover .play {
    opacity: 1;
    bottom: 124px;
}

.card:hover {
    background: #242424;
    box-shadow: 0px 0px 0px 10px #242424;
    border-radius: 2px;
    opacity: 1;
}

.card img {
    width: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.card h2 {
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0px;

}

.card h2:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.8px;
}

.card p a {
    font-size: 12px;
    font-weight: 800;
    color: #a1adae;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.card p a:hover {
    text-decoration: underline;
}

.card-container2 {
    /* border: 2px solid red; */
    width: 95%;
    margin: auto;
    font-family: "Inter", sans-serif;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}


.main-sec-footer {
    /* border: 2px solid yellow; */
    display: flex;
    justify-content: space-around;
    padding: 50px 0px;
    margin-top: 25px;

}

.main-sec-footer .footer-first-place {
    color: white;
    font-weight: 800;
}

.main-sec-footer .footer-first-place:hover {
    cursor: auto;
    text-decoration: none;
}

.main-sec-footer a {
    color: #a1adae;
    text-decoration: none;
    font-weight: 500;
}

.main-sec-footer a:hover {
    color: white;
    text-decoration: underline;
}


.firstPlace {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.secondPlace {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.thirdPlace {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fourthPlace {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.fifthPlace {
    display: flex;
    align-items: flex-start;
    gap: 15px;

}


.fifthPlace img {
    width: 15px;
}

.fifthPlace span {
    background-color: #242424;
    padding: 8px;
    border-radius: 30px;
    cursor: pointer;
}

.fifthPlace span:hover {
    background-color: #4c5151;
    padding: 8px;
    border-radius: 30px;
    cursor: pointer;
}

.line {
    width: 92%;
    margin: auto;
    background-color: #4c5151;
    opacity: 0.2;
}




footer p {
    padding: 30px 0px 80px 40px;
    color: #a1adae;
    font-weight: 500;
    font-size: 14px;
}



.play-img {
    filter: invert(1);
}

.song-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.song-details {
    margin-bottom: 14px;
    margin-left: 26px;
}

.song-time {
    margin-bottom: 10px;
    margin-right: 26px;
}

.song-button img {
    width: 30px;
    cursor: pointer;
}

.seekbar {
    border: 2px solid white;
    height: 4%;
    position: absolute;
    bottom: 17px;
    width: 96%;
    right: 22px;
    background: white;
    border-radius: 34px;
    cursor: pointer;
}

.circle {
    border: 2px solid white;
    border-radius: 30px;
    width: 12px;
    position: relative;
    height: 12px;
    background: white;
    bottom: 6px;
    left: 0%;
    transition: left 0.3s linear;
    pointer-events: none;
}

.right-side-of-playbar {
    display: flex;
    justify-content: end;
    align-items: center;
}


.volume {
    margin-bottom: 10px;
    margin-right: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.volume img {
    cursor: pointer;
}

#range {
    color: #c48a45;
    cursor: pointer;
}


.logo-work{
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.logo-work p:first-of-type{
    font-size: 1.2rem;
}