* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ff9640;
  color: #222;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

#all-contents {
  max-width: 1500px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 40px;
}
main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.6fr);
  align-items: center;
  min-height: calc(100vh - 160px);
  gap: clamp(32px, 5vw, 80px);
}

.sidebar {
  width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
h2 {
  color: #000000; /* bright accent */
}

.content p {
  color: #000000;
}
#interests {
  margin-top: 32px;
  width: 100%;
}

#interests h3 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000000;
}

#interests ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#interests li {
  color: #000000;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  background: #ff9640;
  border: 1px solid #ff9640;
  border-radius: 100px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  cursor: default;
}

#interests li:hover {
  background: #9bbb43;
  color: #000000;
  border-color: #000;
  transform: translateY(-2px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}

nav h1 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000;
}

#nav-ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-li a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav-li a:hover {
  background: #000;
  color: #ff9640;
}
.sidebar-img {
  width: 100%;
  max-width: 760px;
  transition:
    filter 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
/* Portfolio styles */
.content h1 {
  color: black;
}

#portfolio {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#portfolio li {
  border-radius: 12px;
  overflow: hidden;
}

#portfolio a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #444;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

#portfolio a:hover {
  background: #000;
  color: #fff;
  transform: translateX(4px);
}

#portfolio a::after {
  content: "->";
  font-size: 0.85rem;
  opacity: 0.4;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}

#portfolio a:hover::after {
  opacity: 1;
}
