*{
    margin: 0;
    user-select: none;
    box-sizing: border-box;
}
:root{
scroll-behavior: smooth;
--color1:rgb(46, 163, 0);
--color2:rgb(52, 184, 0);
--c2:#010233;
--c3:#0004f0;
}
::-webkit-scrollbar {
width: 0px;
background: rgb(29,29,29); 

}

@font-face {
    font-family: "f1";
    src: url('f1.ttf') format('truetype');
}

@font-face {
    font-family: "f2";
    src: url('f2.ttf') format('truetype');
}

@font-face {
    font-family: "f3";
    src: url('f3.ttf') format('truetype');
}

body{
    font-family: f1;
    width: 100%;
    background: linear-gradient(to left,rgb(20, 20, 20),rgb(23, 75, 28),rgb(20, 20, 20));
}


body>div:nth-child(1){
    height: 300px;
    width: 100%;
    
  opacity: 75%;

}
body>div:nth-child(1)>div:nth-child(1){
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;


}
body>div:nth-child(1)>div:nth-child(2){
    width: 100%;
    height: 60%;
    position: relative;
}
body>div:nth-child(1)>div:nth-child(1)>div{
    width: 30%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
  
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(1){
    height: 25%;
    transition: all 1s;
    width: 3px;

    background-color: var(--color1);
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(1){
    height: 42%;
    transition: all 1s;
    width: 3px;
 
    background-color: var(--color1);
}

body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(1){
    transition: all 1s;
        width: 3px;
        height: 33%;
        background-color: var(--color1);
    }


body>div:nth-child(2){
    height: 250px;
}

body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2),body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2),body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2){
    margin-top: -11px;
    position: relative;
    width: 70px;
    height: 85px;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(1){
    position: absolute;
    width: 75%;
    height: 90%;
    left: 21%;
    background-color: var(--color1);
    clip-path: polygon(0% 100%,0% 15%,100% 0%,100% 85%,94% 82%,94% 15%,6% 25%,6% 100%);
    border-radius:5px;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2){
    position: absolute;
    width: 27%;
    height: 12%;
    background-color: var(--color1);
    bottom:4%;
    left: 0%;
    transform: rotateZ(-25deg);
    border-radius: 50%;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(3){
    position: absolute;
    width: 27%;
    height: 12%;
    border-radius: 50%;
    background-color: var(--color1);
    transform: rotateZ(-25deg);
    bottom: 17%;
    right: 3%;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2):hover div:nth-child(4) a{
    color: rgb(30, 255, 0);
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(4){

    position: absolute;
    width: 90%;
    height: 15%;
    text-align: center;
    bottom: 50%;
    left: 12%;

    transform: rotateZ(-8deg);
 
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(4) a{
    transition: all 1s;
    text-decoration: none;
    font-weight: bolder;
    font-size: 22px;
    cursor: pointer;
    color: transparent;
}
/*-----*/
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2)>div:nth-child(1){
    position: absolute;
    width: 75%;
    height: 90%;
    left: 21%;
    background-color: var(--color1);
    clip-path: polygon(0% 100%,0% 15%,100% 0%,100% 85%,94% 82%,94% 15%,6% 25%,6% 100%);
    border-radius:5px;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2)>div:nth-child(2){
    position: absolute;
    width: 27%;
    height: 12%;
    background-color: var(--color1);
    bottom:4%;
    left: 0%;
    transform: rotateZ(-25deg);
    border-radius: 50%;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2)>div:nth-child(3){
    position: absolute;
    width: 27%;
    height: 12%;
    border-radius: 50%;
    background-color: var(--color1);
    transform: rotateZ(-25deg);
    bottom: 17%;
    right: 3%;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2):hover div:nth-child(4) a{
    color: rgb(30, 255, 0);
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2)>div:nth-child(4){

    position: absolute;
    width: 90%;
    height: 15%;
    text-align: center;
    bottom: 50%;
    left: 12%;

    transform: rotateZ(-8deg);
 
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2)>div:nth-child(4) a{
    transition: all 1s;
    text-decoration: none;
    font-weight: bolder;
    font-size: 22px;
    cursor: pointer;
    color: transparent;
}

/*-----*/
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2)>div:nth-child(1){
    position: absolute;
    width: 75%;
    height: 90%;
    left: 21%;
    background-color: var(--color1);
    clip-path: polygon(0% 100%,0% 15%,100% 0%,100% 85%,94% 82%,94% 15%,6% 25%,6% 100%);
    border-radius:5px;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2)>div:nth-child(2){
    position: absolute;
    width: 27%;
    height: 12%;
    background-color: var(--color1);
    bottom:4%;
    left: 0%;
    transform: rotateZ(-25deg);
    border-radius: 50%;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2)>div:nth-child(3){
    position: absolute;
    width: 27%;
    height: 12%;
    border-radius: 50%;
    background-color: var(--color1);
    transform: rotateZ(-25deg);
    bottom: 17%;
    right: 3%;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2):hover div:nth-child(4) a{
    color: rgb(30, 255, 0);
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2)>div:nth-child(4){

    position: absolute;
    width: 90%;
    height: 15%;
    text-align: center;
    bottom: 50%;
    left: 12%;

    transform: rotateZ(-8deg);
 
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2)>div:nth-child(4) a{
    transition: all 1s;
    text-decoration: none;
    font-weight: bolder;
    font-size: 22px;
    cursor: pointer;
    color: transparent;
}

/*****/

body>div:nth-child(1)>div:nth-child(1)>div:nth-child(1)>div:nth-child(2){
    animation: anim2 2s infinite alternate;
    animation-timing-function: linear;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(2)>div:nth-child(2){
    animation: anim2 4s infinite alternate;
    animation-timing-function: linear;
}
body>div:nth-child(1)>div:nth-child(1)>div:nth-child(3)>div:nth-child(2){
    animation: anim2 3s infinite alternate;
    animation-timing-function: linear;
}




@keyframes anim2{
    from{
        transform: rotate(-10deg);
        /* transform-origin: center left; */
        transform-origin: 50% 0%;
    }
    to{
        transform: rotate(10deg);
        /* transform-origin: center left; */
        transform-origin: 50% 0%;
    }
}



/* ------------- */

body>div:nth-child(2)>div{
    margin: 20px auto;
    width: 135px;
height: 135px;
position: relative;
}
body>div:nth-child(2)>div>div:nth-child(2){
width: 145px;
height: 145px;
cursor: none;
user-select: none;
background-color: rgb(8, 71, 0);
border-radius: 50%;
padding: 15px;
position: absolute;
left: 4px;
top: 4px;

}
body>div:nth-child(2)>div>div:nth-child(1){
position: absolute;
width: 153px;
height: 153px;
padding: 20px;
background:linear-gradient(to top,rgba(8, 71, 0, 0.85),rgb(30, 255, 0),rgba(8, 71, 0, 0.85),rgb(30, 255, 0));
border-radius: 46%;
transition: all 1s;
animation: m2 40s infinite alternate;

}
body>div:nth-child(2)>div>div:nth-child(1):hover{
    animation: m2 5s infinite alternate;
}
@keyframes m2{
from{
transform:rotate(-1500deg);
opacity: 75%;
}
to{
transform:rotate(1500deg);
opacity: 100%;
}
}

body>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(2){
width: 100px;
height: 120px;
position: relative;
margin: 0px auto;

}

body>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(2)>div:nth-child(1){
width: 100%;
height: 75%;
background-color: rgb(30, 255, 0);
border-radius: 50%;
/* clip-path: polygon(0% 50%,0% 0%,100% 0%,100% 50%); */
}
body>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(2)>div:nth-child(1)::after{
content: '';
width: 80%;
height: 80%;
background-color: rgb(8, 71, 0);
border-radius: 50%;
position: absolute;
top: 10%;
left: 10%;
}
body>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(2)>div:nth-child(2){
width: 18%;
height: 20%;
background-color: rgb(30, 255, 0);
border-radius: 20%;
position: absolute;
top: 42%;
left: 1%;
transform: rotate(45deg);
}
body>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(2)>div:nth-child(3){
width: 18%;
height: 20%;
background-color: rgb(30, 255, 0);
border-radius: 20%;
position: absolute;
top: 42%;
right: 1%;
transform: rotate(-45deg);
}
body>div:nth-child(2)>div>div:nth-child(2)>div:nth-child(2)>div:nth-child(4){
width: 50%;
height: 50%;
font-size: 120px;
font-family:  Courier;
border-radius: 20%;
position: absolute;
top: 8%;
left: 14%;
color: rgb(30, 255, 0);

animation: i4 1.2s infinite alternate;
}

@keyframes i4{
from{
transform: scale(0.9);
}
to{
transform: scale(1.1);
}

}


.player {
    height: 95vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    }
    
    .details {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 25px;
    }
    
    .track-art {
    margin: 25px;
    height: 250px;
    width: 250px;
    background-image: URL(
        "https://source.unsplash.com/Qrspubmx6kE/640x360");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0px 0px 15px rgb(255, 255, 255);
    }
    
    /* Changing the font sizes to suitable ones */
    .now-playing {
    font-size: 1rem;
    }
    
    .track-name {
    font-size: 3rem;
    }
    
    .track-artist {
    font-size: 1.5rem;
    }
    
    /* Using flex with the row direction to
    align items in a horizontal direction */
    .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    }
    
    .playpause-track,
    .prev-track,
    .next-track {
    padding: 25px;
    opacity: 0.8;
    
    /* Smoothly transition the opacity */
    transition: opacity .2s;
    }
    
    /* Change the opacity when mouse is hovered */
    .playpause-track:hover,
    .prev-track:hover,
    .next-track:hover {
    opacity: 1.0;
    }
    
    /* Define the slider width so that it scales properly */
    .slider_container {
    width: 75%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    /* Modify the appearance of the slider */
    .seek_slider, .volume_slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 5px;
    background: black;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    }
    
    /* Modify the appearance of the slider thumb */
    .seek_slider::-webkit-slider-thumb,
    .volume_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    cursor: pointer;
    border-radius: 50%;
    }
    
    /* Change the opacity when mouse is hovered */
    .seek_slider:hover,
    .volume_slider:hover {
    opacity: 1.0;
    }
    
    .seek_slider {
    width: 60%;
    }
    
    .volume_slider {
    width: 30%;
    }
    
    .current-time,
    .total-duration {
    padding: 10px;
    }
    
    i.fa-volume-down,
    i.fa-volume-up {
    padding: 10px;
    
    }
    
    /* Change the mouse cursor to a pointer
    when hovered over */
    i.fa-play-circle,
    i.fa-pause-circle,
    i.fa-step-forward,
    i.fa-step-backward {
    cursor: pointer;
    color: aliceblue;
    }