
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(120deg, #121212, #1D1D1D);
  background-attachment: fixed;
  color: #ffffff;
}

header {
  background: #1b1b1b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 8px 15px;
}

nav ul li a:hover,
nav ul li a.active {
  background: #00ff00;
  color: #121212;
  border-radius: 4px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.hero-text {
  max-width: 600px;
  margin: 20px;
  animation: fadeIn 1s ease-in-out;
}

.hero-text h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #00ff00;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-img {
  width: 400px;
  margin: 20px;
}

.hero-img img {
  width: 75%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.hero-img img:hover {
  transform: scale(1.05);
}

.button {
  display: inline-block;
  text-decoration: none;
  background: #00ff00;
  color: #121212;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: bold;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.button:hover {
  background: #00e600;
  transform: translateY(-3px);
}

.social-icons {
  margin-top: 20px;
  text-align: center;
}

.social-icons a {
  color: #ffffff;
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00ff00;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  text-align: center;
}

.projects-grid a {
  background: #1b1b1b;
  padding: 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #00ff00;
  font-size: 1.3em;
  transition: transform 0.3s ease ;
}

.projects-grid a:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.project-img {
  margin: 20px 0;
  text-align: center;
}

.project-img img {
  max-width: 75%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.project-img img:hover {
  transform: translateY(-5px);
}

footer {
  background: #1b1b1b;
  color: #ffffff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 0.9em;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px){
.hero-img img{
      width: 90%;
}
}

@media (max-width: 769px) {
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    margin: 10px 0;
  }
  .hero {
    flex-direction: column;
    padding: 20px;
  }
  .hero-text {
    text-align: center;
    margin: 10px;
  }
  .hero-img {
    margin: 10px;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.5em;
  }
  .hero-text h2 {
    font-size: 1.5em;
  }
}