/* -----------------------------
   RESET Y BASE
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: url('fondo.jpg') no-repeat center center fixed;
  background-size: cover;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #e5e7eb;
}

/* -----------------------------
   BOTONES
------------------------------ */
.btn-dark {
  background-color: #374151;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  text-align: center;
  display: inline-block;
}

.btn-dark:hover {
  background-color: #1f2937;
}

/* -----------------------------
   ESTRUCTURA GENERAL
------------------------------ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.8s ease-in-out both;
}

section {
  margin-top: 3rem;
  padding: 1.5rem 1rem;
}

h1,
h2,
h3 {
  color: #ffffff;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #374151;
  padding-bottom: 0.25rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: #d1d5db;
}

/* -----------------------------
   LISTAS
------------------------------ */
ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  color: #cbd5e1;
}

li {
  margin-bottom: 0.5rem;
}

/* -----------------------------
   BOTONES & LINKS
------------------------------ */
a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.button {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button:hover {
  background-color: #1e40af;
}

/* -----------------------------
   IMÁGENES
------------------------------ */
img.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 9999px;
  border: 4px solid #60a5fa;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

img.profile-pic:hover {
  transform: scale(1.05);
}

/* -----------------------------
   ETIQUETAS (SKILLS)
------------------------------ */
.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  margin: 0.3rem;
  border-radius: 9999px;
  background-color: #1e3a8a;
  color: #bfdbfe;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #60a5fa;
}

/* -----------------------------
   PIE DE PÁGINA
------------------------------ */
footer {
  background-color: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
  border-top: 1px solid #374151;
}

/* -----------------------------
   ANIMACIONES
------------------------------ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  img.profile-pic {
    width: 120px;
    height: 120px;
  }

  .button {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* -----------------------------
   INDENTACIÓN TIPO "TAB"
------------------------------ */
.indent {
  text-indent: 2rem;
}
html::before {
  content: "";
  background: url('/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -999;
}


