@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #e0e0e0;
  font-family: Helvetica, "Helvetica Neue", "Liberation Sans", sans-serif;
  line-height: 1.6;
  padding: 10px 5px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #000;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 80px;
  align-items: start;
}

.profile-box {
  background: transparent;
  padding: 40px 30px;
  text-align: center;
}

.profile-name {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #f0f0f0;
}

.profile-links {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.profile-links a {
  color: #4FC3F7;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.profile-links a:hover {
  color: #81D4FA;
}

.profile-links a:hover {
  color: #fff;
}

.profile-info {
  text-align: left;
  padding-top: 8px;
  border-top: 1px solid #333;
}

.profile-info p {
  margin-bottom: 16px;
  line-height: 1.5;
}

.profile-info p:last-child {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #b0b0b0;
}

.main-content {
  padding-top: 20px;
}

.breadcrumb {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  margin: 0 auto;
  padding: 8px 0;
  border-bottom: 1px solid #333;
  font-size: 0.75rem;
  color: #666;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  padding-left: 130px;
  padding-right: 40px;
  width: 100%;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

.breadcrumb::before {
  content: "";
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #aaa;
  text-decoration: none;
}

.breadcrumb span[aria-current="page"] {
  color: #666;
  font-weight: 400;
}

.about-link {
  color: #4FC3F7 !important;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block; /* Visible by default */
  margin-left: auto; /* Push to the right */
}

.about-link:hover {
  color: #81D4FA !important;
}

/* Hide about link on larger screens */
@media (min-width: 769px) {
  .about-link {
    display: none !important;
  }
}

/* Hidden checkbox for CSS-only toggle */
.about-checkbox {
  display: none;
}

/* Profile overlay styles */
.profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.profile-overlay-content {
  background: #000;
  margin: 5% auto;
  padding: 40px;
  border: 1px solid #333;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  text-align: center;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.close-overlay {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-overlay:hover,
.close-overlay:focus {
  color: #fff;
}

.overlay-profile {
  padding: 20px 0;
}

.overlay-profile-name {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.overlay-profile-links {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.overlay-profile-links a {
  color: #4FC3F7;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.overlay-profile-links a:hover {
  color: #81D4FA;
}

.overlay-profile-info {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.overlay-profile-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.overlay-profile-info p:last-child {
  margin-bottom: 0;
  font-size: 1rem;
  color: #b0b0b0;
}

/* Show overlay when checkbox is checked */
.about-checkbox:checked ~ .profile-overlay {
  opacity: 1;
  visibility: visible;
}

.about-checkbox:checked ~ .profile-overlay .profile-overlay-content {
  transform: translateY(0);
}

/* Make about link look clickable */
.about-link {
  cursor: pointer;
  user-select: none;
}

.main-header {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 60px;
  color: #f0f0f0;
}

.content-section {
  margin-bottom: 60px;
}

.content-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.content-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.content-subheading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.content-subtext {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.content-subtext a {
  color: #4FC3F7;
  text-decoration: none;
}

.content-subtext a:hover {
  text-decoration: underline;
}

/* Article page specific styles */
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #000;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 80px;
  align-items: start;
}

.article-sidebar {
  background: transparent;
  padding: 40px 30px;
  text-align: center;
}

.article-sidebar-name {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.article-sidebar-links {
  font-size: 1.1rem;
  line-height: 2;
}

.article-sidebar-links a {
  color: #4FC3F7;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
}

.article-sidebar-links a:hover {
  color: #fff;
}

.article-sidebar-info {
  text-align: left;
}

.article-content {
  padding-top: 20px;
}

.article-header {
  margin-bottom: 40px;
}

.article-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.article-meta {
  font-size: 1rem;
  color: #b0b0b0;
  margin-bottom: 30px;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e0e0e0;
}

.article-body h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 40px 0 20px 0;
  color: #f0f0f0;
}

.article-body h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 30px 0 15px 0;
  color: #f0f0f0;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul {
  margin: 20px 0;
  padding-left: 30px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: #f0f0f0;
}

.article-body a {
  color: #4FC3F7;
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
}

/* Tablet styles */
@media (max-width: 768px) {
  .layout, .article-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .profile-box, .article-sidebar {
    order: 1;
    padding: 30px 20px;
    display: none; /* Hide profile box when content wraps */
  }
  
  .main-content, .article-content {
    order: 1; /* Move main content to top since profile is hidden */
    padding-top: 0;
  }
  
  .container, .article-container {
    padding: 40px 30px;
  }
  
  .main-header, .article-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }
  
  .content-heading, .article-body h2 {
    font-size: 1.6rem;
  }
  
  .content-subheading, .article-body h3 {
    font-size: 1.3rem;
  }
  
  .content-section {
    margin-bottom: 50px;
  }
  
  .breadcrumb {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  /* Move footer to end when content wraps */
  .site-footer {
    order: 2;
    margin-top: 40px;
    padding-top: 30px;
  }
}

/* Mobile styles - based on viewport width */
@media (max-width: 480px) {
  body {
    padding: 10px 5px;
  }
  
  .container, .article-container {
    padding: 20px 15px;
  }
  
  .layout, .article-layout {
    gap: 30px;
  }
  
  .profile-box, .article-sidebar {
    order: 1;
    padding: 20px 15px;
    margin-bottom: 20px;
    display: none; /* Hide profile box on mobile */
  }
  
  .profile-name, .article-sidebar-name {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
  
  .profile-links, .article-sidebar-links {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  
  .profile-info {
    padding-top: 15px;
  }
  
  .profile-info p {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  
  .main-content, .article-content {
    order: 1; /* Move main content to top since profile is hidden */
    padding-top: 0;
  }
  
  .main-header, .article-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
  
  .content-heading, .article-body h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .content-text, .article-body {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .content-subheading, .article-body h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .content-subtext {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  
  .content-section {
    margin-bottom: 30px;
  }
  
  .breadcrumb {
    padding: 8px 15px;
    font-size: 0.7rem;
  }
  
  /* Mobile overlay adjustments */
  .profile-overlay-content {
    margin: 10% auto;
    padding: 30px 20px;
    width: 95%;
  }
  
  .overlay-profile-name {
    font-size: 2rem;
    margin-bottom: 25px;
  }
  
  .overlay-profile-links {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .overlay-profile-info p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
}

.site-footer {
  grid-column: 1 / -1;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-bottom p {
  color: #b0b0b0;
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .site-footer {
    margin-top: 40px;
    padding-top: 30px;
    order: 2;
  }
  
  .footer-bottom p {
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.4;
  }
}
