:root {
  --bg-toolbar: #495057;
  --color-toolbar: #fff;
  --color-hover: #000;
}

.theme-dark {
  --bg-toolbar: #495057;
  --color-toolbar: #fff;
  --color-hover: #000;
}

.theme-light {
  --bg-toolbar: #fff;
  --color-toolbar: #000;
  --color-hover: #fff;
}

#controlBar {
  background: var(--bg-linear) !important;
  display: flex;
  justify-content: space-evenly;
  align-items: end;
  border-radius: 10px 10px 0px 0px;
  padding-top: 5px;
  padding-bottom: 5px;
  height: fit-content !important;
}

#controlBar i {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px;
}

.toolbar-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
  line-height: 0px;
  background-color: var(--bg-toolbar);
  border: 1px solid #fff;
  padding: 3px;
  border-radius: 50%;
  text-align: center;
}

.toolbar-container#logout-toolbar::before {
  background-color: red !important;
}

.toolbar-container#logout-toolbar:hover{
  color: #fff;
}

.toolbar-container {
    position: relative;
    transition: .3s ease-in-out;
    color: var(--color-toolbar);
    z-index: 1;
}

.toolbar-container:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-toolbar);
    border-radius: 50%;
    transform: scale(0);
    transition: .3s ease-in-out;
    z-index: -1;
}

.toolbar-container:hover:before{
    transform: scale(1);
}


.toolbar-container:hover {
    color: var(--color-hover);
}

.toolbar-icon {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
  /* color: var(--color); */
  font-size: 10px;
}

.toolbar-tooltip {
  position: absolute;
  bottom: 45px;
  left: 50%;
  font-size: 14px;
  transform: translateX(-50%);
  background-image: var(--bg-linear);
  color: var(--color);
  padding: 3px 5px;
  border-radius: 5px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  line-height: 1.5;
}

[data-title]:hover:after {
  opacity: 1;
  transition: all 0.1s ease 0.3s;
  visibility: visible;
}
[data-title]:after {
  content: attr(data-title);
  background-color: #333;
  color: #fff;
  font-size: 14px;
  font-family: Raleway;
  position: absolute;
  padding: 3px 20px;
  bottom: -1.6em;
  left: 100%;
  white-space: nowrap;
  box-shadow: 1px 1px 3px #222222;
  opacity: 0;
  border: 1px solid #111111;
  z-index: 99999;
  visibility: hidden;
  border-radius: 6px;
}
[data-title] {
  position: relative;
}

#scene-title {
  position: absolute;
  bottom: calc(60px + 10px);
  left: 15px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 7px 7px;
  border-radius: 10px;
  z-index: 1000;
  font-size: 15px;
  height: fit-content;
}

.tooltip-visor-options{
  position: absolute;
  bottom: calc(100% + 10px);
  font-size: 14px;
  padding: 3px;
  background-image: var(--bg-linear);
  color: var(--color);
  border-radius: 5px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  line-height: 1.5;
}

.tooltip-visor-options a {
  background-color: var(--bg-toolbar) !important;
}

.tooltip-visor-options a:hover {
  background-image: var(--bg-linear);
  color: var(--color) !important;
}

.tooltip-visor-options a span {
  color: var(--color-toolbar) !important;
}

@media (max-width: 768px) {
  #scene-title {
    bottom: calc(100px + 2px);
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  #scene-title {
    bottom: calc(100px + 2px);
    font-size: 10px;
  }
}