#container { display: flex;position: fixed; width: 100vw;height: 100vh;align-items: center;justify-content: center; pointer-events: none; }
#video-wrapper { position: relative; }
#viewer { max-width: 90vw; max-height: 90vh; box-shadow: 0 0 10px 5px; }
.column {
    display: flex;
    flex-direction: column;
}
.bar {
    transition: height 0.4s ease 0s, opacity 0.4s ease 0s;
    font-size: 16px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.content {
    padding: 5px;
    transition: background 0.4s ease 0s;
    background: rgb(230, 230, 230);
    border-radius: 5px;
    box-shadow: 0px 0px 4px -1px black;
    width: 100%;
    margin: 2px;
}
.content.scanbar {
    background: #a6d2ba;
}
.content.active {
    background: rgb(173,208,234);
}
.bar>.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 27px;
}
.column.side {
    min-width: 300px;
    margin-right: 5px;
}
.column:not(.side) {
    width: 100%;
}
.bar.fixed {
    position: sticky;
    top: 0;
}
.chapter {
    display: flex;
}
.button {
    border-radius: 4px;
    border: 1px solid;
    padding: 4px 8px;
    font-weight: bold;
    color: white;
}
.story-button {
    border-color: #17176b;
    background: linear-gradient(45deg, #4370a4, #5880d0);
    margin-right: 2px;
}
.puzzle-button {
  background: linear-gradient(45deg, #8456b1, #9276ba);
  border-color: #4a077b;
}
.submit-button {
  margin-left: 4px;
  border-color: #7e4716;
  background: linear-gradient(45deg, #b88000, #c79111);
}
.postpone-button {
  margin-left: 4px;
  border-color: #2e636d;
  background: linear-gradient(45deg, #5d92a8, #59a4b2);
}
.scan-button {
  background: linear-gradient(45deg, #549370, #4ea374);
  border-color: #096109;
  margin-left: auto;
}
body { margin: 0; background: aliceblue; }
#main-view { display: flex; }
video { width: 80%; height: auto; margin: 0 10%; }
