body {
    font-family: 'Roboto', sans-serif;
    background-color: #eee;
    padding: 0px;
    margin: 0px;
  }
  
  /* general styles */
  .button {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    padding: 5px;
    cursor: pointer;
      background: #409ffe;
      background-image: -o-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -moz-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -webkit-gradient(linear,0 0,0 100%,from(#80c0ff),to(#017ffe));
      background-image: -webkit-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -ms-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: linear-gradient(top,#80c0ff 0,#017ffe 100%);
      color: white;
  }
  .button:active {
    background-color: #007aff;
  }
  .mirror {
    transform: scaleX(-1);
  }
  
  /* main container styles */
  #main {
    height: 100vh;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 8% auto 9%;
    grid-template-columns: 30% auto;
    grid-template-areas:
      'top top'
      'vid msg'
      'vid inp';
  }
  
  /* top bar styles */
  #top-bar {
    grid-area: top;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 30px;
    align-items: center;
  
      background: white;
      box-shadow: 0 0.25em 0.75em #CCC;
      -moz-box-shadow: 0 .25em .75em #CCC;
      -webkit-box-shadow: 0 0.25em 0.75em #CCC;
  }
  #logo {
    height: 100%;
  }
  #logo img {
    height: 100%;
    width: 175px;
  }
  #logo h1 {
    cursor: pointer;
    text-align: left;
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0px;
  }
  #top-right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  #peopleOnline p {
    color: #9cf;
    font-size: 20px;
    font-weight: 500;
    padding: 0;
    margin: 10px;
    margin-right: 20px;
  }
  #feedback-btn {
    margin: 0;
    padding: 8px;
    border-radius: 10px;
  }
  #feedback-btn:active {
    background-color: #007aff 0.0;
  }
  
  /* video container */
  #videos {
    grid-area: vid;
    margin: 10px;
    margin-right: 0;
    display: grid;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
  }
  
  #self {
    overflow: hidden;
    margin-top: 5px;
  }
  #peer {
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
  }
  #peer img {
    position: absolute;
    width: 35%;
    left: -50px;
    bottom: -20px;
    z-index: 10;
    opacity: 0.7;
  }
  
  .video-player {
    width: 100%;
    height: 100%;
    background-color: #666;
    object-fit: cover;
  }
  
  #peer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  #peer-video-loader {
    position: absolute;
    aspect-ratio: 1;
    width: 25%;
    border-radius: 50%;
    display: inline-block;
    border-top: 6px solid #fff;
    border-right: 6px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  
  /* message area */
  #message-area {
    background: #cccccc;
    grid-area: msg;
    margin: 8px;
    padding: 10px;
    overflow-y: auto;
    font-size: 20px;
    border: 1px solid #000000;
      border-top-left-radius: 0.5em;
      border-top-right-radius: 0.5em;
      -moz-border-radius-topleft: .5em;
      -moz-border-radius-topright: .5em;
      -webkit-border-top-left-radius: 0.5em;
      -webkit-border-top-right-radius: 0.5em;
  }
  
  .message-status {
    margin: 8px;
    margin-bottom: 16px;
    font-weight: bold;
    color: rgb(0, 0, 0);
  }
  
  .message {
    margin: 8px;
  }
  
  .message .you {
    color: #4285f4;
    font-weight: bold;
  }
  
  .message .strange {
    color: red;
    font-weight: bold;
  }
  
  /* input area */
  #input-area {
    grid-area: inp;
    display: flex;
    padding: 0;
    padding-bottom: 6px;
    min-width: 0;
  }
  
  #skip-btn {
    margin: 0 8px;
    padding: 5px 40px;
    font-size: 20px;
    min-width: 0;
      background: #409ffe;
      background-image: -o-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -moz-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -webkit-gradient(linear,0 0,0 100%,from(#80c0ff),to(#017ffe));
      background-image: -webkit-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -ms-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: linear-gradient(top,#80c0ff 0,#017ffe 100%);
      color: white;
      border-bottom-left-radius: 10px;
  }
  #skip-btn span {
    display: block;
    font-size: 12px;
    min-width: 0;
  }
  
  #message-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 20px;
    min-width: 0;
  }
  
  #send-btn {
    margin: 0 8px;
    padding: 5px 40px;
    font-size: 20px;
      background: #409ffe;
      background-image: -o-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -moz-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -webkit-gradient(linear,0 0,0 100%,from(#80c0ff),to(#017ffe));
      background-image: -webkit-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: -ms-linear-gradient(top,#80c0ff 0,#017ffe 100%);
      background-image: linear-gradient(top,#80c0ff 0,#017ffe 100%);
      color: white;
      border-bottom-right-radius: 10px;
  }
  #send-btn span {
    display: block;
    font-size: 12px;
  }
  
  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /* feedback popup */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
  }
  .modal-content {
    background-color: #fefefe;
    margin: 3% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
  }
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  #feedbackText {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    resize: vertical;
  }
  #submit-btn {
    padding: 10px 20px;
  }
  