* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ccf4cc;
  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 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000;
}

.content > p {
  margin: 0;
  color: #1886e0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

h2 {
  color: #e91111; /* bright accent */
}

.content p {
  color: #e91111;
}

#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: #0f7c01;
}

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

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

#interests li:hover {
  background: #04d3f8;
  color: #fc0000;
  border-color: #6b09bb;
  transform: translateY(-2px);
}

body {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQAClqGDDbi0ZZ-FIMaTufb0aNmdemwZpIjdRXpw7_ikX9yvpIFS7LSAys:https://i.pinimg.com/originals/c7/51/d1/c751d1fe7c5279ba03a318f33af80371.gif&s=10");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-size: 100% 100%;
}

.sidebar-img {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  filter: grayscale(100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition:
    filter 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.sidebar-img:hover {
  filter: grayscale(0%);
  transform: translateY (-4px);
  box-shadow: 0 16px 40px rgba (0, 0, 0, 0.18);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding: 16px 24px;
  background: #eb37fc;
  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: #09f309;
}

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

.nav-li a {
  color: #09f309;
  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: #f30909;
}
.content h1 {
  color: rgb(233, 7, 7);
}

#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: #e6dbdb;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  background: #ada4a4;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

#portfolio a:hover {
  background: #e91818;
  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;
}
