/* --- Solarized Light Color Palette --- */
:root {
  --base03:    #002b36;
  --base02:    #073642;
  --base01:    #586e75;
  --base00:    #657b83;
  --base0:     #839496;
  --base1:     #93a1a1;
  --base2:     #eee8d5;
  --base3:     #fdf6e3;
  --yellow:    #b58900;
  --orange:    #cb4b16;
  --red:       #dc322f;
  --magenta:   #d33682;
  --violet:    #6c71c4;
  --blue:      #268bd2;
  --cyan:      #2aa198;
  --green:     #859900;
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- General Body & Typography --- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--base01);
  background-color: var(--base3);
  line-height: 1.6;
  margin: 0;
  padding: 2rem;
}

/* --- Main Layout Container --- */
#content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1000px;
  margin: 2rem auto;
}

/* --- Column Containers --- */
.outline-2 {
  padding: 2rem;
  background-color: var(--base2);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(7, 54, 66, 0.07);
}

#outline-container-about-section {
  flex: 1 1 250px;
  order: -1;
  text-align: center;
}

#outline-container-posts-section {
  flex: 2 1 500px;
}

/* --- Typography and Heading Styles --- */
h2 {
  font-size: 1.8rem;
  color: var(--base03);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* --- Unified Link Styling --- */
a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

h3 a {
  color: var(--base01);
}

h3 a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--blue);
}

.outline-text-3 p {
  font-size: 0.95rem;
  color: var(--base00);
  margin-top: 0.5rem;
}

i {
  color: var(--base1);
  font-style: normal;
  font-size: 0.9rem;
}

/* --- Post Item Spacing Only --- */
.outline-3 + .outline-3 {
  margin-top: 2.5rem;
}

/* --- Profile Picture Styling --- */
.profile-pic {
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid var(--base3);
  box-shadow: 0 2px 6px rgba(7, 54, 66, 0.1);
}

/* --- Connect Section Links --- */
#outline-container-about-section .connect-list {
  list-style-type: none;
  padding: 0;
  margin-top: .25rem;
  display: inline-block;
  text-align: left;
}

#outline-container-about-section .connect-list li {
  margin-bottom: 0.75rem;
}


/* --- Connect Section Links (List Styling) --- */
#outline-container-about-section .connect-list {
  list-style-type: none;
  padding: 0;
  margin-top: 1rem;
  display: flex; /* Use flexbox to align items horizontally */
  justify-content: center; /* Center the icons */
}

#outline-container-about-section .connect-list li {
  margin: 0 15px; /* Spacing between icons */
}

/* --- New Circular Link Styling --- */
#outline-container-about-section .connect-list a {
  position: relative; 
  display: block;
  width: 60px;
  height: 60px;
  text-align: center;
  line-height: 60px; /* Vertically centers the icon/text */
  background: var(--base2);
  border-radius: 50%;
  font-size: 24px; /* Adjusted for better fit */
  color: var(--base01);
  transition: .5s;
}

/* --- Style for Images Inside Links --- */
#outline-container-about-section .connect-list a img {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* Make the image circular to match the link */
  object-fit: cover;    /* Ensures the image fills the space without distortion */
}

/* --- The Glowing Background Element --- */
#outline-container-about-section .connect-list a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--yellow);
  transition: .5s;
  transform: scale(.9);
  z-index: -1;
}

/* --- Hover Effects --- */
#outline-container-about-section .connect-list a:hover::before {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--yellow);
}

#outline-container-about-section .connect-list a:hover {
  color: var(--yellow);
  box-shadow: 0 0 5px var(--yellow);
  text-shadow: 0 0 5px var(--yellow);
}



/* --- Responsive Adjustments for Smaller Screens --- */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  #content {
    gap: 1.5rem;
    margin: 1rem auto;
  }

  .outline-2 {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}
