* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #0f1115;
  color: #eaeaea;
  line-height: 1.6;
}

a {
  color: #4da6ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #151822;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.subtitle {
  color: #b0b0b0;
  margin-top: 0.5rem;
}

.focus {
  max-width: 600px;
  margin: 1rem auto;
}

.links a {
  margin: 0 0.5rem;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1rem;
  border-bottom: 2px solid #2a2f45;
  padding-bottom: 0.5rem;
}

.project {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.project video,
.project img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

.project iframe {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.video-link img {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  cursor: pointer;
}

.video-link:hover img {
  opacity: 0.85;
}

.video-thumb {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}

.project-info {
  flex: 1;
  min-width: 280px;
}

.tech {
  color: #9aa4ff;
  font-size: 0.9rem;
}

.learned {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

ul {
  margin: 0.5rem 0 0.5rem 1.2rem;
}

.two-column {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #151822;
  color: #aaa;
}

/* TUTORIAL GRID */

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.tutorial-card {
  display: block;
  background: #151822;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.15s ease;
}

.tutorial-card:hover {
  transform: translateY(-4px);
}

.tutorial-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.tutorial-card h3 {
  margin-bottom: 0.4rem;
}

.tutorial-card p {
  font-size: 0.9rem;
  color: #b0b0b0;
}
