
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   background-color: #000;
   font-family: Arial, Helvetica, sans-serif;
}

.sidebar {
   width: 350px;
   background: black;
   position: fixed;
   top: 0;
   left: 0;
   bottom: 0;
   padding: 10px;
   overflow-y: auto;
   position: fixed;
}

.sidebar-nav {
   background-color: #181717ca;
   border-radius: 10px;
   padding: 20px 10px;
   margin-bottom: 10px;
}

.sidebar-nav .logo {
   width: 100px;
}

.sidebar-nav .logo img {
   margin-left: 17px;
   width: 90px;
}

.sidebar-nav ul {
   list-style: none;
}

.sidebar-nav ul li {
   padding: 10px 20px;
}

.sidebar-nav ul li a:hover {
   color: white;
}

.sidebar-nav ul li a {
   text-decoration: none;
   color: #cacaca;
   font-size: 16px;
   font-weight: 600;
}

.sidebar-nav ul li a i {
   font-size: 20px;
   margin-right: 10px;
}

.Library::after {
   content: '+';
   float: right;
   text-align: center;
   border-radius: 50%;
   font-size: 15px;
}

.create-playlist {
   background-color: #302f2f;
   padding: 30px 15px;
   border-radius: 10px;
   margin-bottom: 10px;
}

.sidebar-scroll {
   height: 120px;
   width: 300px;
   overflow-y: auto;
}

.sidebar-scroll::-webkit-scrollbar {
   background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
   background: transparent;
   width: 10px;
}

.sidebar-scroll:hover::-webkit-scrollbar-thumb {
   background: #5c5b5b;
   width: 5px;
}

.create-playlist h4 {
   color: white;
   font-size: 15px;
}

.create-playlist p {
   color: white;
   font-size: 12px;
   margin: 12px 0;
}

.create-playlist button {
   padding: 8px 20px;
   border: 0;
   outline: 0;
   border-radius: 20px;
   font-weight: 600;
   margin-bottom: 10px;
}

.create-playlist button:hover {
   background-color: #ffffff;
}

.privacy ul li a {
   text-decoration: none;
   color: #9c9c9c;
   font-size: 11px;
   font-weight: 500;
   margin: 0 6px;
}

.privacy ul li a:hover {
   text-decoration: underline;
   color: #cacaca;
}

.privacy ul {
   list-style: none;
   margin-top: 20px;
}

.privacy ul li {
   padding: 0 12px;
   padding-bottom: 8px;
}

.eng-btn {
   padding: 20px 30px;
}

.eng-btn button {
   padding: 10px 15px;
   border-radius: 20px;
   background: transparent;
   color: white;
   border: 0;
   outline: none;
   border: 1px solid rgba(255, 255, 255, 0.758);
   margin: 20px 0;
}

.eng-btn button i {
   margin-right: 5px;
}

.eng-btn button:hover {
   padding: 11px 16px;
   border: 1px solid white;
}

/***--------main section---------****/

.main-section {
   margin-left: 350px;
   background-color: hsla(0, 2%, 9%, 0.792);
   background-image: linear-gradient(rgb(58, 56, 56) -1%, hsla(0, 2%, 9%, 0.792) 20%);
   height: 100vh;
   overflow-y: auto;
   margin-bottom: 80px;
}

.main-section .top-nav {
   padding: 20px 30px;
   background-color: #101010;
   display: flex;
   justify-content: space-between;
   align-items: center;
   position: fixed;
   width:1265px;
}

.main-section .top-nav .preview-btn .right {
   margin-left: 16px;
}

.main-section .top-nav button {
   background: transparent;
   border: 0;
   outline: 0;
   margin-left: 50px;
}

.main-section .top-nav .preview-btn button i {
   color: rgb(192, 192, 192);
   font-size: 22px;
}

.top-nav .login-btn .signup {
   color: #cacaca;
   font-size: 16px;
   font-weight: 600;
   margin-left: 30px;
}

.top-nav .login-btn .signup:hover {
   color: #ffffff;
}

.top-nav .login-btn .login {
   color: black;
   font-size: 16px;
   font-weight: 600;
   background: #ffffff;
   padding: 10px 20px;
   border-radius: 20px;
}

.top-nav .login-btn .login:hover {
   background: #cbc3c3;
}

.spotify-playlist {
   padding: 20px 40px;
}

.spotify-playlist h2 {
   color: white;
   font-size: 22px;
   margin-bottom: 20px;
   margin-left: 30px;
   margin-top: 20px;
}

.spotify-playlist .card {
   display: flex;
   gap: 7px;
   overflow: hidden;
   margin-left: 30px;
}

.spotify-playlist .card .item {
   width: 168px;
   min-width: 140px;
   background-color: #212121;
   cursor: pointer;
   padding: 6px;
   border-radius: 6px;
   margin-top: 0px;
}

.spotify-playlist .card .item:hover {
   background-color: #5b5b5b;
}


.spotify-playlist .card .item img {
   width: 100%;
   border-radius: 6px;
   margin-bottom: 10px;
}

.spotify-playlist .card .item h4 {
   color: white;
   font-size: 15px;
}

.spotify-playlist .card .item p {
   color: rgb(186, 186, 186);
   font-size: 12px;
   margin-top: 10px;
}

.spotify-playlist .card .item p:hover {
   text-decoration: underline;
}

.spotify-playlist .play-btn {
   position: relative;
}

.spotify-playlist .play-btn i {
   position: absolute;
   background-color: rgb(43, 220, 43);
   border-radius: 100%;
   padding: 10px 13px;
   right: 3px;
   top: -40px;
   opacity: 0;
   transition: 0.3s;
}

.spotify-playlist .card .item:hover .play-btn i {
   opacity: 1;
   transform: translateY(-20px);
}

/***singers***/

.spotify-playlist .card .item2 {
   width: 150px;
   min-width: 170px;
   /* background-color: #272727; */
   cursor: pointer;
   padding: 10px;
   border-radius: 6px;
   margin-bottom: 20px;
}

.spotify-playlist .card .item2:hover {
   background-color: #5b5b5b;
}

.spotify-playlist .card .item2 img {
   width: 100%;
   border-radius: 50%;
   margin-bottom: 10px;
}

.spotify-playlist .card .item2 h4 {
   color: white;
   margin-left: 14px;
}

.spotify-playlist .card .item2 p {
   color: rgb(186, 186, 186);
   font-size: 13px;
   margin-top: 10px;
   margin-left: 14px;
}

.spotify-playlist .card .item2 p:hover {
   text-decoration: underline;
}

.spotify-playlist .card .item2:hover .play-btn i {
   opacity: 1;
   transform: translateY(-20px);
}
.show-all-artist{
   color: rgb(175, 171, 171);
   font-size: 14px;
   text-align: right;
}

.spotify-playlist .show-all {
   color: rgb(175, 171, 171);
   font-size: 14px;
   position: relative;
   text-align: right;
   bottom: 40px;
}

.spotify-playlist .show-all:hover {
   text-decoration: underline;
}

/* Media Queries for responsiveness */

@media screen and (max-width: 768px) {
   .sidebar {
       width: 250px;
   }
   .main-section {
       margin-left: 250px;
   }
   .sidebar-scroll {
       width: 200px;
   }
}

@media screen and (max-width: 600px) {
   .sidebar {
       width: 200px;
   }
   .main-section {
       margin-left: 200px;
   }
   .sidebar-scroll {
       width: 150px;
   }
   .spotify-playlist .card {
       flex-direction: column;
   }
}

@media screen and (max-width: 400px) {
   .sidebar {
       width: 150px;
   }
   .main-section {
       margin-left: 150px;
   }
   .top-nav {
       flex-direction: column;
   }
   .top-nav .login-btn .signup,
   .top-nav .login-btn .login {
       margin-left: 0;
       margin-top: 10px;
   }
}


.spotify-playlist .card .item .trend {
   color: rgb(186, 186, 186);
   font-size: 14px;
   margin-top: 10px;
}

/**------Footer---------**/

.footer-section{
   padding: 20px 40px;
}

.footer-section .footer{
   display: flex;
   justify-content: space-between;
   margin-top: 20px;
}

.footer-section .footer .footer-links{
   display: flex;
   justify-content: space-between;
   gap: 50px;
}

.footer-section .footer .footer-links .footer-column{
   margin: 0 12px;
}

.footer-section .footer .footer-links div{
   color: white;
   font-weight: 600;
   margin-bottom: 12px;
   font-size: 16px;
}

.footer-section .footer .footer-links ul li{
   list-style: none;
   margin: 6px 0;
}

.footer-section .footer .footer-links ul li a{
   text-decoration: none;
   color: #cbc3c3;
   font-size: 14px;
   cursor: pointer;
}

.footer-section .footer .footer-links ul li a:hover{
   text-decoration: underline;
   color: #ffffff;
}


.footer .social-links i{
   color: white;
   background: #353434;
   padding: 12px;
   border-radius: 50%;
   margin: 0 5px;
   cursor: pointer;
}

.footer .social-links i:hover{
   color: white;
   background: #4a4a4a;
}

hr{
   margin: 20px 14px;
   border: 0;
   outline: 0;
   border: 1px solid #616666;
}

.copyright{
   padding: 0 40px;
   color: #cbc3c3 ;
   font-size: 15px;
   margin-bottom: 30px;

}

.preview{
   display: flex;
   justify-content: space-between;
   background: linear-gradient(to right,#ae2896,#509bf5);
   position: fixed;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 12px 40px;
}


.preview h4{
   font-size: 13px;
   font-weight: 600;
   margin-bottom: 10px;
   color: #ffff;
}

.preview p{
   font-size: 14px;
   font-weight: 400;
   margin-bottom: 10px;
   color: #ffff;
}

.preview button{
   padding: 12px 20px;
   border: 0;
   outline: 0;
   border-radius: 20px;
   font-size: 14px;
   font-weight: 600;
   color: black;
}