:root{
  --innobau-color: #005ca9;
  --innobau-hellblau3: #BBD2F2;
  --innobau-hellblau2: #D5E2F7;
  --innobau-hellblau1: #EAF2FB;
  --innobau-hellgrau: #CCCCCC;
  --innobau-dunkelgrau: #7F7F7F;
  --innobau-orange: #E75E22;
  --innobau-gelb: #FFCB5C;
  --nav-width: 68px;
  --header-height: 68px;
  font-size: 14px; 
  color: white;
}

html, body{
    height: 100%;
    width:100%;
    padding: 0px;
    color: white;
}
body{
    min-height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
    margin: 0px;
}
header{
    background-color: var(--innobau-color);
    height: var(--header-height);
    padding: 0px;
}
main{
    height: calc(100% - var(--header-height));
    padding: 0px;
    overflow-y: hidden;
    position: relative;
}
#webgl{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
}
.content{
    position: relative;
    display: grid;
    width: 400px;
    height: 100%;
    gap: 0px 0px;
    z-index: 2;    
    grid-template-areas: "sidebar data resize";
    grid-template-columns: 50px auto 4px;
    grid-auto-rows: 1fr;    
}
.sidebar{
    grid-area: sidebar;
    display: grid;
    grid-auto-rows: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}
.data{
    position: relative;
    grid-area: data;
    overflow-y: scroll;  
    overflow-x: hidden;
    background-color: rgb(0, 0, 0, 0.8);
    z-index: 2;
}
.content-chapter{
  position: absolute;
  overflow: hidden;
  height: auto; 
  /*background-color: rgb(0, 0, 0, 1);*/

}
.content-chapter.show{
  display: block;
  animation-name: fade-in;
  animation-duration: 1s; 
  animation-iteration-count: 1;
  width: 100%;
} 

.content-chapter.hidden{
  display: none;
}

@keyframes fade-in {
  0% {left: -100%}

  100% {left: 0%}
}

.resizeH{
    grid-area: resize;
    cursor:e-resize;    
}

.nav-button{
  position: relative;
  width: 50px;
  height: 50px;
  padding: 10px;
  color:white;
  border: none;
  background-color: transparent;
  font-size: 2em;
  display: flex;
}
.nav-button:hover{
  background-color: var(--innobau-color);
}
.nav-button.active{
  background-color: var(--innobau-color);
}
.nav-button.active::after{
  content: none;
}

.lds-ring-small {
  width: 31.5px !important;
  height: 31.5px !important;
}

.lds-ring-small div {
  width: 30px !important;
  height: 30px !important;
  margin: 4px !important;
  border-width: 4px !important;

}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--innobau-color) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.like-link{
    cursor:pointer;
    color: #007bff;
}
.like-link:hover{
    color: #0056b3;
    text-decoration: underline;
}
