@import url('https://fonts.googleapis.com/css2?family=Mate+SC&display=swap');

*,
*::before,
*::after{
    margin:0;
    padding:0%;
    box-sizing:border-box;
    
}
html{
    font-size: 62.5%;
    font-family:"Mate SC",sans-serif;
}

.main_div{
    position:relative; 
    width: 100vw;
    height: 100vh;
    background-color: #3382a1;
    display: grid;
    place-items: center;
    overflow: hidden;
}



.main_div .top-bar  .options{
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-70px);
    transition: 0.5s;
}
 .main_div .top_bar .active2{
    transform:translateY(0px);
}
 .main_div .top_bar .options button{
    margin: 0 10px;
    height: 40px;
    width: 40px;
    font-size:18px;
}
.main_div .top_bar{
     width: 100%;
     padding: 10px 20px;
     display:flex;
     align-items: center;
     justify-content:center;
     margin-top: 0.5rem;
}
.main_div .top_bar button{
    z-index:20;
    height: 45px;
    width:45px;
    border-radius:50%;
    font-size:25px;
    border:none;
    outline:none;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content: center;
    background:rgba(0,0,0,0.08);
    box-shadow:0.1px 8px 8px 2px rgba(0,0,0,0.2);
}
 .main_div  .top_bar button:hover, .main_div .control_part .control_buttons .main_btns button:hover{
     background: linear-gradient(to right, #FF5722, #FF7043);
     box-shadow: 0.1px 8px 8px 2px rgba(0,0,0,0.2)inset,
                 0.1px 8px 8px 2px rgba(0,0,0,0.2);
 }

 .music_container{
    width: 35rem;
    height: 55rem;
    background-color: #3592b8;
    border-radius: 2rem;
    box-shadow: 0 1.2 3rem 0.5rem rgba(0,0,0,0.4);
    padding: 3rem;
    text-align: center;
    box-shadow:0.1px 8px 8px 2px rgba(0,0,0,0.2)inset,
    0.1px 8px 8px 2px rgba(0,0,0,0.2);
}
.music_container #title{
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    word-spacing: 0.5rem;
    color: #171717;

    margin: 2rem 0 0.5 0;
    font-size: 2.5rem;
    font-weight: 500;
    text-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.3);
}

.music_container #artist{
    color: #cccaca;
    text-transform: capitalize;
    letter-spacing: 0.1rem;
    font-size: 2rem;
    margin-bottom: 4rem;
    font-weight: 300;
}

.img_container{
    width: 25rem;
    height: 25rem;
    margin: auto;
}

img {
    /*make the img object fit and circle*/
    width: 100%;
    height: 100%;
    border-radius: 40%;
    object-fit: cover;
    box-shadow: 0 1.2rem 3rem 0.5rem rgba(0,0,0,0.4);
}

.music_controls {
    width: 20rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    margin-top: 4rem;
}
.music_controls .bx {
    color: #111111;
    font-size: 4rem;
    cursor: pointer;
    display:flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1.2rem 3 rem 0.5rem rgba(0,0,0,0.4));
}

.music_controls .main_button{
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #111;
    color: #f6f6f6;
    /*add display flex to center the icons*/
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.music_controls .bx:hover {
    color: rgb(255, 255, 255);
}

.music_controls .bx-play:hover{
    background-color:#f7f4f4;
    color: #1b1919;
    box-shadow: 0 1rem 2rem 0.2rem rgba(253, 250, 250, 0.952);
}

/*add anime class to animate*/
.anime{
    animation: rotatePlayer 3s linear infinite;
}

@keyframes rotatePlayer {
    from{
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

/* progress style */

.progressbar_container {
width:100%;
height: auto;
padding: 1rem 0;
margin-top: 1rem;
}

.progress_div{
    width: 100%;
    height: 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07), 0 2px 4pxx rgba(0,0,0,0.07),
                0 4px  8px rgba(0,0,0,0.07), 0 8px 16px rgba(0,0,0,0.07),
                0 16px 32px rgba(0,0,0,0.07), 0 32px 64px rgba(0,0,0,0.07);
    
    background-color: #f6f6f6; 
    box-shadow: 0.1px 8px 8px 2px rgba(0,0,0,0.2)inset,
    0.1px 8px 8px 2px rgba(0,0,0,0.2);
    border-radius: 4rem;
    position: relative;
    margin-top: 0.4rem;
    transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    -webkit-transition: all 1s linear;
    cursor: pointer;
    -webkit-appearance: none;
    appearance:none;
}

.progress {
    position: relative;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    border-radius: 4rem;
    margin-top: 0.5rem;
   /* transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    -webkit-transition: all 1s linear; */
    cursor: pointer;
    -webkit-appearance: none;
    appearance:none;
}
.progress_duration_meter{
display:flex;
justify-content: space-between;
font-size: 1.2rem;
}