@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  
  --color-base: #fff;
  --color-side: #181825;
  --color-text: #11111b;
  --color-text-code: #cdd6f4;
  

  --color-rosewater: #f5e0dc;
  --color-flamingo: #f2cdcd;
  --color-pink: #f5c2e7;
  --color-mauve: #cba6f7;
  --color-red: #f38ba8;
  --color-maroon: #eba0ac;
  --color-peach: #fab387;
  --color-yellow: #f9e2af;
  --color-green: #a6e3a1;
  --color-teal: #94e2d5;
  --color-sky: #89dceb;
  --color-sapphire: #74c7ec;
  --color-blue: #89b4fa;
  --color-lavender: #b4befe;
  --color-mantle: #181825;
  --color-crust: #11111b;
}


body {
  font-family: "JetBrains Mono", sans-serif;
  background-color: var(--color-base);
  line-height: 1.5;
  margin: 0rem;
  padding: 0rem;

}


.header {
  background-color: var(--color-side);
  height: 3rem;
}


.header .button {
  border: none;
  color: var(--color-yellow);
  background: var(--color-side);
}


.header .left-button {
  float: left;
}


.header .right-button {
  float: right;
}


.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 200px;
  background-color: var(--color-side);
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 10px;
  display: none;
}


.sidebar a,
.sidebar button {
  text-decoration: none;
  padding: 12px 40px;
  font-size: 16px;
  display: block;
  cursor: pointer;
  transition: background-color 0.2s;
  color: var(--color-text-code);
  background: var(--color-crust);
}


.sidebar a:hover,
.sidebar button:hover {
  background-color: var(--color-blue);
}


.sidebar .closebtn {
  text-align: left;
  text-decoration: none;
  display: block;
  cursor: pointer;
  height: 40px;
  width: 200px;
  font-size: 16px;
  transition: background-color 0.2s;
  color: var(--color-mantle);
  background: var(--color-red);
  border: none;
}


/* Left menu specific styles */
.left-menu {
  left: 0;
  transform: translateX(-100%);
}


.left-menu.open {
  display: block;
  transform: translateX(0);
}


/* Right menu specific styles */
.right-menu {
  right: 0;
  transform: translateX(100%);
}


.right-menu.open {
  display: block;
  transform: translateX(0);
}


h1{
  font-weight: 600;
  line-height: 1.25;
}


h2 {
  font-weight: 500;
  font-size: 1rem;
}


ul, li {
  font-weight: 400;
  line-height: 1.6;
}


i {
  padding: 0.8rem 0rem 0rem 1rem;
  font-size: 24px;
  color: #a6e3a1;
  background: none;  
}


.container {
  color: var(--color-mantle);
  margin: 0 auto;
  padding: 2rem 4rem 2rem 4rem;
  text-align: left;
  max-width:780px;
}


.container li {
  list-style-type: square;
}


.container li a {
  color: var(--color-mantle);
  text-decoration: none;
}


.post-tag {
  font-size: 0.7rem;
}


.post-italic {
  font-style: italic;
  font-weight: 200;
  display: block;
  margin-bottom: 1rem;
}


.easy-link {
  color: var(--color-green);
}


.easy-link:hover {
  color: var(--color-green);
}

.medium-link {
  color: var(--color-maroon);
}

.medium-link:hover {
  color: var(--color-maroon);
}


.postlist-link {
  text-decoration:underline;
}


.postlist-link:hover {
  color: var(--color-peach);
}


pre {
  display: block;
  font-family: monospace;
  unicode-bidi: isolate;
  white-space: pre;
  margin: 1rem 0rem;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: scroll;
  background-color: var(--color-side);
}


code {
  color: var(--color-text-code);
}


table, th, td {
  border: 1px solid red;
  border-collapse: collapse;
  padding: 0rem 1rem;
  text-align: left;
}


.obs {
  color: var(--color-blue)
}

.rust-play:hover {
  color: var(--color-maroon);
}


footer {
  margin: 0 auto;
  padding: 2rem 4rem 2rem 4rem;
  text-align: left;
  max-width:780px;
  font-weight: 100;
}
