/* I promise this isnt AI im just that good at CSS B) (*cries in navbars and minimum-wage employment*) */

/* For that sexy smooth theme colour transition on all elements */
* {
  transition: 0.3s;
}

:root {
  font-family: sans-serif;

  --bg-primary: #ffffff;
  --bg-secondary: #eeeff0;
  --bg-tertiary: #dcdfe3;
  --bg-quaternary: #d0d4d8;

  --text-primary: #1a1a1a;
  --text-secondary: #696b6d;

  --shadow: #0000001a;

  --code-border: #888888;
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Helper button classes */
.clickable {
  background-color: var(--bg-secondary);
  transition: 0.07s;
  border-radius: 8px;
}

.clickable:hover {
  background-color: var(--bg-tertiary);
}

.clickable:active {
  background-color: var(--bg-quaternary);
}


/*

<navbar>

*/

/* Change the left spacer's width to match that of the right theme toggle */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
  padding: 12px;
  box-shadow: 0 4px 12px var(--shadow)
}

nav > h2 {
  font-family: "Climate Crisis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  /* Centering */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* Theme toggler */
button, svg {
  background-color: none;
}

#theme-toggle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* gap wasnt behaving itself today */
.theme-option {
  border: none;
  width: 48px;
  height: 48px;
  margin-left: 12px;
}

/* Temporary solution, add a drop-down menu you lazy bum */
#redirect {
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding: 0px 14px;
  font-size: large;
  font-weight: bold;
}

/*

</navbar>
<note-holder>

*/


/* Note holder */
#note-holder {
  display: flex;
  align-items: stretch;
  flex-direction: column-reverse;
  max-width: max(1080px, 75vw);
  margin: 0 auto;
  margin-top: 72px;

  padding: 24px;
  gap: 36px;
}

/* Note content */
.note-text {
  font-family: monospace;
}