* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-image: url(https://tse4.mm.bing.net/th/id/OIP.LLKlwkmovHDub3lkT85bWAHaE8?r=0&o=7rm=3&rs=1&pid=ImgDetMain&o=7&rm=3);
  background-size:cover;
  
  color: #222;
  font-family: "Comic Sans MS", 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: #00ffd5;
}

.content > p {
  margin: 0;
  color: #00ffdd;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4;
}
#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: #0baff0;
}

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

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

#interests li:hover {
  background: #37e60b;
  color: #03fcef;
  border-color: #07aaeb;
  transform: translateY(-2px);
}
.sidebar-img {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgb(2, 48, 248);
  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: #2d09f7;
  border: 1px solid #5fec0d;
  border-radius: 12px;
}

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

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

.nav-li a {
  color: #06f1aa;
  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: #0af129;
  color: #0560e9;
}
nav {
  background: #1156eb;
  border-color: #05ec37;
}

nav h1 {
  color: #01f870;
}

.nav-li a {
  color: #06f141;
}

.nav-li a:hover {
  background: #0e5df1;
  color: #fff;
}
/* Portfolio styles */
.content h1 {
  color: rgb(18, 243, 11);
}

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

#portfolio a:hover {
  background: #0529f5;
  color: #36f706;
  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;
}