/* style.css */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #121212;
  color: #ffffff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  background-color: #1f1f1f;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header h1 {
  margin: 0;
  font-size: 2em;
  font-weight: 600;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #9f9f9f;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffffff;
}

section {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

h2 {
  font-size: 1.8em;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.projeto {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projeto:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.projeto h3 {
  margin-top: 0;
}

.projeto a {
  display: inline-block;
  margin-top: 10px;
  background: #333;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.projeto a:hover {
  background: #555;
}

footer {
  background: #1f1f1f;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.5em;
  }
  nav a {
    display: block;
    margin: 10px 0;
  }
  section {
    padding: 0 10px;
  }
}
