/* -------------------------------------
   COLOR PALETTE
-------------------------------------- */
:root {
  --brand-500: #42619E;      /* Baltic Blue */

  --neutral-900: #363130;    /* Graphite Dark */
  --neutral-700: #413B3A;    /* Graphite Medium */
  --neutral-200: #D2CBC5;    /* Dust Grey */
  --neutral-50:  #F4F3EE;    /* Parchment */

  /* Semantic */
  --color-bg: var(--neutral-50);
  --color-text: var(--neutral-900);
  --color-text-subtle: var(--neutral-700);
  --color-accent: var(--brand-500);
}

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

html, body {
  height: 100%;
}

/* -------------------------------------
   BASE TYPOGRAPHY
-------------------------------------- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Libre Baskerville", serif;
  line-height: 1.3;
}

p {
  color: var(--color-text);
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  line-height: 1.75;
  
}

h1 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  color: var(--color-text);
  font-size: clamp(3rem, 10vw, 6rem);
  
}
h2 {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  color: var(--color-text);
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

h3 {
  font-family: "Libre Baskerville", serif;
  font-weight: 600;
  color: var(--color-text);
  font-size: clamp(1rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  font-weight: inherit;
}

a:hover {
  opacity: 0.75;
}

/* -------------------------------------
   LAYOUT
-------------------------------------- */


.page {
  min-height: 50vw;
  display: grid;
  grid-template-columns: 2.8fr 2.2fr;
  padding: 3rem 4vw;
  z-index: 1;
}

.bg-image {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
/* subtle abstract background */
/* Dynamic background container */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}


/* -------------------------------------
   LEFT SIDE (NAME + SUBTITLE + AGE)
-------------------------------------- */
.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3vw;/* pulls group a bit to the left */
  padding-bottom: 4vw

}

.left-main {
  margin-top: 1rem;
}

.name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.02;
  margin-bottom: 1.2rem;
}

/* MARCEL */
.first-name {
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Rzemieniecki */
.last-name {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  margin-top: 0.35rem;
}

/* Student Developer */
.subtitle {
  font-size: 10 rem;
}

/* 16 y.o at bottom left */
.age {
  font-size: 10 rem;
}

/* -------------------------------------
   RIGHT SIDE (MENU)
-------------------------------------- */
.right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 4vw
}

.nav-list {
  list-style: none;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.3vw, 3rem);
  padding-left: 5vw;
}

.nav-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-list li::before {
  content: "•";
  font-size: 1.6rem;
  color: var(--color-text);
}

#about-me {
  grid-column: 1 / -1;
   /* beige tone */

}

.about-me-text {
  letter-spacing: 0.01em;
  max-width: 70ch;        /* optimal reading width */
  margin-bottom: 1.5rem;  
}

.section {
  border-top: 3px solid var(--neutral-200);
  padding-top: 6vw;
  padding-bottom: 10vw;
  padding-left: 6vw;
  padding-right: 6vw;
}

.Project {
    margin-top:6vw;
    margin-bottom: 6vw;
    padding:2vw;
    border: 2px solid var(--neutral-200);
    border-radius: 10px;
}

.project-image {
    width: 100%;
}



/* -------------------------------------
   RESPONSIVE
-------------------------------------- */
@media (max-width: 900px) {
  .page {
    grid-template-columns: 1fr;
    padding: 2.2rem 6vw 2.5rem;
    row-gap: 1rem;
  }

.left {
  display: flex;
}


  .right {
    justify-content: flex-start;
  }
}

@media (max-width: 550px) {
  .first-name {
    letter-spacing: 0.1em;
  }

  .nav-list {
    font-size: 1.3rem;
  }
}
