@media (max-width: 800px){
    .player {
        position: absolute;
        top: 18px;
        right: 65px;
        overflow: hidden;
    }

    .info {
        color : white;
        text-align: center;
    }

    .time {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.5em;
        margin-bottom: 0.5em;
        font-size: 10px;
    }

    .time > * {
        margin: 0 0.5em;
    }

    .progress {
        flex-grow: 2;
        height: 0.25em;
        background-color: #AAA;
        border-radius: 0.0625em;
        cursor: pointer;
    }

    .progress span {
        display: block;
        width: 0;
        height: 100%;
        background-color: #666;
    }

    .actions {
        position: relative;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #music_player button {
        appearance: none;
        outline: none;
        position: relative;
        font-size: 100%;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .action_btn {
        width: 25px;
        height: 25px;
        background-color: transparent;
    }

    .action_btn:focus {
        outline: none;
    }

    .action_btn::before {
        content: '';
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%,-50%);
        background-color: transparent;
    }

    .play-pause {
        width: 25px;
        height: 25px;
    }

    .rw {
        transform: scaleX(-1);
    }

    .ff {

    }

    .action_btn .arrow {
        position: absolute;
        z-index: 10;
        top: 50%;
        left: 50%;
        width: 30%;
        height: 30%;
        overflow: hidden;
        transform: translate(-50%,-50%);
    }

    .action_btn .arrow::before,
    .action_btn .arrow::after {
        content: '';
        position: absolute;
        left: -50%;
        width: 100%;
        height: 100%;
        transform: scale(1.2,0.7) rotate(45deg);
        background-color: #ddd;
    }

    .action_btn .arrow::after {
        left: 0;
        transform: none;
        background-color: transparent;
    }

    .paused .play-pause .arrow {
        margin-left: 0.1875em;
    }

    .playing .play-pause .arrow::before,
    .playing .play-pause .arrow::after {
        left: 0;
        transform: none;
        background-color: #ddd;
    }

    .playing .play-pause .arrow::after {
        left: auto;
        right: 0;
    }

    .rw .arrow,
    .ff .arrow {
        width: 30%;
        height: 30%;
        margin-left: 12%;
    }

    .rw .arrow:first-child,
    .ff .arrow:first-child {
        margin-left: -4%;
    }

    .action_btn:active .arrow::before,
    .playing .play-pause .arrow::before,
    .playing .play-pause .arrow::after {
        background-color: #ea4624;
    }

    .music_title {
        font-size: 13px;
    }

    #play_ico {
        width: 25px; height:15px; background-image: url('/images/ico/play.svg'); background-size: cover; background-position: center;
        cursor: pointer;
    }
    #mute_ico {
        width: 25px; height:15px; background-image: url('/images/ico/mute.svg'); background-size: cover; background-position: center;
        cursor: pointer;
    }

}


@media (min-width: 801px){
    .player {
        position: absolute;
        top:40px;
        right: 120px;
        overflow: hidden;
        background-color: transparent;
    }

    .info {
        color : white;
        text-align: center;
    }

    .time {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0.5em;
        margin-bottom: 0.5em;
        font-size: 12px;
    }

    .time > * {
        margin: 0 0.5em;
    }

    .progress {
        flex-grow: 2;
        height: 0.25em;
        background-color: #AAA;
        border-radius: 0.0625em;
        cursor: pointer;
    }

    .progress span {
        display: block;
        width: 0;
        height: 100%;
        background-color: #666;
    }

    .actions {
        position: relative;
        width: 100%;
        margin-top: -5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #music_player button {
        appearance: none;
        outline: none;
        position: relative;
        padding: 0;
        font-size: 100%;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .action_btn {
        width: 2em;
        height: 2em;
        background-color: transparent;
    }

    .action_btn:focus {
        outline: none;
    }

    .action_btn::before {
        content: '';
        position: absolute;
        z-index: 1;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%,-50%);
        background-color: transparent;
    }

    .play-pause {
        width: 2em;
        height: 2em;
    }

    .rw {
        right: -0.25em;
        margin-left: 0.375em;
        transform: scaleX(-1);
    }

    .ff {
        left: -0.25em;
        margin-right: 0.375em;
    }

    .action_btn .arrow {
        position: absolute;
        z-index: 10;
        top: 50%;
        left: 50%;
        width: 30%;
        height: 30%;
        overflow: hidden;
        transform: translate(-50%,-50%);
    }

    .action_btn .arrow::before,
    .action_btn .arrow::after {
        content: '';
        position: absolute;
        left: -50%;
        width: 100%;
        height: 100%;
        transform: scale(1.2,0.7) rotate(45deg);
        background-color: #ddd;
    }

    .action_btn .arrow::after {
        left: 0;
        transform: none;
        background-color: transparent;
    }

    .paused .play-pause .arrow {
        margin-left: 0.1875em;
    }

    .playing .play-pause .arrow::before,
    .playing .play-pause .arrow::after {
        left: 0;
        transform: none;
        background-color: #ddd;
    }

    .playing .play-pause .arrow::after {
        left: auto;
        right: 0;
    }

    .rw .arrow,
    .ff .arrow {
        width: 30%;
        height: 30%;
        margin-left: 12%;
    }

    .rw .arrow:first-child,
    .ff .arrow:first-child {
        margin-left: -4%;
    }

    .action_btn:active .arrow::before,
    .playing .play-pause .arrow::before,
    .playing .play-pause .arrow::after {
        background-color: #ea4624;
    }

    .music_title {
        font-size: 15px;
        margin-bottom: 5px;
    }

    #play_ico {
        width: 30px; height:18px; background-image: url('/images/ico/play.svg'); background-size: cover; background-position: center;
        cursor: pointer;
    }
    #mute_ico {
        width: 30px; height:18px; background-image: url('/images/ico/mute.svg'); background-size: cover; background-position: center;
        cursor: pointer;
    }
}


@keyframes spin {
    100% { transform: rotate(360deg) translate(-50%,-50%); }
}
