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

body {
  font-family: 'Outfit', sans-serif;
  background: url("./assets/fondo.jpg");
  color: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 2s ease-in;
}

header h1 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00dbde, #fc00ff);
  -webkit-background-clip: text;
  color: transparent;
}

header p {
  font-size: 1.2rem;
  margin-top: 1rem;
  max-width: 600px;
  color: #ccc;
}

section {
  padding: 4rem 10%;
}

.container {
  background: rgba(141, 141, 141, 0.062);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 4px;
  background: #00dbde;
  border-radius: 2px;
  animation: slideIn 1s ease forwards;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.skill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  color: white;
  font-weight: bold;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.skill img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.skill:hover img {
  transform: scale(1.1);
}


.projects img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 1rem;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 1rem 0 0;
  padding: 0.75rem 1.5rem;
  background: #00dbde;
  color: #000;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.links a:hover {
  background: #fc00ff;
  color: #fff;
  transform: translateY(-2px);
}

.links a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

footer {
  text-align: center;
  padding: 2rem;
  background: rgb(15, 12, 41);
  position: relative;
}

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

@keyframes slideIn {
  from { width: 0; }
  to { width: 60px; }
}
