/* styles.css */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: black;
}

#bottomcontrols {
    bottom: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.7);
}

#topcontrols {
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.7);
}

#bookmarkcontrols {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: unset;
    gap: 6px;
    z-index: 100;
    padding-left: 10px;
    /* ensure above video */
}


#bookmarkcontrols button {
    text-align: left;
}


#minimalcontrols {
    top: 0px;
    left: 0px;
}

#minimalcontrols button {
    opacity: 0.2;
}

#minimalcontrols button:hover {
    opacity: 1;
}

.controls {
    position: fixed;
    width: 100%;
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.rightbuttons {
    margin-left: auto;
    padding: 0 10px;
    white-space: nowrap;
}

button {
    margin: 5px;
    padding: 8px 12px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #555;
}

.bookmark-active {
    background-color: rgba(255, 255, 0, 0.5);
}

#filename {
    flex: 1;
    min-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 0 10px;
}

#time {
    margin-left: auto;
    padding: 0 10px;
    white-space: nowrap;
}