html {
    font-size: 60%;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

body {
    background-color: black;
    color: white;
    font-family: "Work Sans", serif;
    font-optical-sizing: auto;
}

header {
    height: 10vh;
}

nav {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    width: 30px;
    margin: 25px;
    margin-bottom: 20px;
}

.nav-icons {
    display: flex;
    align-items: center;
}

.nav-icons img {
    width: 30px;
    filter: invert();
    margin-left: 8px;
    margin-top: 5px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background-color: #2A2A2A;
    margin-left: 20px;
    width: 430px;
    border-radius: 20px;
    transition: 0.6s;
}

.search-wrapper:hover {
    background-color: #383838d8;
    box-shadow: 0px 0px 3px white;
    transition: 0.3s;
}

.search-icon img {
    cursor: pointer;
}

.search-input input {
    border: none;
    outline: none;
    background-color: transparent;
    color: rgb(202, 202, 202);
    padding-left: 10px;
    width: 335px;
}

.browse-icon {
    cursor: pointer;
}

.nav-links {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.5rem;
}

.nav-links ul li {
    list-style-type: none;
    gap: 10px;

}

.nav-links ul li a {
    text-decoration: none;
    margin: 10px;
    color: rgb(168, 168, 168);
    font-weight: 600;
}

.nav-links ul li a:hover {
    color: white;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links p {
    font-size: 30px;
}

.nav-links .left-navlinks ul li a:hover{
    color: white;
    font-size: 15px;
    transition: 0.3s;
}
.nav-links .left-navlinks {
    padding-left: 70px;
}

.nav-links .left-navlinks ul {
    display: flex;
    justify-content: space-evenly;
}

.nav-links .left-navlinks ul li a {
    text-decoration: none;
    margin: 4px;
    color: rgb(168, 168, 168);
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-links .right-navlinks ul {
    display: flex;
    justify-content: space-evenly;
    padding-right: 10px;
    font-size: 13px;

}

.nav-links .right-navlinks ul li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.right-navlinks ul li:last-child a {
    background-color: white;
    color: black;
    padding: 12px 30px;
    border-radius: 30px;
}

.right-navlinks ul li:last-child a:hover {
    background-color: rgb(180, 180, 180);
    padding: 13px 32px;
    border-radius: 30px;
    transition: 0.3s;
}

main {
    display: flex;
    gap: 10px;
    margin: 2px 6px;
    height: calc(100vh - 25vh);
}
.right p{
    color: #888;
    margin-bottom: 60px;
}

.left {
    width: 31vw;
    background-color: #121212;
    border-radius: 8px;
}

.library-logo {
    cursor: pointer;
    opacity: 0.6;
    margin-bottom: 10px;
}

.library-navbar {
    display: flex;
    align-items: center;
    padding-left: 20px;
    height: 70px;
    color: #a8a8a8;
}

.library-text {
    margin: 0 0 10px 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-text h1 {
    cursor: pointer;
}

.library-text h1:hover {
    color: rgb(255, 255, 255);
}

.library-text img {
    cursor: pointer;
    filter: invert();
    margin-right: 15px;
    opacity: 0.6;
    margin-bottom: 10px;
}

.library-logo img {
    filter: invert();
    width: 22px;
    margin-right: 10px;
}

.library-navbar h1 {
    font-size: 15px;
}

.left-content {
    height: 170px;
    overflow: auto;
    padding: 8px;
}
/* Scroll Bar Styleing */
::-webkit-scrollbar {
    width: 8px;
  }
::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease-in-out;
  }
  

:hover::-webkit-scrollbar-thumb {
    background: #888;
  }
  

:hover::-webkit-scrollbar-thumb:hover {
    background: #1db954;
  }
.left-content .card {
    width: 100%;
    background-color: #1F1F1F;
    border-radius: 6px;
    padding: 17px 15px;
    margin-bottom: 22px;
    display: block;
}

.card h2 {
    margin-bottom: 10px;
}

.card p {
    font-size: 13px;
    margin-bottom: 20px;
}

.card button {
    padding: 7px 14px;
    background-color: white;
    border: none;
    border-radius: 20px;
    color: rgb(20, 20, 20);
    font-weight: bold;
    cursor: pointer;
 
}
.card button:hover{
    transition: 0.3s;
    background-color: #8f8f8f;
    font-size: 14px;

}
.left-footer {
    height: 177px;
    border-radius: 0 0 8px 8px;
    padding: 35px 0 0 13px;
}

.left-footer ul {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
}

.left-footer ul li {
    list-style-type: none;
    margin-bottom: 15px;
}

.left-footer ul li a {
    text-decoration: none;
    color: #a8a8a8;
    margin: 8px;
    font-size: 10px;
}

.left-footer ul span li {
    width: 600px;
}

.left-footer ul span li a {
    font-size: 11px;
    color: white;
}

.left-footer button {
    font-size: 12px;
    font-weight: bold;
    color: white;
    padding: 7px 11px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 20px;
    margin: 15px 0 0 10px;
}

.right {
    border-radius: 8px;
    width: 69vw;
    background: linear-gradient(to right top, #212121, #121212);
    overflow: auto;
    padding: 15px;
}
.categories-row{
    margin-bottom: 10px;
}
.categories-header{
    display: flex;
    justify-content: space-between;
}
.categories-header h1{
    font-size: 2.3rem;
}
.categories-header h1:hover{
    text-decoration: underline;
    cursor: pointer;
}
.categories-header a{
    text-decoration: none;
    font-size: 1.3rem;
    color: #a8a8a8;
    font-weight: bold;
}
.categories-header a:hover{
    text-decoration: underline;
}
.categories-card-container{
    display: flex;
    flex-direction: row;
}
.artist-card{
    margin: 20px 5px 20px 5px;
    width: 20%;
    height: 200px;
    padding: 10px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    
}
.play{
    width: 40px;
    height: 40px;
    background-color: #1db954;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: 25px;
    bottom: 0;
    opacity: 0;
}
.play img{
    margin: 14px;
}
.artist-card:hover{
    background: linear-gradient(to top, rgba(51, 51, 51, 0.678), rgba(18, 18, 18, 0.068));
}
.artist-card-image img{
    width: 100%;
    height: 135px;
    border-radius: 50%;
    margin: 0 0 5px 0 ;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.712);
}
.artist-card-image h2{
    font-weight: 500;
    margin-bottom: 5px;
}
.artist-card-image p{
    font-size: 1.3rem;
    color: #8f8f8f;
    font-weight: 600;
}  
.categories-card{
    margin: 20px 5px 20px 5px;
    width: 20%;
    height: 201px;
    padding: 10px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    
}
.categories-card:hover{
    background-color: #2A2A2A;
}
.categories-card-image img{
    width: 100%;
    height: 135px;
    border-radius: 6px;
    margin: 0 0 5px 0 ;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.712);
}
.categories-card-image h2{
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 5px;
}
.categories-card-image p{
    font-size: 1.3rem;
    color: #8f8f8f;
    font-weight: 500;
    line-height: 15px;
} 
.right-footer{
    display: flex;
    padding: 20px 5px;
}
.footer-links{
    margin: 10px 35px 10px 10px;
}
.right-footer ul li{
    list-style-type: none;
    margin: 10px 0;
}
.right-footer ul li a{
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    color: rgb(148, 148, 148);
}
.right-footer ul li a:hover{
    transition: 0.3s;
    color: white;
    text-decoration: underline;
}
.footer-icons a{
    color: #8f8f8f;
}  
footer {
    height: 11vh;
    background: linear-gradient(to right top, #af2896, #509bf5);
    margin: 10px;
    border-radius: 1px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative; 
}

footer h3 {
    font-size: 13px;
}

footer p {
    margin: 5px 0 0 0;
    font-size: 14px;
}

footer button {
    background-color: white;
    color: black;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

footer button:hover {
    padding: 17px 32px;
}
.playbar{
    background-color: #1F1F1F;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    height: 12vh;
    margin: 10px 10px 0 10px;
    width: 98%;
    border-radius: 8px;
    display: none;
}
#current-time{
    margin: 20px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
#current-time input{
    cursor: pointer;
}
.playbar img{
    filter: invert();
    margin: 10px;
    width: 20px;
    cursor: pointer;
}
#songslist{
    background-color: #212121;
    padding: 20px;
    font-size: 15px;
    list-style-type: none;
    border-radius: 8px;
    display: none;
}
#songslist li{
    margin-bottom: 10px;
}
#songslist a{
    color: white;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    gap: 10px;
}
#songslist audio{
    display: none;
}