/* portfolio.css - Updated sections only */
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

* {
  font-family: "Public Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Whole-page layout */
.wrapper {
  display: grid;
  grid-template-columns: 1.25fr 2.5fr 1.25fr; /* 1/5 – 3/5 – 1/5 */
}

/* Shared sidebar styling */
.sidebar {
  padding: 5rem;
}

h3.title {
  font-size: 1.65rem;
}

.nav_container {
  position: sticky;
  bottom: 0;
}

.footer_socials {
  display: flex;
  justify-content: right; /* Desktop: align right */
  align-items: center;
  position: sticky;
  bottom: 0;
  margin-top: 2rem;
}

div.footer_socials img {
  margin-left: 10px;
  width: 1.5rem;
  height: 1.5rem;
}

/* Sticky positioning – stays visible while scrolling */
.left,
.right {
  position: sticky;
  top: 0; /* stick to the top of the viewport */
  align-self: start; /* keep at the top of the grid cell */
}

.right nav ul li a {
  display: flex;
  justify-content: flex-end; /* Changed from 'right' to 'flex-end' */
}

/* Main content area */
h2 {
  font-size: 2rem;
  padding-top: 3rem;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: start;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 5rem;
}

.about-content {
  padding: 2rem;
}

.featured {
  display: flex;
}

/* Right sidebar navigation */
.nav ul {
  font-size: 1.5rem;
  font-weight: 300;
  list-style: none;
  padding-top: 2rem;
}

.nav li + li {
  margin-top: 0.75rem; /* spacing between links */
}

.nav a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
}

/* Simple hover effect */
.nav a:hover {
  color: rgb(255, 0, 212);
}

/* ---------- Feed container ---------- */
.feed {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
}

a {
  text-decoration: none;
}

/* ---------- Individual row ---------- */
.feed-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.item-wrapper {
  display: flex;
  flex-direction: row;
}

/* Thumbnail */
.thumb {
  border: 2px solid black;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  width: 250px;
  height: 200px;
  object-fit: cover; /* crop without distortion */
}

/* Text block on the right */
.info {
  padding: 0.75rem 1rem;
  /* width: 100%; */
  max-width: 300px;
}

/* Title */
.title {
  margin: 0;
  font-size: 1.75rem;
  color: #000000;
}

.title:hover {
  color: rgb(255, 0, 212);
}

blockquote {
  /* Keep to 200 characters? */
  color: #666;
  font-style: italic;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 85%;
}

.sidebar a h1 {
  font-size: 40px;
  font-weight: 500;
  text-decoration: none;
  color: transparent;
  background: linear-gradient(45deg, #d400ff, #0473ce, #a4ff3b);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  padding-top: 1.5rem;
  animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 50% 100%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* --------------------------------------------------------------
   About-page layout helpers (replace the inline styles)
   -------------------------------------------------------------- */
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 5rem;
}

.about-text {
  flex: 1 1 55%;
  font-size: 1rem;
  line-height: 135%;
}

.about-text-list-items {
  margin-top: 0.5rem;
}

.about-photo {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-photo img {
  max-width: 100%;
  min-width: 100px;
  height: auto;
}

.about-photo-mobile {
  display: none;
  text-align: center;
}

.about-photo-mobile img {
  max-width: 75%;
  height: auto;
  border-radius: 20%;
}

strong {
  font-weight: 800;
}

.first-sentence {
  font-weight: 800;
  width: 55%;
}

.about-text a {
  color: inherit;
  text-decoration: underline;
}

.about-text a:hover {
  color: rgb(255, 0, 212);
}
