.fira-code-src {
  font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

/* Reset and Base Styles */
* {
  font-family: "Fira Code", monospace;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fira Code", monospace;
  background-color: #EFD6AC;
  color: #04151F;
  line-height: 1.6;
  padding: 2rem;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Profile Section */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #04151F;
  margin-bottom: 1.5rem;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.profile-bio {
  text-align: center;
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  color: #04151F;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 0.7;
}

/* Article Links Section */
.articles-section {
  margin-top: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #04151F;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  grid-auto-flow: dense;
  max-width: 100%;
}

.article-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 4px solid #04151F;
  break-inside: avoid;
  display: flex;
  flex-direction: column;
}

/* Varying heights for masonry effect */
.article-item:nth-child(odd) {
  grid-row-end: span 1;
}

.article-item:nth-child(even) {
  grid-row-end: span 2;
}

.article-item:nth-child(3n) {
  grid-row-end: span 1;
}

.article-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(4, 21, 31, 0.1);
}

.article-link {
  display: block;
  text-decoration: none;
  color: #04151F;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.article-date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #04151F;
  opacity: 0.8;
  padding-top: 1rem;
  border-top: 1px solid rgba(4, 21, 31, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  
  .container {
    padding: 1rem;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .profile-name {
    font-size: 1.8rem;
  }
  
  .article-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
