#page {
  display: flex;
  flex-direction: column;
  min-height: calc(100% - var(--header-height));
  margin-top: var(--header-height);
  margin-left: var(--navigation-width);
  transition: 0.5s;
}

#navigation {
  transition: 0.5s;
}

#header {
  z-index: 99;
  left: var(--navigation-width)!important;
  transition: 0.5s;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  /* background-color: rgba(0,0,0,0.1); */
  backdrop-filter: blur(10px);
  height: var(--header-height);
  line-height: var(--header-height);
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between; 
  z-index: 50;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.7);
}

#header img {
  max-height: calc(var(--header-height) - 10px);
  margin: 5px;
}

#header .title {
  text-overflow: ellipsis;
  overflow: hidden; 
  white-space: nowrap;
}

#content {
  padding: 20px;
  margin-bottom: 40px;
}


.navigation-control {
  position: relative;
  cursor: pointer;
}

.navigation-control .bar {
  pointer-events: none;
  display: block;
  height: 4px;
  width: 36px;
  background-color: var(--primary-color);
  margin: 8px;
  transition: all .7s ease;
}

.navigation-control.active .top {
  transform: translateY(6px) rotateZ(-22deg);
}

.navigation-control.active .bottom {
  transform: translateY(-6px) rotateZ(22deg);
}

.navigation-control.active .middle {
  width: 0;
}


.full-screen {
  position: fixed;
  animation: go-full-screen forwards 500ms ease-in-out;
  inset: var(--inset);
}

.shrink-down {
  animation: go-full-screen reverse backwards 500ms ease-in-out !important;
}

@keyframes go-full-screen {
  from {
    inset: var(--inset);
  }

  to {
    background: rgba(0,0,0,0.4);
    z-index: 100;
    max-width: 100%;
    max-height: 100%;
    min-width: 100%;
    min-height: 100%;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    overflow: auto;
    position: fixed;
    -o-object-fit: contain;
    object-fit: contain;
    inset: 0;
  }
}