@import url(https://fonts.googleapis.com/css?family=Tangerine:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);

:root {
    --primary-color: #15a6e9;
}

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
::-webkit-scrollbar-track {
    background: var(--primary-color);
}
::-webkit-scrollbar-thumb:hover {
    background: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    min-height: 100vh;
    color: #fff;
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.container {
    /* 
    height: 650px;
    width: 366px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #CCC;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    padding-bottom: 50px;
    */
    width: 80vw;
    height: 50vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

i {
    cursor: pointer;
    transition: all 0.3s;
}

i:hover {
    color: #106f9b;
}

i.active {
    color: var(--primary-color)
}

.length {
    justify-items: right;
    padding-right: 20px;
}

.top {
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    font-size: 16px;
    z-index: 10;
    color: #15a6e9;
}

.container.active .top {
    color: #111;
}

.container.active .cover-image {
    transform: scale(0.251);
    left: 23px;
    top: 6px;
    border-radius: 20px;
}

.player-body {
    position:  absolute;
    top: 366px;
    left: 0;
    height: 286px;
    width: 100%;
    background-color: #111111;
    transition: all 0.3s;
}

.container.active .player-body {
    height: 470px;
    left: 0;
    top: 180px;
}

.list-wrapper {
    height: 425px;
    width: 100%;
    overflow: auto;
    position: absolute;
    top: 378px;
    transform-origin: 0% 0%;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.1);
}

.container.active .list-wrapper {
    top: 182px;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.list {
    width: 100%;
    border-spacing: 0px 2px;
}

.list tr {
    height: 50px;
    text-align: center;
    background-color: #1d1d1d;
    text-indent: 8px;
    transform-origin:  0% 50%;;
}

.list tr:hover {
    background-color: #222;
    cursor: pointer
}

.list .title {
    width: 500px;
    text-align: left;
    text-indent: 15px;
    transition: all 0.3s;
}

.list tr:hover .title{
    padding-left: 5px;
    width: 210px;
}

.current-song-title {
    position: absolute;
    right: 23px;
    font-size: 14px;
    bottom: -60px;
    transition: all 0.3s;
}

.container.active .current-song-title {
    bottom: 10px;
}

.info {
    position: absolute;
    left: 50%;
    top: 440px;
    transform: translate(-50%);
    text-align: center;
    transition: all 0.3s;
}

.info h2 {
    font-size: 18px;
    margin-bottom: 5px;
}
.info h3 {
    font-size: 12px;
    /* color: #6d6d6d; */
}

.container.active .info {
    top: 66px;
    left: 126px;
    text-align: left;
    transform: translate(0);
    color: #111;
}

.controls {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 26px;
    width: 100%;
    height: 35px;
    position: absolute;
    bottom: 100px;
    z-index: 10;
    transition: all 0.3s;
}

.controls #playpause {
    font-size: 40px;
}

.container.active .controls {
    position: absolute;
    width: 216px;
    bottom: 4px;
    left: -44px;
    transform: scale(0.45);
}

.more-controls {
    color: #6d6d6d;
    font-size: 15px;
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: absolute;
    bottom: 10px;
    left: 0;
    z-index: 20;
    transition: all 0.3s;
}

.container.active .more-controls {
    bottom: -60px;
}

.bar {
    position: absolute;
    width: 320px;
    height: 2px;
    top: 580px;
    left: 23px;
    cursor: pointer;
    transform-origin: 0% 0%;
    background-color: #9d0505;
    transition: all 0.3s;
}

.container.active .bar {
    top: 119px;
    left: 126px;
    color: #111;
    background-color: #111;
    transform: scale(0.6875);
}

.bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: absolute;
    top: -4px;
    left: 0;
    user-select: none;
    pointer-events: none;
    transition: all 0.3s;
}

.bar .time {
    width: 100%;
    position: absolute;
    top: -20px;
    left: 0;
    user-select: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center; 
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    z-index: 1000;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    color: white;
    z-index: 100; /* ensure it stays above other content */
}

a, a:link, a:visited, a:hover, a:active, a:focus {
    color: white;
    text-decoration: none;
}

.blink_me {
  animation: blink 1s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#top_info{
    background-color: #6d6d6d;
}