@font-face {
    font-family: "Main";
    src: url(../fonts/intan.otf);
}

@font-face {
    font-family: "SpotifyMix";
    src: url(../fonts/SpotifyMix-Regular.woff);
}

* {
    scroll-behavior: smooth;
}

.que-header {
    color: white;
    font-size: 14px;
    font-family: "Main", "SpotifyMix", sans-serif;
    margin: 7px 3px;
}

.que-item-image {
    width: 45px;
    height: 45px;
    border-radius: 2px;
}

.queue-container {
    scroll-behavior: auto;
    height: 80vh;
    overflow-y: auto;
    padding: 3px 0 3px 6px;
}

.queue-container::-webkit-scrollbar-track {
    visibility: hidden;
}

.queue-container::-webkit-scrollbar-thumb {
    background-color: #2c2c2c;
}

.queue-item, .current-song {
    width: 98%;
    padding: 10px 10px;
    font-family: "SpotifyMix", sans-serif;
    font-size: 13px;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.queue-item:hover, .current-song:hover {
    background-color: #1d1d1d;
}

.header {
    width: 100%;
    background-color: rgb(0 0 0 / 0.45);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 7vh;
    position: fixed;
    top: 0;
    padding: 5px 0;
    z-index: 200;
    transition:  ease-in-out .3s;
}

.ft {
    color: #fff;
    font-family: "SpotifyMix", "League Spartan", sans-serif;
}

.header .header-overlay {
    pointer-events: none;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    transition:  ease-in-out .3s;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #8f8f8fda;
  border-radius: 50px;
}

::-webkit-scrollbar-track {
  background-color: #e4e4e4;
}

body {
    background-color: #ddd;
    height: 10vh;
    background-color: #131313;
    transition: ease-in-out .3s;
}

.header .logo {
    width: 40px;
    height: 40px;
    margin-left: 5.5rem;
}

.header-right {
    display: flex;
    flex-direction: column;
    max-height: 100%;
    height: 100%;
    max-width: 400px;
    width: 100%;
    /* padding-top: 5px; */
    justify-content: center;
    align-items: center;
}

/* .header-right form {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} */

.header-right input {
    width: 325px;
    padding: 5px 1.5rem;
    height: 45px;
    border-radius: 100px;
    border: none;
    outline: none;
    background-color: rgb(209, 207, 207);
    color: #131313;
}

.header-right input::placeholder {
    color: #4d4c4c;
    font-family: "SpotifyMix", "League Spartan", sans-serif;
    font-size: 12px;
}

.searchresult {
    background-color: #fff;
    padding: 10px 1rem;
    border-bottom: 1px solid #131313;
    display: flex;
    max-width: 100%;
    width: 100%;
    justify-content: stretch;
    align-items: center;
    
    font-family: "SpotifyMix", "League Spartan", sans-serif;
}

.searchresult .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .searchresult:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

.searchresult span {
    margin-left: 1rem;
    font-family: "SpotifyMix", 'League Spartan', sans-serif;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}

 .results {
    transform: translateY(100%);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    max-height: calc(60vh + 10rem);
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.main {
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    
}

.nav {
    height: 100%;
    width: 20%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #000;
    padding-top: 10vh;
}

.main main {
    width: 80%;
    position: absolute;
    right: 0;
    height: 100%;
    margin-top: 7vh;
}

.bottom-layer {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding: 30px;
}

.bottom-layer .upper {
    height: 40%;
    position: absolute;
    z-index: 10;
    
}

.custom-lyrics {
    font-size: 18px;
    color: #000000;
}

.overlay {
    width: 100%;
    height: 100%;
    backdrop-filter: blur(40rem);
    -webkit-backdrop-filter: blur(40rem);
    background-color: rgb(0 0 0 / 0.25);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.details {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: stretch;
    align-items: flex-end;
}

.artisimg {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.details-left {
    margin-right: 30px;
}

.details-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
}

.details-right .meta-details .artist-details{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.name {
    font-family: "Main", "League Spartan", sans-serif;
    font-size: 3.5rem;
}

.artist, .duration {
    font-family: "SpotifyMix", "League Spartan", sans-serif;
    color: #fff;
    font-size: 14px;
}

.top-layer {
    width: 100%;
    min-height: 100%;
    position: absolute;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, #131313 90%, rgba(19,19,19,0.7175245098039216) 95%, rgba(0, 0, 0, 0.137) 100%);    top: 45%;
    z-index: 10;
    padding: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.bottom-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

button {
    background-color: transparent;
    outline: none;
    border: none;
}

.btnC {
    cursor: pointer;

}

.bottom-header > * {
    font-size: 3.5rem;
    color: #0092ff;
}

.header-left > *:not(img) {
    font-size: 2.75rem;
    color: rgb(255, 255, 255);
    margin-left: 100px;
}

.header-left button > * {
    box-shadow: 4px 4px 6px rgb(0 0 0 / 0.35);
    border-radius: 50%;
}

.header-left button {
    pointer-events: none;
    opacity: 0;
    transition: ease-in-out .3s;
    border-radius: 50%;
}

.header-left button.active {
    pointer-events: all;
    opacity: 1;
    transition: ease-in-out .3s;
}

.other {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 10vh;
}

.other-left {
    width: 35vw;
}

.other-right {
    margin-left: 40px;
}

.lyric-header {
    font-size: 1rem;
    font-family: "Main", "SpotifyMix", "League Spartan", sans-serif;
    color: #fff;
}

.lyric-text {
    color: #fff;
    font-size: 15px;
    font-family: "SpotifyMix", "League Spartan", sans-serif;
}

.player {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
}

.artist-block {
    margin-left: 30px;
    width: 350px;
    height: 100px;
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    transition: ease-in-out .1s;
    border-radius: 5px;
}

.artist-block:hover {
    background-color: rgba(255, 255, 255, 0.116);
    transition: ease-in-out .1s;
}

.artist-block .atrist-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #131313;
    margin-right: 30px;
    overflow: hidden;
}

.ach3 {
    font-family: "Main", "League Spartan", sans-serif;
    color: #fff;
    font-size: 1.25rem;
    text-transform: uppercase;
    padding-bottom: 8px;
}

.artist-block .atrist-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wrapper {
    width: 100%;
    height: 10vh;
    background-color: #131313;
    position: fixed;
    bottom: 0;
    z-index: 50;
    border-top: .5px solid #444;
}

.song-details {
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    gap: 1rem;
}

.player-image-container {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 2px;
    pointer-events: none;
}

.player-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-details div p {
    font-size: 1rem;
}

.player > * {
    width: 33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-right {
  
    flex-direction: column-reverse;
}

.audioC {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.song-timer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #eaeadaad;
    font-size: .7rem;
    font-family: "SpotifyMix", "League Spartan", sans-serif;
}

.progress-area {
    width: 300px;
    height: 3px;
    border-radius: 50px;
    cursor: pointer;
    background-color: #eaeadaad;
    box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.055);
    margin: 0 10px;

}

.progress-area .progress-bar {
    height: inherit;
    width: 0%;
    position: relative;
    border-radius: inherit;
    background-color: #0092ff;
}

.progress-bar::before {
    content: '';
    position: absolute;
    background-color: #ddd;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.055);
    border-radius: 50%;
    top: 50%;
    right: -8px;
    z-index: 2;
    height: 8px;
    width: 8px;
    border: none;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}

.controls > * {
    border: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
}

.controls {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
}

.slider div {
  position: relative;
  height: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider div input {
    position: absolute;
    left: 0;
    top: 0;
    width: 150px;
    height: 4px;
    -webkit-appearance: none;
    background-color: transparent;
    z-index: 20;
    cursor: pointer;
}

.slider div input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

.slider div input::-moz-range-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

.slider div progress {
    -webkit-appearance: none;
    width: 150px;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    overflow: hidden;
}

.slider div progress::-webkit-progress-bar {
    background-color: rgb(81, 83, 85);
}

.slider div progress::-moz-progress-bar {
    background-color: rgb(81, 83, 85);
}

.slider div progress::-webkit-progress-value {
    background-color: #0092ff;
}

.slider div progress::-moz-range-progress {
    background-color: #0092ff;
}

.slider div .icon svg {
    color: white;
    transform: translateX(-35px);
}