* {
  box-sizing: border-box;
}

body {
  margin: 0;
background: #009150;
  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: black;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.hammy{
  color: #dad7cd;
  font-style: italic;
  font-family: Lucida Handwriting;
  line-height: 0.6;
}

#interests {
  margin-top: 65px;
  width: 100%;
}

#interests h3 {
  margin: 0 0 21px;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: white;
}

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

#interests li {
  color: #dad7cd;
  font-size: 1rem;
  font-weight: 800;
  padding: 10px 20px;
  background: #dad7cd;
  border: 1px solid #dad7cd;
  border-radius: 150px;
  transition:
    background 0.5s ease,
    color .5s ease,
    transform .5s ease;
  cursor: help;
}

#interests li:hover {
  background: #092328;
  color: #dad7cd;
  border-color: green;
  transform: translateY(4px);
}

.sidebar-img {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 5.5/7.5;
  object-fit: cover;
  display: block;
  border-radius: 30px;
  filter: grayscale(90%);
  box-shadow: 0 30px 40px green;
  transition:
    filter 1s ease,
    transform 1s ease,
    box-shadow 1s ease;
}

.sidebar-img:hover {
  filter: grayscale(0%);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px #74c69d;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding: 15px 60px;
  position: relative;
  background: rgba(255, 255, 255, 0.144);
  backdrop-filter: blur(2px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), 
              inset 0 4px 20px rgba(255, 255, 255, 0.3);
}

nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(1px);
  box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, 1),
              inset 0px -9px 0px -8px rgba(255, 255, 255, 1);
  opacity: 1;
  z-index: -1;
  filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%);
}

nav h1 {
  margin: 10;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
}

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

.nav-li a {
  color: #363636;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 8px;
  transition:
    background 0.25s ease,
    color 0.35s ease;
}

.nav-li a:hover {
  backdrop-filter: blur(2px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), 
              inset 0 4px 20px rgba(255, 255, 255, 0.3);
}

a{
  text-decoration: None;
  color: black
}

/* 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;
}