/* css styles */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #c4f5c3;
  }
  .page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 0;
  }
  h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
  }
  
  .github-banner a {
    font-family: 'Poppins', sans-serif;
  }
  
  img.profile-pic {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  .section-box {
    background-color: #f0f6f9;  /* background boxes */
    padding: 20px 25px;
    border-radius: 12px;
    margin: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  @media (max-width: 600px) {
    .page-wrapper {
      max-width: 100%;
      padding: 0;  
    }
  }
  .section-box a {
    color: #1d3557;  
    text-decoration: none; 
  }
  
  .section-box a:hover {
    color: #e63946;  
    text-decoration: underline;
  }
  .section-box {
    transition: transform 0.2s ease;
  }
  .section-box:hover {
    transform: scale(1.01);
  }
  nav.navbar, .quarto-navbar {
    background-color: #2c3e50; 
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
  }
  
  .project-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  }
  
  .project-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  .project-card h3 {
    margin: 8px 0 6px;
    font-size: 1.1rem;
  }
  
  .project-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
  }
  
  .project-card a {
    display: inline-block;
    background-color: #2a9d8f;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
  }
  
  .project-card a:hover {
    background-color: #21867a;
  }

  .centered h1, 
  .centered h2, 
  .centered p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    font-size: 28px;
    color: #1d3557;
    background-color: #ffffffcc;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .back-to-top:hover {
    background-color: #98e895;
    transform: scale(1.1);
  }
 
  .quarto-navbar.scrolled {
    background-color: rgba(44, 62, 80, 0.85); 
    backdrop-filter: blur(6px); 
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  }
  
  

  