#player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

/* The YouTube iframe itself */
#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#player-container .fs {
    font-size: 2em;
    width: 32px;
    height: 32px;
    position: absolute;
    left: 16px;
    bottom: 32px;
    z-index: 110;
}

#player-container .fs::before {
  content: "⛶"; /* fullscreen emoji*/
}

/* Fake full-screen */
.fullscreen #player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
}
#player-container.fullscreen .fs { position: fixed; }

#autoplay-btn {
    font-size: 16em;
    border: 0px;
}

.progress {
    position: relative;
    height: 2px;
    width: 100%;
}

.progress .bar {
    position: absolute;
    height: 2px;
    top: 0;
    left: 0;
    background: var(--accent-color);
    width: 0;
}
