* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
  background: #0f0f0f;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.center {
  text-align: center;
}

header {
  background: #121212;
  position: sticky;
  top: 0;
}

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

nav a {
  margin-left: 15px;
  color: #ffdd00;
  text-decoration: none;
}

.hero {
  padding: 100px 0;
}

.hero-buttons {
  margin-top: 20px;
}

.btn {
  background: #6c63ff;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  margin-right: 10px;
}

.btn-outline {
  border: 1px solid #6c63ff;
  padding: 10px 20px;
  border-radius: 5px;
  color: #6c63ff;
  text-decoration: none;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-img {
  flex: 1;
}

.hero-img img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.hero-text {
  flex: 1;
}

.skills-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.skill-box {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

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

.card-img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card h3,
.card p,
.links {
  padding: 10px 15px;
}

.destaque {
  border: 2px solid #6c63ff;
}

.links a {
  margin-right: 10px;
}

.exp-box {
  background: #1a1a1a;
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
}

#experiencia {
    padding: 20px;
}

#projetos {
    padding: 20px;
}
#skills {
    padding: 20px;
}

footer {
  background: #121212;
  padding: 40px 0;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 10px;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 60px 0;
  }

    .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-img img {
    height: 250px;
  }

}