:root {
    --sidebar-width: 320px;
    --rule: 3px;
    --page-max-width: 72rem;
    --font-display: "Pangolin", cursive;
    --font-body: "Roboto Mono", monospace;
    --text-fav: #ff5e00;
    --border: #ff3200;
    --surface: #2C4E30;
    --text-muted: #ff924c;
    --bg-color: #ffffff;
    --text-color: #000000;
    --surface-light: #EBF4E3;
    
}


* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  cursor: url('https://lazyalien.neocities.org/images/alien-cursor.png'), default;
}

body {
  background-color: var(--bg-color);
  background-image:url('/images/pattern-ronces.png');
  background-size: 150px;
  min-height: 100vh; 
  color: var(--text-color);
  /*transition: background-color 0.3s ease, color 0.3s ease;*/
  font-family: var(--font-body);
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}


a {
  color: var(--text-color);
  text-decoration: underline;
}

a:hover {
  color: var(--bg-color);
  background: var(--text-color);
}

::-webkit-scrollbar {
  width: 10px;
}

/* Layout */

.layout {
  display: flex;
  max-width: var(--page-max-width);
  margin: 2rem auto;
  min-height: calc(100vh - 4rem);
  /*background: var(--surface);*/
  gap: 15px;
}
  
.main {
  flex: 1 1 auto;
  min-width: 0; 
}

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--bg-color);
}

.subtitle {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: flex-start;
  flex: 0 0 var(--sidebar-width);
  width: var(--sidebar-width);
  overflow-y: auto;
  padding: 1rem 1.5rem;
  background-color: var(--surface);
  border-radius: 10px;
  border: var(--rule) solid var(--text-color);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*border-bottom: var(--rule) solid var(--border);*/
  padding-bottom: 14px;
  margin-bottom: 14px;
}

/* -------------------------------------------------------------- *
 * menu
 * -------------------------------------------------------------- */

.menu {
  display: grid;
  gap: 5px;
}

.menu-link {
  border: var(--rule) solid var(--text-color);
  background-color: var(--bg-color);
  text-decoration: none;
  padding: 3px 6px;
  display: inline-block;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.3;
  border-radius: 6px;
  font-weight: bold;
}

.menu-link:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.menu-link.active {
  background-color: var(--surface);
  border: var(--rule) solid var(--bg-color);
  color: var(--bg-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 34px;
  height: 30px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* -------------------------------------------------------------- *
 * 
 * -------------------------------------------------------------- */

.content-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(120px, auto);
  grid-auto-flow: dense;
  gap: 10px;
}

.card {
  border: var(--rule) solid var(--text-color);
  border-radius: 10px;
  padding: 2.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card--span12 {
  grid-column: 1 / -1;
  background-color: var(--surface-light);
}

.card--span8 {
  grid-column: span 4;
  background-color: var(--surface-light);
}

.card--span4 {
  grid-column: span 2;
  background-color: var(--bg-color);
}

.card--tall {
  grid-row: span 2;
}


.card p {
  margin: 0;
}

.card ul {
  margin: 0;
  padding: 0;
  list-style: square;
}

.card ul li {
  padding: 6px 0;
  /*border-bottom: 1px solid var(--border);*/
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul a {
  text-decoration: underline;
}

.card ul a:hover {
  text-decoration: underline;
}

.card .button {
  align-self: flex-start;
  /*border: 1px solid var(--border);*/
  background: var(--surface);
  color: var(--text-color);
  text-decoration: none;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card .button:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

.card-title {
  font-family: "Pangolin";
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  margin: 0;
}

.page-title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.title-deco {
  font-family: "Pangolin";
  font-weight: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-columns > div {
  flex: 1 1 220px;
}

.about-columns h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-columns ul li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.about-columns ul li:last-child {
  border-bottom: none;
}

.card-header {
  display: flex;
  align-items: baseline;
  color: var(--surface);
  gap: 1rem;
  font-family: monospace;
}

.card-header b {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 16px;
}

.card-header small {
  color: var(--text-muted);
  text-transform: lowercase;
  white-space: nowrap;
}

.card .button {
  align-self: flex-start;
  /*border: 1px solid var(--border);*/
  background: var(--surface);
  color: var(--text-color);
  text-decoration: none;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.card .button:hover {
  background: var(--text-color);
  color: var(--bg-color);
}


/*--------------------------------------------------------------*/

.card ul li.indent,
.box ul li.indent {
  padding-left: 1.5rem;
  font-size: 12px;
  color: var(--text-muted);
}

.card ul li.indent::before,
.box ul li.indent::before {
  content: "â†³ ";
}

.card ul li s,
.box ul li s {
  color: var(--text-muted);
}


