/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
  }
  
  .social-icon {
    width: 40px;                 /* Uniform width */
    height: 40px;                /* Uniform height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3CB9FF;   /* Primary color background */
    border-radius: 8px;          /* Rounded corners */
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
  }
  
  
  .social-icon img {
    width: 100%;                 /* Scale icon to fit within the container */
    height: auto;                /* Maintain aspect ratio */
  }
  .social-icon.resume img {
    width: 95%;                 /* Scale icon to fit within the container */
    height: 100%;                /* Maintain aspect ratio */
  }

  .projects-section {
    padding: 40px 5%;
    background-color: #f6e3c0; /* Tertiary color for the section background */
    color: #3cb9ff; /* Primary color for the text */
}

.project {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.project h3 {
    font-size: 1.5rem;
    color: #3cb9ff;
    margin: 0;
}

.github-link img {
    padding: 1px 0;
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.github-link img:hover {
    opacity: 1;
}

.project p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333; /* Text color for better readability */
}

.project a {
    color: #3cb9ff;
    text-decoration: underline;
}

.project a:hover {
    text-decoration: none;
}
  

/* Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
  }
  
  h1, h2 {
    color: #3CB9FF;
  }
  
  /* Navbar Styles */
  .navbar {
    position: fixed;       /* Fixes the navbar to the viewport */
    top: 0;                /* Aligns it to the top */
    width: 100%;           /* Makes it span the full width of the page */
    background-color: #fff; /* Adjust as needed to match your design */
    padding: 10px 20px;       /* Adds some padding for spacing */
    z-index: 1000;         /* Keeps it above other elements */
    display: flex;
  }

  .nav-link {
      color: #3CB9FF;        /* Adjust to match your primary color */
      text-decoration: none;
      font-size: 1.1em;
      padding: 8px 16px;
      transition: color 0.3s ease;
  }

  .nav-link:hover {
      color: #F6E3C0;        /* Hover effect with tertiary color */
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    height: 100vh;
    background-color: #030303; /* Set the background color to black */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3CB9FF;
}

.hero-content {
    position: relative; /* Keep the content above the background image */
    z-index: 2; /* Ensure it's on top of the background */
    max-width: 800px; /* Control the content width */
    background-color: rgba(246, 227, 192, 0.8); /* Optional: semi-transparent background for content */
    padding: 20px; /* Padding for content */
    border-radius: 10px; /* Rounded corners for content */
    text-align: center; /* Center align text */
}
  
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  /* Bio Section */
  .section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .bio-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #3CB9FF;
  }
  
  .bio-section p {
    color: #555;
    font-size: 1.1rem;
    text-align: justify;
  }

  @media (min-width: 689px) {
    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 688px; /* Take up 50% width */
      height: 100%; /* Full height of the hero section */
      background-image: url('Kellen.jpeg'); /* Your background image */
      background-size: cover; /* Cover the div */
      background-position: center; /* Center the image */
      background-repeat: no-repeat; /* No repeating */
      z-index: 1; /* Ensure it is behind the text */
    }
    .navbar {
      justify-content: flex-start;
      gap: 20px;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 688px) {
    body.menu-open {
      overflow: hidden; /* Hide scroll on body when menu is open */
    }
    .hero {
      height: 100vh; /* Full viewport height */
      position: relative; /* Keeps relative positioning */
      overflow: hidden; /* Prevents overflow of content */
  }
    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0%; /* Position from the left side to center the image */
      width: 688px; /* Take up 50% width */
      height: 918px;
      background-image: url('Kellen.jpeg'); /* Your background image */
      background-size: cover; /* Cover the div */
      background-position: center; /* Center the image */
      background-repeat: no-repeat; /* No repeating */
      z-index: 1; /* Ensure it is behind the text */
    }
    .hero-content h1 {
      font-size: 2rem;
    }
    .bio-section p {
      color: #555;
      font-size: 1rem;
      text-align: justify;
    }
    .navbar {
      justify-content: center;
      gap: 10px;
    }
  }

  @media (max-width: 480px) {
    .bio-section p {
      font-size: .85rem; /* Even smaller font for mobile devices */
    }
  }