* {
    box-sizing: border-box;
  }
  
  h3 {
    font-family: sans-serif;
    background-color: rgba(255,255,255,0.7);
    display: block;
    width: fit-content;
    padding: 0.5em 2em;
    text-transform: capitalize;
  }

  h3.unused {
    display: none;
  }

  body {
    padding: 0;
    margin: 0;  
    background-color: #333;
  }
  
  .nav {
    position: fixed;
    left: 0;
    width: 2em;
    top: 0;
    bottom: 0;
  }

  .multi-video {
    margin-top: 4em;
  }
  
  .highways {
    top: 2em;
  }
  
  .buttons {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: row;
    width: 100vh;
    margin: 0;
    padding: 0;
  /*  transform-origin: 0 0;
    transform: rotate(-90deg)*/
  }
  
  .item {
    list-style-type: none;
    font-family: sans-serif;
    display: block;
    padding: 0 10px;
    height: 2em;
    line-height: 2;
    border: 1px solid black;
    border-top: none;
    border-left: none;
    background: rgba(255,255,255,0.5);
    white-space: nowrap;
  }
  
  .selected {
    font-weight: bold;
  }
  
  .item:hover {
    background: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
  }
  
  video {
    max-width: 100vw;
  }
  
  .floating {
    position: fixed;
    top: 0;
    left: 1em;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: .2em .5em;
    border-radius: .5em;
  }
  
  .waiting {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1DA1F2;
  }
  
  .waiting-stopped {
    display: none;
  }
  
  .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }