:root {
  --coffee-brown: #5D5A53;
  --black : #000000;
  --mist-grey: #959595;
  --cool-breeze: #95C8CC;
  --frost-dew:#B9CECE;
  --cloud-milk: #E5E3DE;
  --rambutan: #fafaf2;
  --coffee-transparent: #5d5a53a1;
  --breeze-transparent: #95c8ccb2;
  --frost-transparent: #bcedf68a;
  --cloud-transparent: #ddfbd26b;
  --background-color: #ffffff;
  --content-background-color: #ffffff;
  --sidebar-background-color: #ffffff2c;
  --text-color: var(--coffee-brown);
  --sidebar-text-color: #70a6aa;
  --link-color: var(--cool-breeze);
  --link-color-hover: var(--frost-dew);
  --margin: 10px;
  --padding: 20px;
  --border: 2px solid #000000;
  --round-borders: 0px;
  --sidebar-width: 100px;
  --heading-font : "Doto", sans-serif;
}

@font-face {
  font-family: 'rascal';
  src: url(https://file.garden/aitBfQFGMVWptUa4/RASCAL__.TTF);
}

@font-face {
  font-family: 'starry-type';
  src: url(https://file.garden/aitBfQFGMVWptUa4/StarryType.ttf);
}

* {
  font-family: "starry-type", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
    color: var(--coffee-brown);
    margin: 0;
    font-size: 80px;
    text-shadow: none;
    letter-spacing: 2.4px;
    border-color: var(--black) !important;
    font-family: "rascal", "starry-type", cursive;
    font-weight: 400;
    font-style: normal;
}

h2 {
    color: var(--mist-grey);
    margin: 0;
    font-size: 17px;
    text-shadow: none;
    letter-spacing: 2.4px;
    border-color: var(--black) !important;
}

h3 {
    color: var(--cool-breeze);
    margin: 0;
    font-size: 17px;
    border-color: var(--black) !important;
}


/* Selection */
::selection {
    color: var(--coffee-brown);
    background: var(--frost-transparent);
}
/* Menu */
#blue-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 50%;
  margin: auto;
  justify-content: right;
}


body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("images/notebookbg.png");
  background-size: 105%;
  padding-right: 60px;
  
}

body.alt-bg {
  background-image: url("images/notebookhalfright.png");
}

body.alt-bg2 {
  background-image: url("images/notebookhalfleft.png");
}

mark {
  text-shadow: 1.2px 1.2px 3.6px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links */
a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--cool-breeze);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}


.layout {
  width: 100%;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header" auto "leftSidebar main" 1fr "footer footer" auto / var(--sidebar-width) auto;
  min-height: 100vh;
}


main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: transparent;
  border: none; 
  border-radius: var(--round-borders);
  position: relative;
}

/* Header */

header {
  grid-area: header;
  font-size: 1.2em;
  border: none; /* REMOVED border */
  border-radius: var(--round-borders);
  background: var(--content-background-color);
}

.header-content {
  padding: var(--padding);
}

.header-image img {
  width: 100%;
  height: auto;
}
.header-title {
  font-family: var(--heading-font);
  font-size: 3em;
  font-weight: 600;
  color: var(--coffee-brown);
  margin: 0;
  position: relative;  /* IMPORTANT: needed for pseudo-element positioning */
  display: block;
  padding: 10px 20px;
  z-index: 2;
}

.header-title::before {
  content: "";
  position: absolute;
  top: 0;  
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/oscillationbanner.jpg');
  background-size: 1080px;
  background-position: center;
  opacity: 0.20;
  z-index: -1;
  border-radius: 8px;
}

header.no-bg-image .header-title::before {
  background-image: none;
}

/* Sidebars */

aside {
  grid-area: aside;
  border: none;
  border-radius: var(--round-borders);
  overflow: hidden;
  background: var(--sidebar-background-color);
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

.left-sidebar {
  grid-area: leftSidebar;
  border-right: none; 
  border-left: none;
  border-top: none;
  border-bottom: none;
  width: 140px;
  margin-left: -10px;
}

.left-sidebar2 {
  grid-area: leftSidebar;
  border-right: none; 
  border-left: none;
  border-top: none;
  border-bottom: none;
}

.right-sidebar {
  grid-area: rightSidebar;
}


.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: var(--frost-dew);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
  color: var(--breeze-transparent);
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}

/* Footer */

footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 0.75em;
  padding: 15px;
  background: var(--content-background-color);
  display: flex;
  justify-content: center;  
}

footer a,
footer a:visited {
  color: var(--link-color);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
}

/* Navigation */
nav {
  margin-bottom: 3em;
  border-right: none;
  border-left: none;
  border-top: none;
  border-bottom: none;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: 0;
}

nav > ul li > a,
nav > ul li > strong {
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
}

.layout-right {
  width: 100%;
  display: grid;
  grid-gap: 0px;
  grid-template: "header header" auto 
                 "main rightSidebar" 1fr 
                 "footer footer" auto / 1fr 140px;
  min-height: 100vh;
  align-items: start;
}

.right-sidebar {
  grid-area: rightSidebar;
  border: none;
  width: 140px;
  padding: var(--padding);
  background: var(--sidebar-background-color);
  color: var(--sidebar-text-color);
  align-self: start;
  
}

.right-nav {
  margin-bottom: 3em;
  border: none;
}

.right-nav .sidebar-title {
  margin-bottom: 0.5em;
  text-align: right; 
}

.right-nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
  text-align: right; 
}

.right-nav ul li {
  margin-bottom: 0;
}

.right-nav > ul li > a,
.right-nav > ul li > strong {
  display: inline-block;
}

.right-nav > ul li > a,
.right-nav > ul li > details summary,
.right-nav > ul li > strong {
  padding: 5px 10px;
}

.right-nav > ul li > a.active,
.right-nav > ul li > details.active summary {
  font-weight: bold;
}

.right-nav ul summary {
  cursor: pointer;
}

.right-nav ul ul li > a {
  padding-right: 30px; 
  padding-left: 10px;
}

/* Content*/

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}

blockquote {
  background-color: var(--frost-dew);
  border-left: 5px solid var(--cloud-milk);
  color: var(--breeze-transparent); 
  padding: 15px; 
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

.bottom-image {
  position: absolute;
  z-index: -1;
  top: 50px;
  left: 50px;
  width: 700px;
  opacity: 1;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
 /* font-family: var(--heading-font); */
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* Columns: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* Content images */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

.hoverfigure:hover img {
            -webkit-transform: rotate(0) scale(1) !important;
            transform: rotate(0) scale(1) !important;
        }

/* Accessibility DNR*/


#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}