/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

:root {
  --ifm-color-primary: #ffffff;
  --ifm-color-primary-dark: #c25725;
  --ifm-color-primary-darker: rgb(31, 165, 136);
  --ifm-color-primary-darkest: rgb(26, 136, 112);
  --ifm-color-primary-light: rgb(70, 203, 174);
  --ifm-color-primary-lighter: rgb(102, 212, 189);
  --ifm-color-primary-lightest: rgb(146, 224, 208);
  --ifm-hero-text-color: #ffffff;
  --ifm-font-color-base-inverse: rgb(40,29,29);
  --ifm-footer-color: #c25725;
  --ifm-footer-color: var(--ifm-navbar-link-color);
  --ifm-footer-link-color: var(--ifm-navbar-link-color);
  --ifm-footer-title-color: var(--ifm-color-primary);
  --ifm-navbar-background-color: rgb(40, 29, 29);
  --ifm-footer-color:rgb(40, 29, 29);
  --ifm-footer-background-color:rgb(40, 29, 29);
  --ifm-navbar-link-color:rgb(190, 186, 186);
  --ifm-link-color:#c25725;
  --ifm-menu-color:#c25725;
  --ifm-menu-color-active: #c25725;
  --ifm-menu-color-background-active:rgba(0, 0, 0, 0.05);
  --ifm-footer-color:#ffffff;
  --ifm-container-width: 1300px;
  --ifm-tabs-color-active: #d66b00;
}

.check {
  float: left
}

.cm-s-height100 {
  height: 100px !important;
}

.CodeMirror {
  height: auto !important;
}

.CodeMirror-scroll {
  min-height: 25vh;
  max-height: 50vh;
}

.footer__links {
  margin-bottom: 0rem;
}

.navbar__link--active {
  color: var(--ifm-navbar-link-color);
}

.navbar__logo {
  padding-bottom: 0.75rem;
}

.navbar__toggle svg path {
  stroke: #fff !important;
}

.react-codemirror2 {
  height: 100%;
}

.table-of-contents__link:hover {
  color:#c25725;
}

.table-of-contents__link--active {
  color:#c25725;
}

/* Announcement banner */

:root {
  --docusaurus-announcement-bar-height: auto !important;
}

div[class^="announcementBarContent"] {
  line-height: 40px;
  font-size: 20px;
  font-weight: bold;
  padding: 8px 30px;
}

div[class^="announcementBarContent"] a {
  text-decoration: underline;
  display: inline-block;
  color: var(--ifm-color-primary-lightest) !important;
}

div[class^="announcementBarContent"] a:hover {
  color: var(--brand) !important;
}

@media only screen and (max-width: 768px) {
  div[class^="announcementBarContent"] {
    font-size: 18px;
  }
}

@media only screen and (max-width: 500px) {
  div[class^="announcementBarContent"] {
    font-size: 15px;
    line-height: 22px;
    padding: 6px 30px;
  }
}

.pyre-type-error {
  background-color: rgb(235, 193, 137)
}

.youtubeContainer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 50px;
}

.youtubeContainer iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
