*:focus
{
    outline: none;
}

body:not(.footer)
{
    font-family: Helvetica, Arial;
    margin: 0;
    background-color: #ffeff5;
}

#lecteur
{
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 430px;
    height: 100px;
    margin: -4px auto;
}

#bg-artwork
{
    position: fixed;
    top: -30px;
    right: -30px;
    bottom: -30px;
    left: -30px;
    background-image: url("https://raw.githubusercontent.com/himalayasingh/music-player-1/master/img/_1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    filter: blur(40px);
    -webkit-filter: blur(40px);
    z-index: 1;
}

#bg-layer
{
    
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.51;
    z-index: 2;
}

#baselecteur
{
    position: relative;
    height: 100%;
    z-index: 3;
    
}

#lecteur-track
{
    position: initial;
    top: 0;
    right: 15px;
    left: 15px;
    padding: 13px 22px 10px 184px;
    background-color: #fff7f7;
    border-radius: 15px 15px 0 0;
    transition: 0.3s ease top;
    z-index: 1;
}

#player-track.active
{
    top: -92px;
}

#album-name
{
    color: #54576f;
    font-size: 17px;
    font-weight: bold;
}

#track-name
{
    color: #acaebd;
    font-size: 13px;
    margin: 2px 0 13px 0;
}

#track-time
{
    height: 12px;
    margin-bottom: 3px;
    overflow: hidden;
}

#current-time
{
    float: left;
}

#track-length
{
    float: right;
}

#current-time, #track-length
{
    color: transparent;
    font-size: 11px;
    background-color: #ffe8ee;
    border-radius: 10px;
    transition: 0.3s ease all;
}

#track-time.active #current-time, #track-time.active #track-length
{
    color: #f86d92;
    background-color: transparent;
}

#soundbar, #defillbar
{
    position: relative;
    height: 4px;
    border-radius: 4px;
}

#soundbar
{
    background-color:#ffe8ee;
    cursor: pointer;
}

#infobulltime
{
    position: absolute;
    top: -29px;
    color: #fff;
    font-size: 12px;
    white-space: pre;
    padding: 5px 6px;
    border-radius: 4px;
	display:none;
}

#s-hover
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
    z-index: 2;
}

#infobulltime, #s-hover
{
    background-color: #3b3d50;
    
}

#deffilbar
{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: #fd6d94;
    transition: 0.2s ease width;
    z-index: 1;
    opacity: 100%;
}

#baselecteur
{
    position: relative;
    height: 100%;
    background-color: #fff;
    box-shadow: 0 30px 80px #656565;
    border-radius: 15px;
    z-index: 2;
}

#album-art
{
    position: absolute;
    top: -40px;
    width: 115px;
    height: 115px;
    margin-left: 40px;
    transform: rotateZ(0);
    transition: 0.3s ease all;
    box-shadow: 0 0 0 10px #fff;
    border-radius: 50%;
    overflow: hidden;
}

#album-art.active
{
    top: -60px;
    box-shadow: 0 0 0 4px #fff7f7, 0 30px 50px -15px #afb7c1;
}

#album-art:before
{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 20px;
    height: 20px;
    margin: -10px auto 0 auto;
    background-color: #d6dee7;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #fff;
    z-index: 2;
}

#album-art img
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
}

#album-art img.active
{
    opacity: 1;
    z-index: 1;
}

#album-art.active img.active
{
    z-index: 1;
    animation: rotateAlbumArt 3s linear 0s infinite forwards;
}

@keyframes rotateAlbumArt
{
    0%{ transform: rotateZ(0); }
    100%{ transform: rotateZ(360deg); }
}

#buffer-box
{
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 13px;
    color: #1f1f1f;
    font-size: 13px;
    font-family: Helvetica;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    padding: 6px;
    margin: -12px auto 0 auto;
    background-color: rgba(255, 255, 255, 0.19);
    opacity: 0;
    z-index: 2;
}

#album-art img, #buffer-box
{
    transition: 0.1s linear all;
}

#album-art.buffering img
{
    opacity: 0.25;
}

#album-art.buffering img.active
{
    opacity: 0.8;
    filter: blur(2px);
    -webkit-filter: blur(2px);
}

#album-art.buffering #buffer-box
{
    opacity: 1;
}

#player-controls
{
    width: 250px;
    height: 100%;
    margin: 0 5px 0 141px;
    float: right;
    overflow: hidden;
}

.control
{
    width: 33.333%;
    float: left;
    padding: 12px 0;
}

.button
{
    width: 26px;
    height: 26px;
    padding: 25px;
    background-color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.button i, .next, .play_pause, .back
{
    display: block;
    color: #0b3769d0;
    font-size: 26px;
    text-align: center;
    line-height: 1;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
}

.button, .button i, .next, .play_pause, .back
{
    transition: 0.2s ease all;
}

.button:hover
{
    background-color: #d6d6de;
}

.button:hover i, .next:hover, .play_pause:hover, .back:hover
{
    color: #fff;
}

.button:active{
background-color: khaki;

}


 /*partie heure*/
.container {
	background-color: rgb(44, 22, 44);
	min-height: 100vh;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.3);
	border: solid grey 10px
}

.flex {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 50px;
}

.number {
	position: relative;
	height: 290px;
	width: 170px;
	margin: 20px;
}

.piece {
	background-color: #000;
	border: 2px solid transparent; 
	border-right-color: #aaa;
 	border-bottom-color: #aaa;
	position: absolute;
	height: 30px;
	width: 30px;
	transform: scale(0);
}

.piece.show {
	transform: scale(1);
	transition: transform 0.2s linear;
}

.piece:nth-of-type(1) {
	top: 0;
	left: 0;
}

.piece:nth-of-type(2) {
	top: 0;
	left: 60px;
}

.piece:nth-of-type(3) {
	top: 0;
	left: 120px;
}

.piece:nth-of-type(4) {
	top: 60px;
	left: 0;
}

.piece:nth-of-type(5) {
	top: 60px;
	left: 120px;
}

.piece:nth-of-type(6) {
	top: 120px;
	left: 0;
}

.piece:nth-of-type(7) {
	top: 120px;
	left: 60px;
}

.piece:nth-of-type(8) {
	top: 120px;
	left: 120px;
}

.piece:nth-of-type(9) {
	top: 180px;
	left: 0px;
}

.piece:nth-of-type(10) {
	top: 180px;
	left: 120px;
}

.piece:nth-of-type(11) {
	top: 240px;
	left: 0px;
}

.piece:nth-of-type(12) {
	top: 240px;
	left: 60px;
}

.piece:nth-of-type(13) {
	top: 240px;
	left: 120px;
}

@media screen and (max-width: 800px) {
	.container {
		transform: scale(0.4);
	}
}

@media screen and (max-width: 550px) {
	.container {
		transform: scale(0.2);
	}
}

.footer{
    background-color: rgb(44, 22, 44);
	min-height: 10vh;
	
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.2);
    border: double whitesmoke 10px;
    position: relative;
    z-index: 1;
    transition: transform 1000ms;
    border-radius:80px ;
}
.footer:hover{
    transform: scale(0.25);
    background-color: #fd6d94;
}
#hours{
    cursor: pointer;
    transition : transform 500ms; 
}
#hours:hover{
    transform: scale(1.10);
}
#minutes{
    cursor: pointer;
    transition : transform 500ms; 
}
#minutes:hover{
    transform: scale(1.10);
}
#seconds{
    cursor: pointer;
    transition : transform 500ms;
}
#seconds:hover{
    transform: scale(1.10);
}

/*animation chat*/
#div_cat{
    position: relative;
    z-index: 1; 
    display: flex;
    justify-content: flex-end;
}

.class_div_cat{ 
    
    float: right;
    margin-right: 2%;
    background-image: url("player/img/cat_headphonestatic.jpg");  
}

.classnew_cat{
    width: 250px;
    height: 250px; 
    border: solid whitesmoke;
    float: right;
    margin-right: 2%;
    background-image: url("player/img/cat_headphone.gif");
    background-position: right;
}