.nav {
  position: fixed;
  bottom: 0;
  height: 60px;
  width: 100%;
  background-color: rgba(87, 87, 87, 0.4);
}

.nav .brand {
  float: left;
  display: block;
  height: 100%;
}

.nav .brand .logo {
  height: 100%;
  padding: 10px 0;
  max-height: 100%;
}

.nav .chat {
  float: right;
  display: block;
  height: 100%;
}

.nav .chat .icon {
  width: 50px;
  height: 50px;
  top: 5px;
  max-height: 100%;
}

.nav-mobile {
  position: absolute;
  display: none;
  top: 0px;
  left: 5px;
}

.view-control-button-mobile {
  display: block;
  width: 40px;
  height: 40px;
  padding: 2px;
}

.view-control-button-mobile .icon {
  width: 40px;
  height: 40px;
  padding: 2px;
}

.viewControlButton {
    display: none;
    position: absolute;
    outline: none;
    bottom: 10px;
    left: 50%;
    width: 50px;
    height: 50px;
    padding: 5px;

  }

  .view-control-buttons .viewControlButton {
    display: block;
  }
  
  /* Hide controls when width is too small */
  @media (max-width: 820px) {
    .view-control-buttons .viewControlButton {
      display: none;
    }
    .nav {
      height: 40px;
    }
    .nav-mobile {
      display: flex;
    }
  }
  
  .viewControlButton .icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
  }
  
  /* Center is at margin-left: -20px */
  .viewControlButton-1 {
    margin-left: -130px;
    z-index: 20;
  }
  .viewControlButton-2 {
    margin-left: -75px;
    z-index: 20;
  }
  .viewControlButton-3 {
    margin-left: -20px;
    z-index: 20;
  }
  /*.viewControlButton-4 {
    margin-left: 35px;
    z-index: 20;
  }*/
  .viewControlButton-5 {
    margin-left: 90px;
    z-index: 20;
  }
  .viewControlButton-6 {
    margin-left: 35px;
    z-index: 20;
  }

  /* Tooltip container */
  .tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; 
  }
  
  /* Tooltip text */
  .viewControlButton .tooltiptext {
    visibility: hidden;
    width: 105px;
    bottom: 100%;
    left: 50%;
    margin-left: -50px;
    background-color: white;
    color: black;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
   
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
  }
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .viewControlButton:hover .tooltiptext {
    visibility: visible;
  }
