/* Cyberpunk Theme */
body {
  background-color: #0a0e27;
  background-image:
    linear-gradient(0deg, transparent 24%, rgba(0, 255, 255, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 255, 255, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  color: #00ffff;
}

.md-tabs, .md-header {
  background-color: #0a0e27 !important;
  border-bottom: 2px solid #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.md-typeset pre {
  line-height: 1.5;
  font-size: 75%;
  background-color: #0f1535 !important;
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(0, 255, 255, 0.05);
  color: #00ff00;
}

.md-typeset .admonition, .md-typeset details {
  font-size: inherit;
  background-color: #0f1535 !important;
  border-left: 4px solid #ff00ff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.2);
}

.md-typeset .codehilite pre {
  font-size: 80%;
  background-color: #0f1535 !important;
  color: #00ff00;
}

/* Header layout fixes */
.md-header-nav {
  display: flex;
  align-items: center;
  height: 64px;
}

.md-flex {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.md-flex__cell {
  display: flex;
  align-items: center;
  height: 100%;
}

.md-flex__cell--shrink {
  flex-shrink: 1;
}


.md-flex__ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.md-logo {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  filter: drop-shadow(0 0 8px #00ffff);
}

/* Cyberpunk Links */
.md-typeset a {
  color: #00ffff !important;
  text-decoration: none;
  border-bottom: 1px solid #00ffff;
  transition: all 0.3s ease;
}

.md-typeset a:hover {
  color: #ff00ff !important;
  border-bottom: 1px solid #ff00ff;
  text-shadow: 0 0 10px #ff00ff;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Cyberpunk Headings */
.md-typeset h1, .md-typeset h2, .md-typeset h3, .md-typeset h4, .md-typeset h5, .md-typeset h6 {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

/* Cyberpunk Tables */
.md-typeset table {
  border: 1px solid #00ffff;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.md-typeset table thead {
  background-color: #0f1535;
  border-bottom: 2px solid #ff00ff;
}

.md-typeset table tbody tr {
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.md-typeset table tbody tr:hover {
  background-color: rgba(0, 255, 255, 0.1);
}

.md-typeset table td, .md-typeset table th {
  color: #00ffff;
}

.md-logo img {
  height: 40px;
  width: 40px;
  margin: 0;
}

.md-header-nav__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  padding: 0;
}

.md-header-nav__title {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.5rem;
  gap: 0.5rem;
  overflow: hidden;
}

.md-header-nav__topic {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-header-nav__topic:not(:last-child)::after {
  content: " /";
  margin-left: 0.5rem;
}

.md-header-nav__source {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

/* Search box styling */
.md-search {
  display: flex !important;
  align-items: center;
  height: 100%;
  width: 100%;
}

.md-search__inner {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.md-search__form {
  display: flex;
  align-items: center;
  height: 50%;
  width: 100%;
  color: white;
}

.md-search__input {
  display: block;
  height: 100%;
  width: 100%;
  background: white;
  border: none;
  color: #333 !important;
  padding: 0 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.md-search__input::placeholder {
  color: #999;
}

.md-search__input:focus {
  background: white;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.md-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  padding: 0;
}

.md-search__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  padding: 0;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

@-webkit-keyframes slide {
  100% { bottom: 0; }
}

@keyframes slide {
  100% { bottom: 0; }
}

/* Make notice stretch across the bottom on mobile */
@media screen and (max-width: 450px) {
  .notice {
    width: 100%;
  }
}

input, .md-search__input::placeholder, .md-search__input ~ .md-search__icon {
  color: #ecedee;
}

body, input{ font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif }
code, kbd, pre { font-family: "Roboto Mono", "Courier New", Courier, monospace }

/* roboto-300 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'),
       url('fonts/roboto-v18-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v18-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
       url('fonts/roboto-v18-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v18-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'),
       url('fonts/roboto-v18-latin-ext_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v18-latin-ext_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin-ext_latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('fonts/roboto-v18-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v18-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-mono-regular - latin-ext_latin */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Mono'), local('RobotoMono-Regular'),
       url('fonts/roboto-mono-v5-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-mono-v5-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
} 
