body, html {
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
}

.hidden {
  display: none;
}

.tbl-hider-icon img {
  content: url("../src/ar-ui-icons/arrow-right.png");
}

.loading {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  background-color: #FFFFFF;
}

.loading.invisible {
  display: none;
}

.loader {
  width: 256px;
  height: 256px;
  object-fit: contain;
}

.loader img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
}

@-webkit-keyframes popout {
  to {
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}

@keyframes popout {
  to {
      -webkit-transform: scale(0);
      transform: scale(0);
  }
}

.drag-notice {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  width: 15em;
  height: 5em;
  box-sizing: border-box;
  font-size: 0.9em;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
  border-radius: 1em;
  background: #00000080;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.drag-notice.start {
  -webkit-animation: popout 0.25s 1.3s forwards;
  animation: popout 0.25s 1.3s forwards;
}

.canvas__container {
  display: flex;
  flex: 1;
  height: 100vh;
  width: calc(100vw - 280px);
  position: absolute;
  top: 0;
  left: 0;
}

.canvas__container--open {
  flex: 1;
  width: 100vw;
}

.canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
  flex: 1;
}

.tbl-buttons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 6px;
  left: 50%;
  width: 300px;
  transform: translateX(-50%);
  z-index: 2;
}

.tbl-window-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relevant;
  width: 105px;
  height: 44px;
  margin: 2px;
  border: 1px solid lightgrey;
  background-color: lightgrey;
  
  cursor: pointer;
  user-select: none;

  transition: .3s linear;
}

.tbl-window-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 5px;
}

.tbl-window-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  font-weight: 400;
  font-size: 10px;
  padding: 6px;
}

.tbl-window-logo:hover {
  background-color: greenyellow;
  border: 1px solid darkblue;
}

#toggleIcon {
  width: 10px;
  height: 14px;
  transition: transform 0.6s ease-in-out;
}

.rotated {
  transform: rotate(180deg);
}

.menu__wrapper {
  display: flex;
  position: absolute;
  right: 0;
}

#menu__wrapper.disabled {
  pointer-events: none;
}

.menu__hider {
  cursor: pointer;
  width: 30px;
  height: 60px;
  position: relative;
  background-color: var(--colorLightGray);
  border: 1px solid var(--colorGrey);
  border-radius: 2px 0px 0px 2px;
  border-width: 1px 0px 1px 1px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease-out;
}

.menu__hider:hover {
  background-color: green;
}

.menu__hider--open {
  transform: translateX(calc(280px));
}

.menu--open {
  transform: translateX(100%);
}

.menu__container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  width: 280px;
  z-index: 1;
  transition: transform 0.3s ease-out;
}
