:root {
  --font-color-default: #1f2b42;
  --border-color: #b0c7d4;
  --background-color: #F8FAFC;
  --code-background-color: #F6F8FA;
  --monospace-font: 'Roboto Mono', monospace;
  --serif-font: Georgia, serif;
  --sans-serif-font: 'Figtree', system-ui, sans-serif;
  --navbar-color: #DAE6ED;
  --navbar-highlight-color: #B0C9D9;
  --link-color: #007acc;
  --navbar-link-color: #FA6B42;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--sans-serif-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--font-color-default);
}

h1 {
  font-weight: 700;
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shadow-effect {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.profile-pic {
  width: 80%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 500px) {
  .intro {
    flex-direction: row;
    margin: 0 2rem;
    align-items: center;
    margin-bottom: 1rem;
  }

  .profile-pic {
    margin: 1rem;
    width: 35%;
    max-width: 300px;
  }

  .intro-text {
    padding: 1rem;
    flex: 1;
  }
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

code {
  font-family: var(--monospace-font);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  color: #555;
  margin: 1.5rem 0;
  font-style: italic;
}

ul,
ol {
  padding-left: 1rem;
  list-style-position: inside;
}

main {
  max-width: 45em;
  margin: 2rem auto;
  padding: 0 20px;
}

article h1 {
  margin-bottom: 0.5em;
}

article h2 {
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

article h3 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

article p {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

article img,
video {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 1rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article img:hover,
video:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}



table {
  width: 100%;
  margin: 1rem auto;
  text-align: left;
  overflow: hidden;
  border: 2px sold black;
}

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

th {
  background-color: #f4f6f8;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
}

tr:nth-child(even) {
  background-color: #fafafa;
}

tr:hover {
  background-color: #f1f5f9;
}

td {
  border-bottom: 1px solid #eee;
}


.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
  transform: scale(1.03);
}

.grid-container {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid a {
  display: block;
}

.grid img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight>pre {
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 13px;
}

p code {
  color: #ccc;
  background-color: #272822;
  font-size: 13px;
}