:root {
  --glass-bg: rgba(255, 255, 255, 0.85);
  --text-main: #2c3e50;
  --accent: #3498db;
  --border: rgba(255, 255, 255, 0.2);
  --sidebar-width: 260px; }

* {
  font-family: "Karla", sans-serif;
  /* Back to Karla */ }

body {
  background: url(../images/background.jpg) no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  color: var(--text-main);
  display: flex;
  justify-content: center; }

.wrapper {
  display: flex;
  max-width: 1150px;
  width: 100%;
  margin: 50px 20px;
  gap: 40px; }

aside {
  width: var(--sidebar-width);
  flex-shrink: 0;
  height: fit-content;
  position: sticky;
  top: 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center; }
  aside .profile-img {
    /* Reducing from 180px to 160px often fixes the "too big" feeling */
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 10%;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px; }
  aside h2 {
    margin: 10px 0 5px 0;
    font-size: 1.4rem; }
  aside .sidebar-links {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    text-align: left; }
    aside .sidebar-links li {
      margin-bottom: 15px;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 12px; }
      aside .sidebar-links li a {
        text-decoration: none;
        color: var(--text-main); }
        aside .sidebar-links li a:hover {
          color: var(--accent); }
      aside .sidebar-links li i {
        color: var(--accent);
        width: 20px;
        text-align: center; }

main {
  flex-grow: 1;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: 12px;
  border: 1px solid var(--border); }

.pub-card {
  position: relative;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  border-left: 5px solid var(--accent);
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease; }
  .pub-card:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(5px); }
  .pub-card .pub-link {
    text-decoration: none;
    color: var(--text-main); }
    .pub-card .pub-link, .pub-card .pub-link:visited, .pub-card .pub-link:link {
      color: var(--text-main); }
    .pub-card .pub-link:hover {
      text-decoration: underline; }
    .pub-card .pub-link::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 1; }
  .pub-card .status-tag {
    float: right;
    font-size: 0.65rem;
    background: #d1ecf1;
    color: #0c5460;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 10px;
    line-height: 1.5;
    position: relative;
    z-index: 2; }

@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
    margin: 10px;
    /* This controls the outer "gap" from the phone edge */
    gap: 15px;
    /* Vertical space between the sidebar and bio */
    width: calc(100% - 20px);
    /* Ensures it fits perfectly within the screen */ }

  aside, main {
    width: 100% !important;
    /* Force both to take the full available width */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 25px 20px;
    /* Unified internal spacing */
    border-radius: 12px;
    /* Matching rounded corners for both boxes */
    box-sizing: border-box;
    /* Critical: includes padding in the 100% width */ }

  aside {
    position: static;
    /* Ensures sidebar scrolls with the page */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Keeps your photo/icons centered on mobile */
    text-align: center; }

  .profile-img {
    width: 120px;
    /* Smaller for mobile to allow more bio text visibility */
    height: 120px; } }

/*# sourceMappingURL=style.css.map */
