/**
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

:host {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 8px 0;
  }

  .spacer {
    flex: 1;
  }

  $toolbar_height: 60px;

  .toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: $toolbar_height;
    display: flex;
    align-items: center;
    background-color: #1976d2;
    color: white;
    font-weight: 600;
    padding: 0 1rem;
  }

  .toolbar img {
    margin: 0 16px;
  }

  .toolbar .github-logo {
    height: 40px;
    margin: 0 8px;
  }

  .toolbar .github-logo:hover {
    opacity: 0.8;
  }

  a,
  a:visited,
  a:hover {
    color: #1976d2;
    text-decoration: none;
  }

  a:hover {
    color: #125699;
  }

  .content {
    position: absolute;
    inset: $toolbar_height 0 0 0;
  }

  .reference-panel-container {
    padding: 2rem;
    max-width: 35vw;
  }

  .main-panel-container {
    min-width: inherit;
    margin: 0;
    padding: 2rem;
  }

  .repl-console-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .control-button-bar {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
