body {
  font-family: "Passion One", sans-serif;
  font-optical-sizing: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #181825;
  color: #cdd6f4;
}

header {
  font-size: 1.2rem;
  background-color: #181825;
  color: #cdd6f4;
  padding: 10px 20px;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header nav a {
  color: #cdd6f4;
  padding: 10px;
  text-decoration: none;
  font-weight: bold;
}
.name {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #89b4fa;
  margin-right: auto;
}

a:hover {
  color:  #89b4fa;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  header nav {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .menu a {
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }

  /* Add a hamburger icon for smaller screens */
  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 2rem;
    color: #cdd6f4;
    float: right;
  }
}

@media (min-width: 769px) {
  .menu {
    display: flex;
    gap: 10px;
  }

  .hamburger {
    display: none;
  }
}

.hero-section {
  height: 100vh;
  font-size: 2rem;
  background-color: #181825; /* Base color from Catppuccin Mocha */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #cdd6f4; /* Text color */
  text-align: center;
  overflow: hidden;
  background-image:url("/Images/evening-sky.png");
  background-size:cover ;
  
}

/* Hero Title and Subtitle */
.hero-title {
  font-size: 7rem;
  font-weight: bold;
  color: #b4befe; /* Lavender */
}
h1:hover{
  text-decoration: underline;  
}

.hero-subtitle {
  font-size: 3rem;
  margin-top: 20px;
}

.cta-btn {
  margin-top: 30px;
  padding: 12px 25px;
  background-color: #89b4fa; /* Red */
  color: #1e1e2e; /* Base */
  text-decoration: none;
  border-radius: 5px;
  font-size: 2rem;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #f38ba8; /* Blue */
  color:#cdd6f4
}

/* Binary Code Animation */
.binary-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.projects-section {
    padding: 50px 20px;
    background-color: #1e1e2e; /* Base */
    color: #cdd6f4; /* Text */
    text-align: center;
}

.projects-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    background-color: #313244; /* Surface */
    border-radius: 10px;
    width: 48%; /* Half width on larger screens */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    text-align: left;
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #f5c2e7; /* Pink border for separation */
}

.project-info {
    padding: 20px;
}

h3 {
    color: #b4befe; /* Lavender */
    margin-bottom: 10px;
}

p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* GitHub Link */
.github-link {
    display: inline-block;
    color: #89b4fa; /* Red */
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #89b4fa; /* Blue */
}

/* Responsive for Mobile */
@media screen and (max-width: 767px) {
    .project-item {
        width: 100%; /* Full width on smaller screens */
    }
}

.about-section,
.skills-section,
.projects-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #181825;
  /* Mantle */
  color: #cdd6f4;
  /* Text */
}
.skill:hover{
color: #f38ba8;
}

.skills-grid,
.projects-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.skill,
.project {
  
  flex-basis: 200px;
  background-color: #45475a;
  padding: 20px;
  border-radius: 8px;
  color: #89b4fa;
}

.skills-grid .skill i {
  font-size: 100px;
  /* Adjust this value to control the size */
  margin-bottom: 10px;
  /* Adds space between the icon and the skill name */
}

.project img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project h3 {
  color: #89b4fa;
  /* Blue */
}

footer {
  background-color: #313244;
  /* Surface0 */
  color: #cdd6f4;
  padding: 20px;
  text-align: center;
}

footer .social-links li {
  display: inline;
  margin: 0 10px;
}

footer .social-links li a {
  color: #89b4fa;
  /* Pink */
}

footer p {
  color: #7f849c;
  /* Overlay1 */
}


/*resume*/
.resume-section {
    padding: 50px 20px;
    background-color: #1e1e2e; /* Base */
    color: #cdd6f4; /* Text */
}

.resume-item {
    margin-bottom: 40px;
}

.resume-item h3 {
    color: #89b4fa; /* Blue */
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.resume-item p, .resume-item ul {
    margin-bottom: 10px;
    line-height: 1.6;
}

.resume-item ul li {
    list-style-type: disc;
    margin-left: 20px;
}

.resume-download {
    text-align: center;
    margin-top: 30px;
}

.resume-btn {
    background-color: #bd93f9; /* Light purple */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
}

.resume-btn:hover {
    background-color: #ff79c6; /* Pink hover */
}
