@font-face {
    font-family: 'HelveticaforTarget-Bold';
    src: url(./fonts/HelveticaforTarget-Bold.ttf);
}

:root {
  --nav-transition: 0.3s;
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --card-radius: 12px;
  --card-shadow: 0 6px 18px rgba(2,6,23,0.08);
  --accent: rgba(200,40,40,0.9);
  --nav-solid: #6b0000;
  --nav-blur: #8b0000d8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F0F;
    --text: #e6eef6;
    --muted: #9aa6b2;
    --card-bg: rgba(43, 0, 0, 0.6);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.6);
  }
}

body.light-mode {
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --card-shadow: 0 6px 18px rgba(2,6,23,0.08);
}

body.dark-mode {
  --bg: #0F0F0F;
  --text: #e6eef6;
  --muted: #9aa6b2;
  --card-bg: rgba(43, 0, 0, 0.6);
  --card-shadow: 0 10px 30px rgba(0,0,0,0.6);
}


html {
  font-size: clamp(14px, 1.2vw + 12px, 18px);
  scroll-behavior: smooth;
}

* {
  font-family: 'HelveticaforTarget-Bold', sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.35s ease, color 0.35s ease;
}


* {
  scrollbar-width: thin;
  scrollbar-color: rgba(139,0,0,0.75) transparent;
}


.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--nav-solid);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: background-color var(--nav-transition) ease, backdrop-filter var(--nav-transition) ease;
  backdrop-filter: none;
}

.navbar.scrolled {
  background-color: var(--nav-blur);
  backdrop-filter: blur(4px);
}

.spacer {
  height: 2rem;
}

.navbar a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 1.4rem;
  transition: opacity var(--nav-transition) ease;
}

.navbar-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar a:hover {
  opacity: 0.8;
}

.github_icon {
  width: 48px;
  height: 48px;
}

.github_icon img {
  width: 100%;
  height: 100%;
  filter: invert(1);
}


.quarter-background {
  background: linear-gradient(to bottom, var(--nav-solid), var(--accent));
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#header {
  max-width: 512px;
  width: 100%;
  height: auto;
  user-select: none;
}

.silent_text {
  opacity: 0.7;
  color: #f2f2f2;
  margin-top: 1rem;
}


.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}



h1 {
  text-align: center;
  margin: 2rem 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

p {
  margin: 0.5rem 0;
  color: var(--muted);
}


.project-card {
  background: var(--card-bg);
  color: var(--text);
  box-shadow: var(--card-shadow);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin: 2rem 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}

.project-card .imgcard {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.project-card .card-content {
  padding: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.25s ease;
  margin-top: 1rem;
}

.btn:hover {
  background: rgba(200,40,40,1);
}


.footer-card {
  background: linear-gradient(to bottom, var(--nav-solid), var(--accent));
  color: white;
  padding: 3rem 1rem;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.profilecard {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.25s ease;
}

.profilecard:hover {
  transform: scale(1.05);
}

.footer-card .card-content {
  text-align: left;
}

.footer-card h3,
.footer-card p {
  color: white;
}

.bruh {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid white;
  transition: opacity 0.25s ease;
}

.bruh:hover {
  opacity: 0.8;
}