html, body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
}

.viz {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.nav-pane {
  display: flex;
  flex: 0 0 5%;
  background-color: #f0f0f0;

  #controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
}

  .nav {
    flex: 0 0 25%;
    background-color: #ccc;
    padding: 10px;
    box-sizing: border-box;

    #selector {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
    }

    .page-number {
      padding: 5px;
    }
    
    .page-number.active {
      font-weight: bold;
      color: blue;
    }
    
    .page-number:hover {
      text-decoration: underline;
    }
    
    .selector {
      display: flex;
      align-items: center;
    }
    
    .page-numbers {
      display: flex;
      align-items: center;
    }
    
    svg {
      vertical-align: middle;
    }
  }
  .controls {
    flex: 0 0 75%;
    background-color: #e0e0e0;
    padding: 10px;
    box-sizing: border-box;
  }
}

.content {
  display: flex;
  flex: 1;

  .text {
    flex: 0 0 25%;
    background-color: #d0d0d0;
    padding: 10px;
    box-sizing: border-box;
  }
  .visualization {

    #intro-button {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      background-color:  #6c757d;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 42px;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s, transform 0.2s;
  }
  
    #intro-button:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
    }
    
    #intro-button:active {
        background-color: #004494;
        transform: translateY(0);
    }

    .highlighted-state {
      fill-opacity: 0.75 !important;
      transition: fill-opacity 0.25s ease;
    }
  
    .default-state {
        fill-opacity: 0;
        transition: fill-opacity 0.25s ease;
    }
  
    svg {
      width: 100%;
      height: 100%;
      border: 1px solid #ccc;
    }
  
    #tooltip {
      position: absolute;
      text-align: center;
      width: auto;
      height: auto;
      padding: 5px;
      font: 12px sans-serif;
      background: lightsteelblue;
      border: 0px;
      border-radius: 8px;
      pointer-events: none;
    }
    #tooltip.hidden {
      display: none;
    }
  
    flex: 0 0 75%;
    background-color: #b0b0b0;
    padding: 0px;
    box-sizing: border-box;
  }
}
