* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  font-family: 'Courier New', monospace;
  background-color: #b8cce8;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 30px 16px 60px;
}
 
.page {
  width: 100%;
  max-width: 780px;
  background: rgba(180, 205, 235, 0.85);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 4px 40px rgba(80, 110, 160, 0.2);
}
 
/* ── HERO ── */
.hero {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
}
 
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
 
/* ── NAV ── */
nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 8px 14px;
}
 
nav a {
  display: inline-block;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(160, 180, 220, 0.6);
  border-radius: 999px;
  font-family: 'Space Mono', monospace;
  font-size: 0.82rem;
  color: #3a4a6a;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
 
nav a:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}
 
/* ── CONTENT GRID ── */
.content {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 14px;
}
 
/* ── CARD (shared) ── */
.card {
  background: rgba(240, 246, 255, 0.75);
  border-radius: 14px;
  padding: 22px 24px 28px;
  border: 1px solid rgba(180, 200, 235, 0.5);
  margin-bottom: 14px;
}
 
/* ── LEFT ── */
.left h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 14px;
}
 
.left p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 6px;
}
 
.left h2 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2a3a5a;
  margin: 10px 0 8px;
}
 
.divider {
  color: #4a5a7a;
  font-size: 0.75rem;
  margin: 10px 0 !important;
}
 
/* ── RIGHT ── */
.right h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a3a5a;
  margin-bottom: 12px;
}
 
.info-box {
  background: #2a3a5c;
  border-radius: 10px;
  padding: 14px 16px;
  color: #c8d8f0;
  font-size: 0.72rem;
  line-height: 1.9;
}
 
.info-box p {
  margin-bottom: 8px;
  color: #a8c0e8;
}
 
.info-box ul {
  list-style: none;
  padding: 0;
}
 
.info-box ul li::before {
  content: '• ';
  color: #7a9acc;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  background: rgba(122, 154, 204, 0.18);
  border: 1px solid rgba(122, 154, 204, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.72rem;
  color: #3a5a8a;
  white-space: nowrap;
}

.btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 22px;
  background: rgba(122, 154, 204, 0.2);
  border: 1.5px solid rgba(122, 154, 204, 0.5);
  border-radius: 999px;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  color: #2a3a5a;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  background: rgba(122, 154, 204, 0.4);
  transform: translateY(-2px);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.project-thumb img {
  width: 30%;
  height: 30%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.mail-link {
  color: #4a5a7a;
  text-decoration: none;
  border-bottom: 1px dashed #4a5a7a;
  transition: color 0.2s, border-color 0.2s;
}

.mail-link:hover {
  color: #2a3a5a;
  border-bottom-color: #2a3a5a;
}

 
/* ── MOBILE ── */
@media (max-width: 580px) {
  .content {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 180px;
  }
}
 