html,
body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  border: 0;
  font-size: 0;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #000;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #999;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.videoPanel {
  height: 100vh;
  width: calc(100vw - min(20vw, 240px));
  border: 0;
  margin: 0;
  background-color: #000;
  vertical-align: top;
  display: inline-flex;
  flex-direction: column;
  border: 0;
  margin: 0;
}

.videoPanel input {
  background-color: #333;
  border: 0;
  font-family: monospace;
  color: #ddd;
}

.videoPanel input:focus {
  outline: 0;
}

#myVideo {
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  height: 1px;
}

#myVideo::-webkit-media-controls-fullscreen-button {
  display: none;
}

.vcHolder {
  width: 100%;
}
.vcHolder video {
  width: 100%;
}
.vcHolder button {
  width: 100%;
}

video[id^="video-"],
#video_self {
  width: 100%;
}

.video-wrapper {
  position: relative;
  overflow: auto;
  display: flex;
  align-items: stretch;
  max-height: 300px;
  height: 100px;
  width: 100%;
  resize: vertical;
}

.fullscreen {
  font-size: 15px;
  padding: 5px;
  text-align: center;
  position: fixed;
  left: 15px;
  top: 15px;
}

.fullscreen img {
  position: relative;
  width: 15px;
  height: 15px;
  cursor: pointer;
  filter: invert(1);
}

#chat {
  font-size: 15px;
  color: #fff;
  border: 0;
  vertical-align: top;
  background-color: #0a0a0a;
  height: 100vh;
  width: min(20vw, 240px);
  display: inline-flex;
  flex-direction: column;
  box-sizing: border-box;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.bubble {
  background-color: #123;
  border-radius: 1em;
  padding: 10px;
  display: inline-block;
  margin: 3px;
}

.messages {
  flex-basis: auto;
  flex-grow: 1;
  overflow: auto;
}

.inputMsg {
  flex-basis: auto;
  line-height: 2em;
  margin: 5px;
}

.updates {
  flex-basis: auto;
  font-size: 1em;
  font-family: monospace;
  height: 5em;
  background-color: #556;
  flex-shrink: 0;
  overflow: auto;
}

.myProps {
  flex-direction: row;
}

.myName {
  flex-grow: 1;
  flex-basis: auto;
}

.myId {
  flex-basis: auto;
}

.video-controls {
  width: 1.5em;
  position: absolute;
  bottom: 0;
}

.video-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  color: #ccc;
  background-color: #444;
  border-radius: 1em;
  padding: 0;
  border: none;
}

.material-icons-outlined {
  font-family: "Material Icons";
}

.background {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background::before {
  content: "";
  filter: grayscale(80%) sepia(50%) hue-rotate(325deg);
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/background.jpg");
  background-size: 100% auto;
}

.background button {
  font-size: 20px;
  padding: 1.5em 2.5em;
  border-radius: 1em;
  border: 3px solid #ebbeb5;
  font-weight: 600;
  background-color: rgba(100, 0, 0, 0.75);
  color: #ffcece;
  cursor: pointer;
}

.hidden {
  display: none;
}
