* {
    margin: 0px;
    padding: 0px;
    /* box-sizing: border-box; */
    box-sizing: inherit;
}   

/*  colors */

:root {
    --bg-color: #222;
    --main-bg : #333;
    --second-bg : #444;
    --third-bg : #555;
}

/* fin colors */



html {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    height: 100%;
    width: 100%;
}

h1 {
    display: inline-block;
    margin: 0px;
    padding: 0px 4px 0px 4px;
    font-size: 28px;
    font-weight: normal;
    height: 32px;
}





/* 
#main_container {
    border: 1px solid green;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #444;
    margin: 0px;
    padding: 0px;
    width: 100%;
} */


#title_box {
    display: flex;
    align-items: center;
    white-space: nowrap;
    background-color: var(--main-bg);
    margin: 0px;
    padding: 0px;
    height: 42px;
    /* width: min-content; */
    width: 200px;
    position: relative;
    left: 0;
    top: 0;
    color: #C7C7C7;
    /* border: 1px solid pink; */
}

#design_box {
    display: flex;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
    width: 100%;
    position: relative;
    top: 0;
    /* border: 1px solid purple; */
}

#top_bar {
    display: flex;
    background-color: var(--main-bg);
    height: 10px;
    width: 100%;
    position: relative;
    top: 0;
}

#content_box {
    display: flex;
    position: relative;
    background-color: var(--second-bg);
width: 100%;
    /* border: 1px solid red; */
}

#triangle_design {
    display: flex;
    position: absolute;
    top: 10px;
    background-color: var(--main-bg);
    width: 32px;
    height: 32px;
    clip-path: polygon(0 0, 0 100%, 100% 0);
}


#bottom_space {
    display: flex;
    align-items: center;
    justify-content: flex-end ;
    width: 100%;
    height: 50px;
    position: relative;
    top: 0;
    padding-right: 4px;
    /* border: 1px solid green; */
}


.waveform {
    position: relative;
    top: 0;
    width: 100%;
    height: 50px;
    /* background-image: url('/style/img/out.png');
    background-size:cover; 
    background-size: 50px initial; */
    background-repeat: no-repeat;
    /* background-position: 10px 0px; */
}

.timer {
    display: inline-block;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    /* width: min-content;
    min-width: min-content; */
    /* width: 100%;
    min-width: 100%; */
    width: auto;
    min-width: 80px;
    max-width: auto;
    height: 40px;
    /* background-color: #333; */
    margin-right: 4px;
    margin-left: 4px;
    /* border: 1px solid red; */
}

.time_elapsed, .time_remaining {
    display: flex;
    position: relative;
    width: 100%;
    height: 50%;
    justify-content: center;
    align-items: center;
    /* border: 1px solid yellowgreen; */
}

.time_elapsed {
    color: #888;    
}

.time_remaining {
    color: #a0a0a0;    
}

.circle_elapsed_time {
    /* display: inline-block; */
    position: relative;
    margin-right: 4px;
    margin-left: 4px;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 50%;
    
    /* background-color: #333; */
}

#sub_bar_top .circle_back {
    position: absolute;
    display: none;
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: #444; 
}

.music_player {
    display: flex;
    position: relative;
    align-items: center;
    width: 320px;
    min-width: 320px;
    height: 40px;  
    padding: 0px 4px 0px 4px;
    /* background-color: #333;  */
    /* margin-right: 4px; */
    /* border: 1px solid blue; */
}

#menuburger {
    width: 36px;
    min-width: 36px;
    height: 36px;
    background-image: url('/style/img/menuburger_C7C7C7.png');
    /* background-image: url('/style/img/menuburger_000.png'); */
    background-attachment:initial;
    background-size: 22px auto;
    background-position: center;
    background-repeat: no-repeat;
    /* border: 1px solid red; */
    /* background-color: #333; */
}




#login {
    display: flex;
    /* align-items: flex-end; */
    
    position: relative;
    left: 4px;
    top: -20px;
    width: 100px;
    height: 20px;
    /* border: 1px solid blue;     */
}


#sub_bar_top {
    display: flex;
    align-items: center;
    background-color: #444;

    /* background-color: #333; */
    /* height: 10px; */
    width: 100%;
    position: relative;
    top: 0;
}

#sub_bar_top .circle_elapsed_time {
    display: none;  
    margin: 0px 0px 0px 8px; 
}



#sub_bar_top .waveform {
    display: none; 
}

#sub_bar_top .timer {
    display: none;  
}

#sub_bar_bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #444;

    /* background-color: #333; */
    /* height: 10px; */
    width: 100%;
    position: relative;
    top: 0;
}

#sub_bar_bottom .music_player {
    display: none;  
    margin: 4px 0px 4px 0px;
}

#sub_bar_top .music_player {
    display: none;  
}

#music_player_center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;  
    /* border: 1px solid orangered;       */
}

#music_player_center .music_player {
    margin: 0px 8px 0px 0px;
}


#player_title {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    /* align-self: flex-end ; */
    position: relative;
    right: 0px;
    width: 100%;
    color: #C7C7C7;
    /* text-align: right; */
    /* border: 1px solid red; */
}

/* #empty {
    display: flex;
            align-self: flex-end;

    position: relative;
    right: 0px;
    width: 100%;
    height: 20px;
    border: 1px solid blue;
} */

#metadata {
    display: flex;
        align-self: flex-end;

    position: relative;
    right: 0px;
    /* height: 20px; */
    height: 22px;
    white-space: nowrap;
    padding: 0px 4px 0px 2px;
    background-color: #444;
    /* background-color: #444444c9; */
    max-width: 80%;
    /* border: 1px solid yellowgreen; */
}

.currentsong {
    display: inline-block;
    width: 100%;
    padding-left: 2px;
    padding-top: 2px;
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* border: 1px solid yellow; */
}



#triangle_design_title {
    display: flex;
    position: relative;
    align-self: flex-end;
    left: 0px;
        top: 0;
    min-width: 22px;
    height: 22px;
    background-color: #444;
    /* background-color: #444444c9; */
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* @media screen and (max-width: 768px) {
     

} */


@media screen and (max-width: 768px) {
   
    #bottom_space {
      height: 40px;
      /* border: 1px solid green;  */
    }



#music_player_center .music_player {
    margin: 0px 0px 0px 12px;
}



    #bottom_space .circle_elapsed_time {
        display: none;  
    }

#sub_bar_top .circle_back {
    display: block;
}

.circle_elapsed_time {
    margin-left: 13px;
}

/* #bottom_space {
    display: flex;
    justify-content: center; 
} */



    #sub_bar_top .circle_elapsed_time {
        display: block; 
        margin: 0px 8px 0px 8px;
    }

    #sub_bar_top .waveform {
        display: block;  
    }

    #sub_bar_top .timer {
        display: block;  
    }

    #sub_bar_bottom .music_player {
        display: none;  
    }


    #bottom_space .timer {
    display: none;
    }

    /* #music_player {
        display: none;  
    } */

    .waveform {
        display: none;  
    }



    #login {
        display: none;  
    }

}


@media screen and (max-width: 570px) {

    #bottom_space .timer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        /* font-size: clamp(12px, 2vw, 16px); */
        /* border: 1px solid red; */
        margin-right: 0px;
        margin-left: 10px;
        /* max-width: clamp(135px, 2vw, 240px); */
    }

    #bottom_space .timer .time_elapsed, #bottom_space .timer .time_remaining {
        display: flex;
        /* flex-direction: row; */
        font-size: clamp(8px, 4vw, 828px);
      }

    #bottom_space .timer .time_elapsed {
        margin-right: clamp(1px, 4vw, 5px);

    }
    
    #bottom_space .timer .time_remaining {
        margin-left: clamp(1px, 4vw, 5px);
    }


    #sub_bar_top .timer {
        display: none;  
    }

    #sub_bar_top .music_player {
        display: block;  
    }

    #bottom_space .music_player {
        display: none;  
    }

    /* #music_player_center {
        display: none;  
    } */

}


@media screen and (max-width: 425px) {

    #sub_bar_bottom .music_player {
        display: block;  
        margin: 4px 0px 4px 0px;
    }

    #sub_bar_top .music_player {
        display: none;  
    }

}

@media screen and (max-width: 359px) {

    #bottom_space .timer {
        display: none;
    }

    #sub_bar_top .timer {
        display: block;  
    }

}

/* fin de header */


header { 
    width: 100vw;   
    /* border: 1px solid red; */
}

#wrapper {
    width: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    /* border: 1px solid red; */
}



#content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* border: 1px solid yellowgreen; */
}

/* fin de content */

/* debut footer */

footer {
    /* width: 100%; */
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid red; */
    background-color: #444;
    padding-bottom: 5px;
    padding-top: 5px;
}
