/* Jesslair Profile Stylesheet */

/* Load your custom font file */
@font-face {
  font-family: '6809 Chargen';
  src: url('fonts/6809chargen.otf') format('truetype');
}

body {
  background-color: #FFFFFF;
  /* Force the whole page to use the new font */
  font-family: '6809 Chargen', monospace;
  font-size: 14px; /* Bumped up slightly from 13px because pixel fonts run small */
  color: #000000;
  margin: 0;
  padding: 0;
  /* A tiny blur shadow to make it feel like a glowing old monitor */
  text-shadow: 0px 0px 1px rgba(0,0,0,0.3);
}

a {
  color: #0000FF;
  text-decoration: none;
}

a:hover {
  color: #FF0000;
  text-decoration: underline;
}

/* Updated layout grid: Left Sidebar + Content + Right Sidebar */
.page-layout {
  display: grid;
  grid-template-columns: 160px 1fr 175px;
  min-height: 100vh;
}

.sidebar-left {
  background-color: #E0E0FF;
  border-right: 2px solid #0000A0;
  padding: 10px;
}

.sidebar-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: bold;
}

.sidebar-menu a {
  display: block;
  padding: 2px;
}

.sidebar-menu a:hover {
  background-color: #D0D0F0;
  text-decoration: none;
  color: #0000A0;
}

.sidebar-right {
  background-image: url('images/sidebar_blocky_clouds.png');
  background-repeat: repeat-y;
  border-left: 2px solid #0000A0;
}

.content {
  padding: 20px;
  max-width: 650px;
  margin: 0 auto;
}

.header-area {
  display: flex;
  align-items: flex-start; /* Aligns the image and text to the top */
  gap: 20px;
  margin-bottom: 25px;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border: 1px solid #000000;
  display: block;
}

.header-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.user-header {
  margin-bottom: 25px;
}

.username-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
  font-size: 18px;
}

.username-line img {
  width: 16px; /* Typical size for the classic LJ user icon */
  height: 16px;
  image-rendering: pixelated;
}

.username-text {
  color: #0088CC;
}

.main-title {
  font-family: '6809 Chargen', monospace;
  font-size: 36px;
  font-weight: bold;
  color: #333333;
  margin-top: 15px;
  margin-bottom: 0;
  line-height: 1.1;
}

.subtitle {
  font-family: '6809 Chargen', monospace;
  font-size: 14px;
  color: #555555;
  margin-top: 5px;
}

.user-icon img {
  width: 100px;
  height: 100px;
  border: 1px solid #000000;
  display: block;
}

h1 {
  font-size: 20px;
  color: #0000A0;
  margin: 0;
}

.box {
  border: 1px solid #000000;
  margin-bottom: 20px;
}

.box-title {
  background-color: #0000A0;
  color: #FFFFFF;
  font-weight: bold;
  padding: 4px 8px;
  font-size: 13px;
}

.box-content {
  padding: 5px;
}

.info-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 4px;
}

.label {
  background-color: #E0E0FF;
  text-align: right;
  font-weight: bold;
  padding: 4px 8px;
}

.value {
  padding: 4px 8px;
}

.bio-text {
  font-style: italic;
  line-height: 1.4;
}

.comma-list {
  line-height: 1.6;
}

a:link,
a:visited,
a:hover,
a:active,
.tooltip {
  color: #0000EE;
  text-decoration: underline;
}

a:link,
a:visited,
a:hover,
a:active,
.tooltip,
.tooltip:hover {
  color: #0000EE;
  text-decoration: none;
}

.tooltip {
  position: relative;
  display: inline;
  cursor: pointer;
}

.tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  width: max-content;
  max-width: 260px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 100;
  text-decoration: none;
}

.tooltip:hover .tooltip-bubble {
  opacity: 1;
}

.tooltip-bubble em {
  font-style: italic;
}

.footer {
  text-align: center;
  font-size: 14px;
  color: #777777;
  margin-top: 50px;
  padding-bottom: 20px;
  font-family: '6809 Chargen', monospace;
  letter-spacing: 1px;
}
