/*
 *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree.
 */
button {
  margin: 0 20px 0 0;
  width: 83px;
}

button#hangupButton {
    margin: 0;
}

video {
  margin: 0 0 20px 0;
  --width: 40%;
  width: var(--width);
  height: auto;
  aspect-ratio: auto;
  background: #000;
  object-fit: contain;
}

video#video1 {
  margin: 0;
}

div#remoteVideos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.video-container {
  display: inline-flex;
  flex-direction: column;
  margin: 0;
}

#container > .video-container {
  margin: 0 0 20px 0;
}

.video-container video {
  margin: 0;
}

.video-info {
  font-size: 12px;
  color: #333;
  background: #f0f0f0;
  padding: 6px 8px;
  text-align: center;
  border-radius: 3px;
  margin-top: 4px;
  font-family: 'Courier New', monospace;
}

/* Video info labels show codec, resolution, and implementation details. */

input#videoCountInput {
  width: 72px;
}

div#status {
  margin: 8px 0 0;
}

@media screen and (max-width: 400px) {
  button {
    margin: 0 11px 10px 0;
  }

  video {
    margin: 0 0 10px 0;
    width: calc(50% - 8px);
  }

  video#video1 {
    margin: 0 10px 10px 0;
  }

}
