@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Akshar:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


* {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* animation: logospin 300ms infinite linear; */
}

body {
    background-color: #1c1d31;
}

.row {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

/*

NAV

*/

.navbar__item--icon2 {
    margin-right: 8px;
}

nav {
    position: -webkit-sticky;
    position: sticky;
    float: left;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    z-index: 1;
    top: 0;
    left: 0;
    border-right: #333446 2px solid;
    overflow: hidden;
    padding-top: 30px;
}

.navbar {
    height: 100%;
}

.navbar__logo--img {
    width: 120px;
}

.navbar__logo {
    display: flex;
    justify-content: space-around;
}

.navbar__logo:hover {
    animation: logospin 300ms;
}

@keyframes logospin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.navbar__links--link {
    color: #6e7d8f;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: all 300ms ease;
}

.navbar__links {
    display: flex;
    flex-direction: column;
    height: 60vh;
}

.navbar__items {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.navbar__icons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60vh;
}

.navbar__item {
    margin: 24px 12px;
    color: #6e7d8f;
    display: flex;
    flex-direction: column;
    line-height: 24px;
    text-align: left;
}

.navbar__links--link:hover {
    color: #7342d6;
}

.navbar__item--icon {
    text-align: left;
    font-size: 24px;
    margin-right: 8px;
}

.navbar__item--href {
    padding: 0;
    text-decoration: none;
    color: #6e7d8f;
}

.active {
    color: #7342d6;
}

/*

TOP TEN 

*/

.topten__list {
    display: flex;
    flex-direction: row;
    margin: 10px 10px;
    width: 10vw;
}

.topten__description {
    color: white;
    width: 100%;
    max-width: 180px;
    font-size: 14px;
}

.topten__position {
    margin-right: 16px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(115, 66, 214, 0.11);
    color: #7342d6;
    text-align: center;
    display: block;

    font-weight: bold;
    font-size: 18px;
}

.topten__title {
    margin: 20px 0 24px 16px;
    font-size: 20px;
    color: white;
}

.topten__output {
    z-index: 5;
    background-color: #1c1d31;
}

.topten__description--para {
    font-size: 12px;
    margin-bottom: 8px;
}

/*

RIGHTBAR 

*/

.row-rightbar {
    height: 100%;
    max-height: 100vh;
}

#rightbar {
    background-color: #1c1d31;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    border-right: #333446 2px solid;
}

.rightbar {
    border-left: #333446 1px solid;
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    bottom: 0;
}

/*

INFO 

*/

.rightbar__info {
    color: #6e7d8f;
    font-size: 16px;
    margin-bottom: 78px;
    margin-left: 16px;
}

.rightbar__socials--items {
    margin: 8px 0;
    list-style-type: none;
}

.rightbar__socials--link {
    font-size: 500;
    font-size: 16px;
    color: #6e7d8f;
    text-decoration: none;
}

.rightbar__socials--icon {
    font-size: 20px;
    margin-right: 8px;
}

.rightbar__socials--items:hover .rightbar__socials--link {
    transition: all 300ms ease;
    color: #7342d6;
}

.rightbar__socials--items:hover .rightbar__socials--icon {
    transition: all 300ms ease;
    color: #7342d6;
}

.rightbar__socials--title {
    color: white;
    margin-bottom: 24px;
}

/*

EXPLORE 

*/

.explore {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.explore__title {
    margin: 32px 24px;
    margin-bottom: 0;
    align-self: start;
    color: white;
    font-size: 78px;
    font-family: 'Akshar', sans-serif;
}

.explore__highlighted--songs {
    display: flex;
    flex-direction: column;
}

.explore__highlighted {
    align-items: center;
}

.link__hover-effect:hover:after {
    left: 0;
    width: 100%;
}

.link__hover-effect {
    padding-bottom: 8px;
    position: relative;
}

.link__hover-effect:after {
    background-color: #7342d6;
    content: "";
    position: absolute;
    bottom: -3px;
    height: 3px;
    width: 0;
    right: 0;
    transition: all 300ms ease;
}

.highlighted__title {
    color: #6e7d8f;
    margin-right: 16px;
}

.highlight-active {
    color: white;
}

.highlighted__titles {
    margin-left: 32px;
    display: flex;
}

.highlighted__song {
    z-index: 0;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    width: 220px;
    height: 270px;
    padding: 8px;
}

.highlight-active {
    padding-bottom: 8px;
    border-bottom: #7342d6 2px solid;
}

.explore__title--wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.topheader__icon--button {
    display: none;
    margin: 32px 32px 0 0;
    font-size: 40px;
    color: #6e7d8f;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.topheader__icon--button:hover {
    font-size: 40px;
    color: #7342d6;
    transition: all 300ms ease;
}

.explore__output {
    margin-top: 24px;
    margin-bottom: 56px;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.highlighted__description--title {
    font-family: 'Akshar', sans-serif;
    font-weight: bold;
    width: 100%;
    max-width: 170px;
    font-size: 30px;
}

.highlighted__description--para {
    font-weight: 500;
    width: 100%;
    max-width: 200px;
    font-size: 14px;
    margin: 8px 0 4px 0;
}

.highlighted__description {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    color: white;
    width: 100%;
}

.highlighted__img {
    border: white 2px solid;
    width: 40%;
    border-radius: 4px;
}

.highlighted__footer {
    display: flex;
    justify-content: space-between;
    height: 50%;
    align-items: end;
}

.highlighted__button--play {
    cursor: pointer;
    font-size: 46px;
    color: white;
    background: transparent;
    border: none;
}

.highlighted__button--play:hover {
    transition: all 200ms ease;
    color: rgba(255, 255, 255, 0.644);
}


/*

MUSIC BAR

*/

.row-musicbar {
    position: fixed;
    z-index: 100;
    background-color: #333446;
    bottom: 0;
    height: 80px;
    width: 100%;
}

.musicbar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
}

.musicbar__description {
    color: white;
}

.musicbar__description--artist {
    color: #7a7b86;
}

.musicbar__cover--img {
    border: 2px white solid;
    margin-bottom: 48px;
    width: 100px;
    border-radius: 4px;
}

.btn__controller {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #7342d69a;
    color: white;
    text-align: center;
    margin: 0 4px;
}

.musicbar__controller--pauseplay {
    width: 50px;
    height: 50px;
    line-height: 50px;
}

.btn__controller:hover {
    cursor: pointer;
    transition: all 300ms ease;
    background-color: rgba(101, 38, 228, 0.233);
    color: #7342d6;
}

.btn__controller:active {
    transform: translateY(3px);
}

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

.musicbar__timestamp {
    color: #7a7b86;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.musicbar__timestamp--slider {
    margin: 0 4px;
    width: 50vw;
}

.musicbar__volumecontrol--slider {
    margin: 0 8px;
    width: 5vw;
}

.musicbar__volmecontrol--icon {
    color: #7a7b86;
}

.musicbar__volumecontrol ::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 3px;
    border-radius: 8px;
    background: #7a7b86;
    border: none;
}

.musicbar__volumecontrol ::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: white;
    margin-top: -4px;
}

.musicbar__timestamp ::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 3px;
    border-radius: 8px;
    background: #7a7b86;
    border: none;
}

.musicbar__timestamp ::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: white;
    margin-top: -4px;
}

.musicbar__volumecontrol ::-moz-range-track {
    -webkit-appearance: none;
    height: 3px;
    border-radius: 8px;
    background: transparent;
    background: #7a7b86;
    border: none;
}

.musicbar__volumecontrol ::-moz-range-thumb {
    -webkit-appearance: none;
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: white;
    margin-top: -4px;
}

.musicbar__timestamp ::-moz-range-track {
    -webkit-appearance: none;
    height: 3px;
    border-radius: 8px;
    background: #7a7b86;
    border: none;
}

.musicbar__timestamp ::-moz-range-progress {
    background-color: white;
    height: 3px;
}

.musicbar__volumecontrol ::-moz-range-progress {
    background-color: white;
    height: 3px;
}

.musicbar__timestamp ::-moz-range-thumb {
    -webkit-appearance: none;
    border: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: white;
    margin-top: -4px;
}

input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}

.musicbar__controller--pauseplay {
    font-size: 20px;
}

/*

MEDIA QUERIES 

*/

@media (max-width:1200px) {
    .musicbar__timestamp--slider {
        width: 30vw;
    }

    .musicbar__volumecontrol--slider {
        width: 6vw;
    }

    .musicbar__cover--img {
        border: 2px white solid;
        margin-bottom: 24px;
        width: 80px;
    }

    .btn__controller {
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 50%;
        border: none;
        background-color: #7342d69a;
        color: white;
        text-align: center;
        margin: 0 4px;
        font-size: 12px;
    }

    .musicbar__controller--pauseplay {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
}

@media (max-width:728px) {
    .topheader__icon--button {
        display: block;
    }

    .explore__title {
        margin: 16px;
        margin-bottom: 0;
        align-self: start;
        font-size: 64px;
    }

    nav {
        display: none;
    }

    .rightbar {
        display: none;
    }

    .highlighted__song {
        z-index: 0;
        display: flex;
        flex-direction: column;
        border-radius: 4px;
        width: 45%;
        height: 220px;
        padding: 8px;
        margin: 0;
    }

    .explore__output {
        display: flex;
        justify-content: space-around;
        gap: 16px 8px;
    }

    .highlighted__description--title {
        font-size: 24px;
    }

    .highlighted__titles {
        display: flex;
        justify-content: start;
        margin: 0 0 24px 8px;
    }

    .musicbar__cover--img {
        border: 2px white solid;
        margin: 0 8px 36px 0;
        width: 80px;
    }

    .musicbar__description {
        width: 100%;
        max-width: 40%;
        font-size: 14px;
    }

    .musicbar__volumecontrol {
        display: none;
    }

    .musicbar {
        margin: 0 8px;
    }

    .musicbar__timestamp {
        display: none;
    }
}


@media (max-width:400px) {
    .btn__controller {
        display: none;
    }

    .musicbar__controller--pauseplay {
        display: inline;
    }

    .musicbar__description {
        width: 100%;
        max-width: 100%;
        font-size: 15px;
    }

    .musicbar__cover--img {
        border: 2px white solid;
        margin: 0 8px 36px 0;
        width: 70px;
    }

    .musicbar {
        display: flex;
        justify-content: space-around;
    }
}

@media (max-height:730px) {
    .topten__description {
        font-size: 12px;
    }

    .topten__position {
        width: 100%;
        max-width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }

    .topten__description--para {
        font-size: 10px;
    }

    .rightbar__info {
        color: #6e7d8f;
        font-size: 12px;
        margin-bottom: 78px;
        margin-left: 16px;
    }

    .rightbar__socials--link {
        font-weight: 500;
        font-size: 12px;
    }

    .navbar__items {
        margin-top: 14px;
    }

    .navbar__item {
        margin: 20px 12px;
        color: #6e7d8f;
        display: flex;
        flex-direction: column;
        line-height: 20px;
    }

    .navbar__icons {
        justify-content: space-around;
        height: 60vh;
    }

    .navbar__item--icon {
        font-size: 20px;
    }

    .navbar__links {
        justify-content: space-around;
        height: 60vh;
    }

    .navbar__links--link {
        font-size: 18px;
    }

    .navbar__logo--img {
        width: 90px;
    }
}

/*

    GENRES

*/

.genres__description--title {
    color: white;
    text-decoration: none;
}

.genres__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.genres__title {
    display: flex;
}

.genres__title {
    margin: 32px 24px;
    margin-bottom: 0;
    align-self: start;
    color: white;
    font-size: 78px;
    font-family: 'Akshar', sans-serif;
}

.genres {
    display: flex;
    color: white;
    align-items: start;
    justify-content: center;
    height: 85vh;
    gap: 32px;
    padding: 0 24px;
    transition: all 400ms ease;
}

.genres__card {
    margin: 32px 0;
    cursor: pointer;
    width: calc(100% / 3);
    height: 80%;
    background-color: red;
    border-radius: 8px;
    display: flex;
    font-size: 40px;
    font-weight: bold;
}

.genres__card--hiphop {
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}

.genres__card--hiphop:hover {
    background-image: linear-gradient(63deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}

.genres__card--pop {
    background-color: #0093E9;
    background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%);
}

.genres__card--pop:hover {
    background-image: linear-gradient(180deg, #0093E9 0%, #80D0C7 100%);
}

.genres__card--rb {
    background-color: #FBAB7E;
    background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
}

.genres__card--rb:hover {
    background-image: linear-gradient(82deg, #FBAB7E 0%, #F7CE68 100%);
}

.genres__description {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 20px 10px;
}

.genres__description--subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 128px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.genres__description--subtitle--hiphop {
    background: -webkit-linear-gradient(43deg, #2443e0 0%, #d83ece 56%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.genres__description--subtitle--pop {
    background: -webkit-linear-gradient(90deg, #028ddd 0%, #71c0b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.genres__description--subtitle--rb {
    background: -webkit-linear-gradient(30deg, #ffa26c 0%, #ffcf57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*

    ARTIST

*/

.artist__output {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 16px;
}

.artist {
    width: 200px;
    height: 250px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.artist__img {
    padding: 12px;
    width: 100%;
    border-radius: 50%;
}

.artist__description {
    color: white;
    text-align: center;
}

/*

    FAQ

*/

.faq__title {
    margin: 32px 24px;
    margin-bottom: 0;
    align-self: start;
    color: white;
    font-size: 78px;
    font-family: 'Akshar', sans-serif;
}

.faq {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.container-faq {
    width: clamp(250px, 90vw, 600px);
    padding: 2em 3em;
    color: white;
    border-radius: 13px;
  }
  .container-faq h2 {
    text-align: center;
    margin-bottom: 1em;
  }
  .qna {
    padding: 0.5em 0;
    border-bottom: 1px   solid #ccc;
  }
  .question {
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s;
  }
  .question:hover {
    color: #7342d6;
  }
  .qna.active .question {
    color: #7342d6;
  }
  .qna .question::before {
    content: ">";
    display: inline-block;
    margin-right: 5px;
    transition: transform 0.3s;
  }
  .qna.active .question::before {
    transform: rotate(90deg);
  }
  
  .qna .answer {
    height: 0px;
    transition: 0.3s linear;
    overflow: hidden;
    padding: 0 0.8em;
  }
  @media (max-width: 700px) {
    .container-faq {
      width: 100%;
      height: 100%;
      border-radius: 0;
      box-shadow: none;
      height: 100vh;
    }
    body {
      place-content: start;
    }
  }
  