@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: black;
  color: white;
}

header {
  margin-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: transparent;
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: blue;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
  text-shadow: 0 0 5px blue;
}

.logo:hover {
  transform: scale(1.1);
}

nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: blue;
  border-bottom: 3px solid blue;
}

@media(max-width:995px) {
  nav {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 40%;
    border-left: 3px solid blue;
    border-bottom: 3px solid blue;
    border-bottom-left-radius: 2rem;
    padding: 1rem solid;
    background-color: #161616;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: block;
  }

  nav a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  nav a:hover,
  nav a.active {
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid blue;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: black;
    padding: 15px;
    border-radius: 5px;
    z-index: 999;
  }

  .nav-menu.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

section {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

section h1 {
  font-size: 1.2rem;
  color: cyan;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 5px blue;
}

section p {
  font-size: 1.5rem;
  color: blue;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 5px blue;
}

section h1 span {
  color: white;
  font-size: 2rem;
  font-weight: 900;
}

.projects {
  padding-top: 12rem; 
  padding-bottom: 5rem; 
  height: auto; 
  min-height: 100vh; 
}

.projects-content {
  text-align: center;
  max-width: 1000px; 
  width: 90%; 
  margin: 0 auto; 
}

.projects-content h1 {
  font-size: 4.5rem;
  color: cyan;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.projects-content > p {
  font-size: 1.8rem;
  color: #f0f0f0; 
  font-weight: 400;
  margin-bottom: 4rem;
  text-shadow: none; 
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.project-item {
  background-color: transparent;
  padding: 2.5rem 2rem;
  border-radius: 0.8rem;
  border: 1px solid blue;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px blue;
}

.project-item h2 {
  font-size: 2.4rem;
  color: cyan;
  margin-bottom: 1rem;
}

.project-item p {
  font-size: 1.6rem; 
  color: #cccccc;
  line-height: 1.7;
  font-weight: 400; 
  text-shadow: none;
  text-align: left;
}

.project-item a {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background-color: blue;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.project-item a:hover {
  background-color: blue;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.project-link a {
  color: cyan;
  font-size: 1.
}