/* box-sizing reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* font stack per os */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
               Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.5;
}

/* smooth scroll */
html {
  scroll-behavior: smooth;
}

/* keyframe fade-in effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* nav bar */
nav {
  position: sticky;  
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eaeaea;
}

nav .logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #0071e3;
  background-color: #f0f0f0;
}

/* container for body */
.container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

/* hero styling */
header.hero {
  background: linear-gradient(to bottom right, #fafafa, #f0f0f0);
  padding: 3rem 1rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-out forwards;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

header.hero h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1d1d1f;
}

header.hero p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: #555555;
  line-height: 1.6;
}

/* propic */
.photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eaeaea;
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto 1rem auto;
}

.photo:hover {
  transform: scale(1.05);
}

/* external link button */
.hero .el-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  background-color: #0071e3;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
}

.hero .el-button:hover {
  background-color: #005bb5;
}

/* section heading + small accent line */
section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  position: relative;
  color: #333333;
}

section h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0071e3;
  margin-top: 0.5rem;
}

/* paragraph styling */
p {
  margin-bottom: 1.25rem;
}

/* info-embed container */
.info-embed {
  width: 100%;
  min-height: 200px;
  background-color: #f5f5f7;
  box-shadow: inset 0 0 0 1px #eaeaea;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  padding: 1rem;
  overflow: auto;
  white-space: pre-wrap;
  color: #333;
  line-height: 1.4;
  font-size: 0.95rem;
}

/* code block styling */
pre {
  background-color: #f5f5f7;
  padding: 1rem;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* extra content list styling */
#extras ul {
  margin: 1rem 0 1rem 1.25rem;
  list-style: disc;
}

/* footer styling */
footer {
  text-align: center;
  font-size: 0.875rem;
  color: #777777;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* responsivity tweaks */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  header.hero {
    padding: 2rem 1rem;
  }
  header.hero h1 {
    font-size: 1.8rem;
  }
  .photo {
    width: 100px;
    height: 100px;
  }
}

    /* Styling for the forensic image */
.forensic-image {
      display: block;
      max-width: 100%;
      height: auto;
      margin: 20px auto;
      border-radius: 8px;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}