html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent
}

body {
  line-height: 1
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

nav ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold
}

del {
  text-decoration: line-through
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0
}

input,
select {
  vertical-align: middle
}

li {
  list-style: none
}

html,
body {
  width: 100%;
  height: 100%;
  background: #111;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
}

body {
  font: normal 85% Arial, Helvetica, sans-serif;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 135px 20px 20px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(200, 200, 200, 0.3);
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 200, 200, 0.5);
}

canvas {
  display: block;
  vertical-align: bottom;
}

.container {
  max-width: 900px;
  width: 100%;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.name-section {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.blog-link {
  font-style: italic;
  font-size: 18px;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.blog-link:hover {
  color: #bbbbbb;
}

.content-wrapper {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.profile-image {
  flex-shrink: 0;
  width: 200px;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.profile-image img:hover {
  transform: scale(1.05);
}

.profile-image img.shake {
  animation: shake-scale 0.6s ease-in-out;
}

@keyframes shake-scale {
  0% {
    transform: scale(1) rotate(0deg);
  }

  10% {
    transform: scale(1.1) rotate(-5deg);
  }

  20% {
    transform: scale(1.1) rotate(5deg);
  }

  30% {
    transform: scale(1.1) rotate(-5deg);
  }

  40% {
    transform: scale(1.1) rotate(5deg);
  }

  50% {
    transform: scale(1.1) rotate(-5deg);
  }

  60% {
    transform: scale(1.1) rotate(5deg);
  }

  70% {
    transform: scale(1.1) rotate(0deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

.text-content {
  flex: 1;
  min-width: 0;
}

h1 {
  margin-bottom: 24px;
  color: #bbbbbb;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
}

p {
  line-height: 1.8;
  color: #bbbbbb;
  margin-bottom: 20px;
  text-align: left;
  font-size: 18px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  font-size: 24px;
}

.social-icons a:hover {
  transform: scale(1.25);
}

.social-icons svg {
  width: 1em;
  height: 1em;
}

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}

/* ---- particles.js container ---- */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #141414;
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.magic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  color: inherit;
  padding: 0.1em 0.4em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s, border-color 0.2s;
  font-size: inherit;
  line-height: inherit;
}

.magic-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.025);
}

.magic-link-icon {
  width: 1em;
  height: 1em;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  display: inline-block;
  flex-shrink: 0;
}

.blog-section {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-title {
  font-size: 28px;
  color: #bbbbbb;
  margin-bottom: 32px;
  font-weight: 600;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-entry {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.blog-entry:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.blog-thumbnail {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.blog-content {
  flex: 1;
  min-width: 0;
}

.blog-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
  font-style: italic;
}

.blog-entry-title {
  font-size: 22px;
  margin-bottom: 12px;
}

.blog-entry-title a {
  color: #bbbbbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-entry-title a:hover {
  color: #ffffff;
}

.blog-excerpt {
  font-size: 16px;
  color: #999;
  line-height: 1.6;
  margin: 0;
}

.blog-post-content li {
  margin-bottom: 8px;
  list-style: inherit;
  /* take disc from the parent ul, overriding the reset */
}

.blog-post-content table {
  width: 100%;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.blog-post-content th,
.blog-post-content td {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.blog-post-content th {
  background: rgba(255, 255, 255, 0.06);
  color: #dddddd;
  font-weight: 600;
}

.blog-post-content tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.blog-post-content caption {
  caption-side: bottom;
  padding-top: 8px;
  font-size: smaller;
  font-style: italic;
  color: #888;
}