
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: .05em;
}

main {
  padding-top: 30px;
  padding-bottom: 200px;
}

.bodybackground {
  color: #e0e1dd;
  background-color: #04090e;
}

a {
  color: #7c89c7;
}

.sidecolumn {
	height: 100vh;
	position: sticky;
	top: 0;
	background-color: #151d25;
  overflow: hidden;
}

.sidecolumninner {
  height: 100%;
  overflow: auto;
	overflow-x: hidden;
}

.sidecolumninner a {
	padding: 6px 6px 6px 32px;
	text-decoration: none;
	font-size: 16px;
	color: #e0e1dd;
	display: block;
}

.sidecolumninner a:hover {
	color: #f1f1f1;
}

.section {
  border-style: solid;
  border-color: #151d25;
  border-radius: 8px;
  padding-top: 12px;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 20px;
}
/* 
.section p {
  text-indent: 10px;
} */

.section .figure {
  border-radius: 6px;
  border: 1px solid #151d25;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  padding: 6;
}

.section .figure img {
  border-radius: 4px;
  padding: 5px;
  object-fit: cover;
  width: 100%;
}

.section .figure p {
  font-style: italic;
	font-size:12px;
  margin:2px;
  line-height: normal;
}

aside nav {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
	font-size:16px;
	color: #e0e1dd;
	letter-spacing:1;
  padding-bottom: 20px;
}

.toc-title {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style:oblique;
	font-size:16px;
	color: #e0e1dd;
}

:where(h1, h2, h3, h4) {
  scroll-margin-top: 50px;
}

button.next {
  float: right;
  appearance: button;
  background-color: #1652F0;
  border: 1px solid #1652F0;
  border-radius: 4px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.15;
  overflow: visible;
  padding: 12px 16px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: all 80ms ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
}

button.next:disabled {
  opacity: .5;
}

button.next:focus {
  outline: 0;
}

button.next:hover {
  background-color: #0A46E4;
  border-color: #0A46E4;
}

button.next:active {
  background-color: #0039D7;
  border-color: #0039D7;
}

table {
  width: 100%;
}
tr:nth-child(even) {
  background-color: #2e2e2e;
}

.search {
  width: 90vw;
  max-width: 600px;
  /* position: fixed; */
  /* left: 50%; */
  /* top: 20%; */
  /* translate: -50% -0%; */
  border-radius: 0.5rem;
  box-shadow: 0px 0px 20px hsl(0 0% 0% / 40%);
  overflow: hidden;

  & input {
    width: 100%;
    padding: .9rem;
    color: hsl(220 10% 98%);
    background-color: hsl(220 10% 20%);
    font: inherit;
    border: none;
    outline: none;
  }
}

.results {
  position: fixed;
  top: 10%;
  left: 20%;
  max-height: 70%;
  padding: 1.5rem;
  background-color: hsl(220 10% 14%);
  overflow-y: auto;
  scrollbar-width: thin;
  z-index: 10;

  & ul {
    display: grid;
    gap: 1rem;
    padding: 0px;
    margin: 0px;
    list-style: none;

    & li:not(:last-child) {
      padding-block: 0.5rem;
      border-bottom: 1px solid hsl(220 10% 20%);
    }
  }

  & a {
    display: block;
    font-size: 1.5rem;
    color: hsl(220 10% 80%);
    text-decoration: none;
    transition: color 0.3s ease;

    &:hover {
      color: aqua;
    }
  }
}
