@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);

* {
    margin: 0;
    padding: 0;
    font-family: "Inter";
}

.container {
    width: 100%;
    height: 100vh;
    background: #050506;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 5px;
}

.Card {
    width: 450px;
    height: 93%;
    background: #09090b;
    border: 1.5px solid #27272a;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.footer {
    width: calc(100% - 30px);
    height: 12%;
    background: #050506;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
}

.title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title .spider {
    width: 35px;
    height: 35px;
    color: #e11d4b;
}

.title h3 {
    color: #fff;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 25px;
}

.title h3 span {
    font-size: 13px;
    color: #a0a0a9;
    font-weight: 400;
}

.dots {
    color: #a0a0a9;
    font-size: 13px;

    &:hover {
        background: #292524;
    }
}

.things {
    width: calc(100% - 30px);
    height: calc(100% - 12%);
    padding: 12px 15px 18px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.search {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.search i {
    color: #a0a0a9;
    font-size: 15px;
    position: absolute;
    z-index: 5;
    left: 15px;
}

.search input {
    width: 100%;
    padding: 10px;
    background: #27272a;
    border-radius: 8px;
    border: none;
    outline: none;
    color: #c3c3c3;
    font-size: 14px;
    padding-left: 40px;

    &::placeholder {
        color: #c3c3c3;
    }
}

.pages {
    width: calc(100% - 8px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 4px;
    background: #27272a;
    border-radius: 10px;
    color: #c3c3c3;
}

.page {
    height: 40px;
    background: transparent;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    border-radius: 10px;
    cursor: pointer;

    &:hover {
        color: #fff;
    }
}

.songs {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.song {
    width: calc(100% - 30px);
    height: 55px;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(#27272a, #27272a, #27272a);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &:hover {
        background: linear-gradient(#27272a, #292524, #292524);
    }

    &:hover .songName h4 {
        color: #e11d4b;
    }
}

.songName {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.songName .favicon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e11d4b45;
}

.songName .favicon .bi-play {
    font-size: 25px;
    color: #e11d4b;
}

.songName .favicon .child {
    border-color: #e11d4b;
}

.songName .h4 h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 25px;
    transition: all 0.3s;
}

.songName .h4 span {
    font-size: 13px;
    color: #a0a0a9;
    font-weight: 400;
}

.songElements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #a0a0a9;
    font-size: 13px;
}

.songElements .bi-heart,
.bi-heart-fill {
    color: #e11d4b;
}

.controls {
    width: calc(100% - 30px);
    height: 150px;
    margin-top: 15px;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    box-shadow: 0 0 3px 3px #e11d4b;
    border: 1.5px solid #e11d4b;
    border-radius: 10px;

    animation: shadow 2s linear infinite;
}

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

.controls .title i{
    color: #e11d4b;
    cursor: pointer;
}

.favicon svg.text-red-400 {
    width: 25px;
    height: 25px;
    color: #e11d4b;
}

.line {
    width: 100%;
    height: 5px;
    background: #27272a;
    border-radius: 5px;
}

.lineChild {
    width: 40%;
    height: 100%;
    background: #e11d4b;
    border-radius: 5px;
}

.controlButton {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.controlButton .i {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 6px;
    background: transparent;
    transition: 0.3s;
    color: #a0a0a9;

    &:hover {
        background: #292524;
        color: #fff;
    }
}

.controlButton .fa-shuffle {
    font-size: 15px;
}

.controlButton .bi-caret-left,
.controlButton .bi-caret-right,
.controlButton .bi-volume-up,
.controlButton .bi-repeat {
    font-size: 18px;
}

.controlButton .bi-caret-left,
.controlButton .bi-caret-right {
    color: #fff;
    position: relative;
    display: flex;
    justify-content: center;

    &:hover {
        color: #e11d4b;
    }

    &:hover::after {
        background: #e11d4b;
    }
}

.controlButton .bi-caret-left::after {
    content: "";
    position: absolute;
    width: 2px;
    background: #fff;
    border-radius: 5px;
    height: 10px;
    left: 11px;
    top: 15px;
    transition: 0.3s;
}

.controlButton .bi-caret-right::after {
    content: "";
    position: absolute;
    width: 2px;
    background: #fff;
    border-radius: 5px;
    height: 10px;
    right: 11px;
    transition: 0.3s;
}


.controlButton .playPause {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #e11d4b;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.controlButton .playPause .child{
    height: 10px !important;
}

.volume{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;

    &:hover .volumeControl{
        width: 80px;
        transform: scale(1);
    }
}

.volumeControl {
    width: 0px;
    height: 5px;
    background: #27272a;
    border-radius: 5px;
    position: relative;
    transition: width 0.3s, transform 0.3s ease-in-out;
    transform: scale(0);
}

.volumeChild{
    width: 60%;
    background: #e11d4b;
    height: 100%;
}


.version svg {
    width: 20px;
    height: 20px;
    color: #e11d4b;
    z-index: 0 !important;
}

.version span{
    color: #a0a0a9;
    font-size: 13px;
}







/* for pause icon */
.pause {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.child {
    width: 2px;
    height: 12px;
    background: transparent;
    border-radius: 2px;
    border: 2px solid;
}

/* animations */
@keyframes spiderRotate {
    0% {
        transform: translateX(-10px) translateY(10px) rotate(30deg);
    }

    10% {
        transform: translateX(-8px) translateY(7px) rotate(60deg);
    }

    20% {
        transform: translateX(-10px) translateY(0px) rotate(90deg);
    }

    30% {
        transform: translateX(5px) translateY(-2px) rotate(120deg);
    }

    40% {
        transform: translateX(10px) translateY(1px) rotate(150deg);
    }

    50% {
        transform: translateX(15px) translateY(0px) rotate(180deg);
    }

    60% {
        transform: translateX(20px) translateY(3px) rotate(210deg);
    }

    70% {
        transform: translateX(15px) translateY(8px) rotate(240deg);
    }

    80% {
        transform: translateX(10px) translateY(10px) rotate(270deg);
    }

    90% {
        transform: translateX(5px) translateY(12px) rotate(330deg);
    }

    100% {
        transform: translateX(-10px) translateY(10px) rotate(390deg);
    }
}

@keyframes shadow {
    0% {
        box-shadow: 0 0 3px 3px #e11d4b;
    }

    50% {
        box-shadow: 0px 0px 20px 8px #e11d4b;
    }

    100% {
        box-shadow: 0 0 3px 3px #e11d4b;
    }
}









/* Add active class to pages */

.page.activePage {
    background: #e11d4b;
    color: #fff;
}

/* most used styles */
.active:active {
    box-shadow: 0px 0px 8px #e11d4b, 0px 0px 8px #e11d4b, 0 0 0 2px #e11d4b;
}

.icon {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 6px;
}

.focus:focus {
    box-shadow: 0 0 0 1px #e11d4b, 0 0 0 3px #000, 0 0 0 6px #e11d4b;
}

.text-red-400 {
    color: #e11d4b !important;
}

.spiderRotate {
    transform: translateX(-10px) translateY(10px) rotate(30deg);
    animation: spiderRotate 10s infinite;
}