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

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* ───────────────────────────────────────── */
/* Sidebar Menu                             */
/* ───────────────────────────────────────── */
#menu {
  display: flex;
  flex-direction: column;
  width: 15%;
  background-color: #111;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  justify-content: space-between;
  padding-top: 3rem;
}

.self-photo {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 3px solid grey;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
}

.self-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}

/* Center & bold sidebar nav links */
.menu-list {
  list-style: none;
  margin-top: 4rem;
  padding: 0;
}

.menu-list li {
  padding: 2rem 0;
}

.menu-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;      /* bold */
  text-align: center;    /* center */
}

.menu-list li:hover {
  background-color: #222;
}

/* center & enlarge sidebar social icons */
.icons {
  margin: 0;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.icons img {
  /* bump size up */
  width: 2.5rem;
  height: 2.5rem;
  /* force pure white */
  filter: brightness(0) invert(1);
}

/* ───────────────────────────────────────── */
/* Main Content                             */
/* ───────────────────────────────────────── */
.main-section {
  margin-left: 15%;
  padding: 3rem 5%;
}

/* hide that giant <img> if you had one at top */
.main-section > img {
  display: none;
}

/* Page Title */
.page-title h1 {
  font-size: 3.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #444;
  padding-bottom: 1rem;
}

/* ───────────────────────────────────────── */
/* Profile Header                           */
/* ───────────────────────────────────────── */
.about-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-me-image {
    width: 10%;
    height: 10%;
    border-radius: 50%;
    border: 5px solid #222;
    background-position: center;
    background-size: cover;
    margin: 10px 20px;
}

.about-me-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
}
#pfAboutName {
    color: whitesmoke;
    font-size: xx-large;
    font-weight: bold;
    margin-top: 20px;
}

#pfAboutTitle {
    color: whitesmoke;
    font-size: x-large;
    margin-top: 10px;
}

.about-description {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
}
/* ───────────────────────────────────────── */
/* Cards (About, Experience, Projects)       */
/* ───────────────────────────────────────── */
.about-section,
.experience-section,
.project {
  background-color: #111;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 8px rgba(255,255,255,0.05);
}

.about-section h2,
.experience-section h2,
.project-detail h2 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.about-section p,
.experience-section p,
.project-detail p {
  color: #ccc;
  font-size: 1.8rem;
  line-height: 1.7;
  margin-bottom: 0rem;
}

/* ───────────────────────────────────────── */
/* Links & Buttons                           */
/* ───────────────────────────────────────── */
a {
  color: #4dc0ff; 
  text-decoration: underline;
}

.contact-me a {
  display: inline-block;
  margin-bottom: 0rem; 
}

button,
#pfResume,
.project-image button {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover,
#pfResume:hover,
.project-image button:hover {
  background-color: #333;
}

/* ───────────────────────────────────────── */
/* Project Layout                            */
/* ───────────────────────────────────────── */
.project {
  display: flex;
  align-items: center;
}

.project-image {
  flex: 0 0 200px;
  margin-right: 3rem;
}

.project-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* make project links larger */
.project-detail a {
  font-size: 1.8rem;    
  font-weight: 500;    
  text-decoration: underline; 
  color: #4dc0ff;      
}

#pfProject2Site {
  font-size: 1.8rem;
  font-weight: 500;
}

/* ───────────────────────────────────────── */
/* Responsive                                */
/* ───────────────────────────────────────── */
@media (max-width: 768px) {
  #menu { width: 20%; }
  .main-section { margin-left: 20%; padding: 2rem; }
  .project { flex-direction: column; }
  .project-image { margin: 0 auto 2rem; }
}
