* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
:root {
    --navbar-color: #222;
}
  
body {
    margin: 0;
    padding-top: 80px;
    background-color: #333;
    font-family: 'Orbitron', sans-serif;
}

section {
  scroll-margin-top: 100px;
}

/* Navbar */

.nav { 
    margin: 0;
    padding: 1em;
    background-color: var(--navbar-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
  
ul.nav-list {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    justify-content: space-around;
}
  
ul.nav-list a{
    background: linear-gradient(90deg, #00ffff, #ff00ff); /* Pink to Teal */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    padding: 0 1em;
}
  
ul.nav-list a:hover {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    background-clip: text;
}
  
/* logo */

.logo {
  display: flex;
}

.logo .first { 
  color: #ff00ff; 
  font-size: 1.5em; 
}
.logo .last { 
  color: #00ffff; 
  font-size: 1.5em; 
}


/* Home Section Start */
#home {
  padding-top: 150px;
  padding-bottom:100px;
  margin:0px;
  text-align: center;
  background-color:#333;
}
  
#home h1{
    color:#fff;
    margin: 50px;
    font-size: 70px;
}
  
#home p{
    margin-top: 20px;
    color:#00ffff;
    font-size:35px;
}
/* Home Section End */

/* About Section Start */
#about {
  background-color: #333;
  padding:2em;
  text-align: center;
  color: #fff;
}

#about h2{
  font-family: 'Orbitron', sans-serif;
  color: #00ffff;
  font-size: 2em;
  margin-bottom: 1em;
}

/* Project Section Start */
#projects {
    background-color: #333; /* Dark cyberpunk bg */
    padding: 2em;
    text-align: center; 
}

#projects h2 {
  font-family: 'Orbitron', sans-serif; /* From Google Fonts */
  color: #00ffff; /* Teal */
  font-size: 2em;
  margin-bottom: 1em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns, equal width */
  gap: 1em; /* Space between items */
  max-width: 1200px; /* Contain it */
  margin: 0 auto; /* Center */
}

.project-item {
  background-color: #444; /* Slightly lighter than bg */
  padding: 1em;
  border: 1px solid #800080; /* Purple border */
}

.project-item:hover {
  transform: scale(1.05);
  border-color: #ff00ff;
  transition: transform 0.3s;
}

.project-item img {
  width: 100%; /* Full width of container */
  height: auto;
  border-bottom: 2px solid #ff00ff; /* Pink accent */
}

.project-item a { 
  display: block; 
  text-decoration: none; 
}

.project-item .subtitle {
  font-family: 'Orbitron', sans-serif;
  color: #00ffff; /* Teal text */
  margin-top: 0.5em;
  font-size: 1em;
  font-weight: bold;
}

/* Project Section End */

/* Contact Me Start */

#contact {
  background-color: #333; /* Dark cyberpunk bg */
  padding: 2em;
  text-align: center;
}
#contact h2 {
  font-family: 'Orbitron', sans-serif;
  color: #00ffff; /* Teal */
  font-size: 2em;
  margin-bottom: 0.5em;
}
#contact p {
  font-family: 'Arial', sans-serif; /* Cleaner for body text */
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 1em;
}

.contact-info {
  list-style: none;
  padding: 0;
}
.contact-info li {
  margin: 0.5em 0;
  font-family: 'Orbitron', sans-serif;
  color: #ff00ff; /* Pink for info */
  font-size: 1.1em;
}
.contact-info a {
  color: #00ffff; /* Teal links */
  text-decoration: none;
}

.contact-info a:hover {
  color: #800080; /* Purple hover */
  transition: color 0.3s;
}

@media (max-width: 600px) {
  .contact-info li { font-size: 1em; }
}

/* Contact Me End */

/* Responsive */

@media (max-width: 800px) {
  .project-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
  }
  ul.nav-list {
    flex-direction: column;
    align-items: center;
  }
  ul.nav-list li {
    margin: 0.5em 0;
  }
  .logo {
    text-align: center;
    margin-bottom: 1em;
  }
  .project-grid { 
    grid-template-columns: 1fr; 
  }

  .contact-info li { 
    font-size: 1em; 
  }
}