@font-face {
    font-family: 'Dyfodol Text';
    src: url(fonts/DyfodolText-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Dyfodol Text';
    src: url(fonts/DyfodolText-Italic.ttf);
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Dyfodol Text';
    src: url(fonts/DyfodolText-Bold.ttf);
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Dyfodol Text';
    src: url(fonts/DyfodolText-BoldItalic.ttf);
    font-weight: 700;
    font-style: italic;
}

* {
    box-sizing: border-box;
    font-family: 'Dyfodol Text', Arial, Helvetica, sans-serif;
    --webplayer-font-family: 'Dyfodol Text', Arial, Helvetica, sans-serif;
    font-feature-settings: "tnum";
}

webplayer-controller {
    --webplayer-secondary-color: #1a1a1a;
    --webplayer-preview-background: #1a1a1a;
    --webplayer-control-background: rgba(26, 26, 26, 0.5);
    --webplayer-control-hover-background: rgba(26, 26, 26, 0.5);
    --webplayer-range-thumb-background: #ffffff;
    --webplayer-range-bar-color: #ffffff;
    /* --webplayer-range-bar-color: linear-gradient(to right, #0247fe, #483d8b); */
    --webplayer-icon-color: #ffffff;

    /*
    --webplayer-primary-color: lightpink;
    --webplayer-icon-color: lightyellow;
    --webplayer-text-color: lightgreen;
    --webplayer-range-thumb-background: hotpink;
    */
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #000000;
}

body {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
}

.player-container {
    width: 100%;
    height: 100%;
}

webplayer-controller {
    width: 100%;
    height: 100%;
    display: block;
}

webplayer-controller video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e6e6e6;
}

.bottom-bar img {
    height: 28px;
}

.fileOpenLabel {
    color: #3c4043;
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    padding: 5px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    white-space: pre;
    height: 36px;
    line-height: 27px;
    min-width: 54px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.fileOpenLabel:hover {
    border-color: #dadce0;
    box-shadow: rgba(0, 0, 0, .1) 0 1px 1px;
    color: #202124;
}

.fileOpenLabel:active {
    border-color: #4285f4;
    outline: none;
}

input[type="file"] {
    display: none;
}

@media (max-width: 600px) {
    .bottom-bar {
        padding: 10px 12px;
    }

    .fileOpenLabel {
        padding: 6px 12px;
        font-size: 13px;
    }

    .bottom-bar img {
        height: 24px;
    }
}
