body {
  background: #ffa1db;
  color: rgb(45, 45, 45);
  padding: 10px;
  font-family: Arial, sans-serif;
}

#all-contents {
  max-width: 800px;
  margin: auto;
}

/* navigation menu */
nav {
  background: hsl(59, 100%, 89%);
  margin: 0 auto;
  display: flex;
  padding: 10px;
}

h1 {
  display: flex;
  align-items: center;
  color: white;
  flex: 1;
  margin: 0;
}

.portfolio-title {
  display: inline-block;
  padding: 0 4px;
  color: white;
  background: transparent;
  /* primary technique for WebKit/Blink (slimmer) */
  -webkit-text-stroke: 1px hsl(189, 100%, 81%);
  /* layered text-shadow fallback for broader support (tighter) */
  text-shadow:
    -1px -1px 0 hsl(189, 100%, 81%),
    1px -1px 0 hsl(189, 100%, 81%),
    -1px 1px 0 hsl(189, 100%, 81%),
    1px 1px 0 hsl(189, 100%, 81%);
  border-radius: 4px;
}
#nav-ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  color: hsl(189, 100%, 81%);
}

#nav-ul a {
  color: #9ef0ff;
}

#nav-ul a[href="portfolio.html"] {
  color: hsl(189, 100%, 81%);
}

.nav-li {
  display: inline-block;
  padding: 0 10px;
}

a {
  text-decoration: none;
  color: #fff;
}

/* main container area beneath menu */
main {
  background: #fffec7;
  display: flex;
  gap: 24px;
  align-items: center; /* vertically center content beside image */
  margin-top: 20px;
  padding: 12px 16px;
}

.sidebar {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
}

.sidebar-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 50%;
  border: 5px solid hsl(0, 0%, 100%);
  display: block;
}

.content {
  flex: 1;
  padding: 8px 15px;
}

/* responsive: stack on small screens */
@media (max-width: 800px) {
  main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border:1px solid #ffa1db ;
    border-radius: 10%;
  }
  .sidebar {
    flex-basis: auto;
    width: 100%;
  }
  .content {
    width: 100%;
  }
}

#content h1,
#portfolio a {
  color: hsl(189, 100%, 81%);
}

.student {
  color: white;
  /* primary technique */
  -webkit-text-stroke: .1px hsl(189, 100%, 81%);
  /* layered text-shadow fallback for broader support */
  text-shadow:
    -1px -1px 0 hsl(189, 100%, 81%),
     1px -1px 0 hsl(189, 100%, 81%),
    -1px  1px 0 hsl(189, 100%, 81%),
     1px  1px 0 hsl(189, 100%, 81%);
}

/* interests section styles */
#interests {
  border: 4px solid #9ef0ff;
  padding: 8px;
  margin-top: 20px;
  border-radius: 10%;
}

/* outlined style for Interests heading and list items (matches .portfolio-title) */
#interests h3,
#interests li {
  color: white;
  /* primary technique */
  -webkit-text-stroke: .1px hsl(189, 100%, 81%);
  /* layered text-shadow fallback for broader support */
  text-shadow:
    -1px -1px 0 hsl(189, 100%, 81%),
     1px -1px 0 hsl(189, 100%, 81%),
    -1px  1px 0 hsl(189, 100%, 81%),
     1px  1px 0 hsl(189, 100%, 81%);
}

h2,
h3 {
  color: #9ef0ff;
  margin: 0px;
}
