@import url("../core/variables.css");
body{
	
    padding-bottom:105px;

}

/* ========================= */

#ofm-player{

    position:fixed;

    left:0;
    right:0;
    bottom:0;

    height:100px;

    display:grid;

    grid-template-columns:

        340px

        1fr

        250px;

    align-items:center;

    background:#171717;

    border-top:1px solid #282828;

    padding:0 24px;

    z-index:999999;

}

/* ========================= */

.player-left{

    display:flex;

    align-items:center;

    gap:18px;

}

/* ========================= */

#player-cover{

    width:68px;

    height:68px;

    border-radius:12px;

    object-fit:cover;

    background:#222;

    transition:.4s;

}

/* ========================= */

.player-meta h3{

    margin:0;

    font-size:1.25rem;

    color:#fff;

}

.player-meta p{

    margin-top:6px;

    color:#999;

}

/* ========================= */

.player-middle{

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:12px;

}

/* ========================= */

.player-controls{

    display:flex;

    gap:14px;

    align-items:center;

}

/* ========================= */

.player-controls button{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:#262626;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.25s;

}

.player-controls button:hover{

    background:#f4c430;

    transform:translateY(-2px);

}

.player-controls button svg{

    width:22px;

    height:22px;

    fill:none;

    stroke:#fff;

    stroke-width:2;

}

.player-controls button:hover svg{

    stroke:#111;

}

/* ========================= */

#player-play{

    width:72px;

    height:72px;

    background:#f4c430;

    box-shadow:0 0 25px rgba(244,196,48,.45);

}

#player-play svg{

    stroke:#111;

}

/* ========================= */

.player-progress{

    display:flex;

    align-items:center;

    gap:14px;

    width:100%;

    max-width:700px;

}

.player-progress span{

    color:#aaa;

    width:42px;

}

/* ========================= */

#progress{

    flex:1;

}

/* ========================= */

.player-right{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    gap:14px;

}

.volume-icon{

    width:22px;

    fill:#ddd;

}

#volume{

    width:170px;

}

/* ========================= */

.active{

    background:#f4c430 !important;

}

.active svg{

    stroke:#111 !important;

}

/* ========================= */

#player-cover.playing{

    animation:albumSpin 12s linear infinite;

}

@keyframes albumSpin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}