
:root{
    --main-bg-color: #d70c53;
    --main-bg-color-light: #f84889;
}

body {
    margin:0px;
    padding:0px;
    display: block;
}
*:focus
{
    outline: none;
}
html, body {
    height: 100%;
    margin: 0;
}

.full-height {
    height: 100%;
}

html2 {
    background: url("../img/bg/fond.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}



h1 {
    text-shadow: 0px 0px 5px rgb(0 0 0 / 60%);
    color: #fff!important;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    margin-top:15%;
    margin-bottom:0.5em;
    font-size: 3.2em;
}


h2 {
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    margin-bottom:2em;
    font-size: 2em;
    padding:20px;
}
h2 div {
    margin-top:10px;
    font-size:12px;
    color: white;

}

#app-cover {
    right: 0;
    left: 0;
    width: 430px;
    height: 100px;
    margin: -4px auto;
    line-height: unset;
}
#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
{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.51;
    z-index: 2;
}

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

#player-track
{
    position: absolute;
    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: 28px;
    font-weight: bold;
    font-family: sans-serif;
    padding: 10px;
    text-transform: capitalize;
}

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

#track-time
{
    height: 20px;
    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: var(--main-bg-color-light);
    background-color: transparent;
}

#s-area, #seek-bar
{
    position: relative;
    height: 7px;
    border-radius: 4px;
}

#s-area
{
    background-color:#ffe8ee;
    cursor: pointer;
}

#ins-time
{
    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;
}

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

#seek-bar
{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background-color: var(--main-bg-color-light);
    transition: 0.2s ease width;
    z-index: 1;
}

#player-content
{
    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: 5px 5px 0 141px;
    float: right;
    overflow: hidden;
}

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

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

.button i
{
    display: block;
    color: #9e9e9e;
    font-size: 26px;
    text-align: center;
    line-height: 1;
}

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



#ytd-url {
    display: block;
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    margin: 20px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    background-color: #ae5f87;
    border-radius: 4px;
    box-shadow: 0 10px 20px -5px rgba(174, 95, 135, 0.86);
    z-index: 125;
}

#end-window {
    display:none;
    top: -90px;
    position: relative;
    background-color: #fff;
    box-shadow: 0 30px 80px #656565;
    border-radius: 15px;
    padding: 1em;
    z-index: 2;
    text-align:center;
    right: 0;
    left: 0;
    width: 600px;

    margin: -4px auto;
    line-height: unset;
}

#end-window h2 {
    color:var(--main-bg-color);
    margin-bottom: 1em;

}


#end-window button {
    display: inline-block;
    background-color: var(--main-bg-color);
    color: #fff !important;
    border-radius: 40px;
    outline: none;
    margin: 5px;
    box-shadow: 0 1px 5px var(--main-bg-color-light);
    border-color: white;
    padding: 0.5em;
    font-size: 2em;
    font-width: 800;
    text-transform: uppercase;
}

#end-window .assistant{

}
@media (min-width: 767.1px) {
    .button:hover {
        background-color: var(--main-bg-color);
    }

    .button:hover i {
        color: #fff;
    }
}

@media (max-width: 767px) {

#play-pause-button{
    margin-top: -5px;
}

#end-window {
width: 75%;
}

#end-window h2{
    font-size: 1.5em
}

#app-cover {
right: 0;
left: 0;
width: 100%;
height: 100px;
margin: -4px auto;
line-height: unset;
}

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

#player-track {
position: absolute;
top: 0px;
right: 15px;
left: 15px;
padding: 0px 22px 20px 115px;
background-color: #fff7f7;
border-radius: 15px 15px 0 0;
transition: 0.3s ease top;
z-index: 1;
}
.button {

padding: 15px;

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