/* =============================================
   MYLINKS - ESTILOS BASE
   En las próximas clases construirás encima
   de estos estilos para mejorar el diseño.
   ============================================= */

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

html {
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #0f0f13;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- TARJETA PRINCIPAL --- */
.card {
  width: 90%;
  max-width: 400px;
  text-align: center;
  padding: 40px 20px;
}

/* --- FOTO DE PERFIL --- */
.avatar {
  border-radius: 50%;
}

/* --- NOMBRE --- */
.name {
  font-size: 28px;
  margin-top: 16px;
}

/* --- BIO --- */
.bio {
  font-size: 1rem;
  line-height: 1.5;
  color: #a0a0b0;
  margin-top: 8px;
}

/* --- CONTENEDOR DE ENLACES --- */
.links {
  margin-top: 24px;
}

/* --- CADA ENLACE --- */
.link {
  display: block;
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  margin-top: 12px;
  border: 1px solid #2a2a38;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  border-radius: 0.5rem;
  font-size: 15px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.container {
  width: 90%; /* Ocupa 90% del ancho disponible */
  max-width: 600px; /* Pero nunca más de 600px */
  margin: 0 auto; /* Centrado horizontal */
  padding: 2rem;
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero {
  min-height: 100vh; /* Mínimo: toda la altura de la ventana */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 @media (min-width: 768px) {

    .container {
        /* En pantallas grandes, podemos usar más espacio */
        max-width: 500px;
    }

    h1 {
        /* Título más grande en desktop */
        font-size: 2.5rem;
    }

    .link {
        /* Efecto hover solo en desktop (móvil no tiene hover) */
        margin-bottom: 1.25rem;
        transition: transform 0.2s ease;
    }
    .profile-img{
      width: 150px;
      height: 150px;
    }
    .bio{
      max-width: 400px;
    }
    .link:hover {
        transform: scale(1.02);
    }
}
