/* catppuccin mocha variables */
:root {
  --ctp-mocha-rosewater: #f5e0dc;
  --ctp-mocha-flamingo: #f2cdcd;
  --ctp-mocha-pink: #f5c2e7;
  --ctp-mocha-mauve: #cba6f7;
  --ctp-mocha-red: #f38ba8;
  --ctp-mocha-maroon: #eba0ac;
  --ctp-mocha-peach: #fab387;
  --ctp-mocha-yellow: #f9e2af;
  --ctp-mocha-green: #a6e3a1;
  --ctp-mocha-teal: #94e2d5;
  --ctp-mocha-sky: #89dceb;
  --ctp-mocha-sapphire: #74c7ec;
  --ctp-mocha-blue: #89b4fa;
  --ctp-mocha-lavender: #b4befe;
  --ctp-mocha-text: #cdd6f4;
  --ctp-mocha-subtext1: #bac2de;
  --ctp-mocha-subtext0: #a6adc8;
  --ctp-mocha-overlay2: #9399b2;
  --ctp-mocha-overlay1: #7f849c;
  --ctp-mocha-overlay0: #6c7086;
  --ctp-mocha-surface2: #585b70;
  --ctp-mocha-surface1: #45475a;
  --ctp-mocha-surface0: #313244;
  --ctp-mocha-base: #1e1e2e;
  --ctp-mocha-mantle: #181825;
  --ctp-mocha-crust: #11111b;
}

body {
  font-family: "Roboto Mono", sans-serif;
  font-optical-sizing: auto;
  background-color: var(--ctp-mocha-base);
  color: var(--ctp-mocha-text);
  margin: 50px 20px;
  line-height: 1.2;
  font-size: 16px;
}

container {
  display: flex;
  justify-content: center;
  align-items: column;
}

content {
  max-width: 800px;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

/* Typography - Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ctp-mocha-text);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.75em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5em;
  color: var(--ctp-mocha-rosewater);
  margin-top: 0;
  margin-bottom: 0.5em;
  border-bottom: 2px solid var(--ctp-mocha-surface2);
  padding-bottom: 0.3em;
}

h2 {
  font-size: 2em;
  color: var(--ctp-mocha-mauve);
  margin-top: 1.5em;
  padding-bottom: 0.25em;
}

h3 {
  font-size: 1.5em;
  color: var(--ctp-mocha-blue);
}

h4 {
  font-size: 1.25em;
  color: var(--ctp-mocha-sapphire);
}

h5 {
  font-size: 1.1em;
  color: var(--ctp-mocha-teal);
}

h6 {
  font-size: 1em;
  color: var(--ctp-mocha-green);
  font-weight: 500;
}

/* Links */
a {
  color: var(--ctp-mocha-lavender);
  text-decoration: none;
}

a:hover {
  color: var(--ctp-mocha-mauve);
}

a:visited {
  color: var(--ctp-mocha-blue);
}

a:visited:hover {
  color: var(--ctp-mocha-sapphire);
}

/* Lists */
ul,
ol {
  padding-left: 2em;
}

ul li,
ol li {
  line-height: 1.7;
  color: var(--ctp-mocha-text);
}

ul li::marker {
  color: var(--ctp-mocha-mauve);
  font-size: 1.2em;
}

ol li::marker {
  color: var(--ctp-mocha-blue);
  font-weight: 600;
}

ul ul,
ol ol,
ul ol,
ol ul {
  margin: 0.5em 0;
}

ul ul li::marker {
  color: var(--ctp-mocha-lavender);
  font-size: 1em;
}

/* Paragraphs */
p {
  margin: 1.25em 0;
  line-height: 1.7;
}

/* Code blocks */
code {
  background-color: var(--ctp-mocha-surface0);
  color: var(--ctp-mocha-pink);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.9em;
  border: 1px solid var(--ctp-mocha-surface2);
}

pre>code {
  display: block;
  background-color: var(--ctp-mocha-surface0);
  font-family: "Roboto Mono", monospace;
  font-size: 0.9em;
  padding: 6px;
  overflow-x: scroll;
}

.leader-mug:hover {
  border-bottom: 0px;
}

.leader-mug:visited {
  border-bottom: 0px;
}

.leader-mug:visited:hover {
  border-bottom: 0px;
}

.leader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.leader-mug {
  display: block;
  max-width: 80px;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.leader-details {
  display: flex;
  align-items: center;
}

.leader-github {
  width: 30px;
  border-radius: 1000px;
  overflow: hidden;
  margin-left: 10px;
}

.post {
  border: 1px solid var(--ctp-mocha-pink);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

.post-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 5px;
}

.post-title {
  font-size: 1.4em;
  font-weight: bold;
}

.post-date {
  opacity: 0.4;
}

.post-desc {
  padding: 10px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background-color: var(--ctp-mocha-mantle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

thead {
  background-color: var(--ctp-mocha-surface0);
}

th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--ctp-mocha-mauve);
  border-bottom: 2px solid var(--ctp-mocha-surface2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9em;
}

td {
  padding: 10px 16px;
  color: var(--ctp-mocha-text);
  border-bottom: 1px solid var(--ctp-mocha-surface1);
}

tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: var(--ctp-mocha-surface0);
}

tbody tr:nth-child(even) {
  background-color: var(--ctp-mocha-base);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Table alignment variations */
th[align="right"],
td[align="right"] {
  text-align: right;
}

th[align="center"],
td[align="center"] {
  text-align: center;
}

/* Responsive tables */
@media (max-width: 768px) {
  table {
    font-size: 0.9em;
  }

  th,
  td {
    padding: 8px 12px;
  }
}