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

/* BODY */
body {
  background: gray;
  color: white;
  font-family: Arial, sans-serif;
}

/* CONTENEDOR */
.container {
  display: flex;
  justify-content: center;
  align-items: center;   /* 👈 centrado vertical */
  min-height: 100vh;     /* 👈 ocupa toda la altura de la pantalla */
  padding: 40px 20px;
}

/* TARJETA */
.card {
  display: flex;
  gap: 30px;
  background: green;
  padding: 30px;
  border-radius: 8px;
  max-width: 1000px;
  width: 100%;
}

/* DATOS */
.user-data {
  flex: 2;
}

.user-data p {
  margin-bottom: 12px;
  font-size: 16px;
}

.user-data span {
  font-weight: bold;
  color: #cccccc;
}

.user-data a {
  color: #00bfff;
  text-decoration: none;
  word-break: break-all;
}

.user-data a:hover {
  text-decoration: underline;
}

/* IMAGEN */
.user-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CUADRO IMAGEN */
.image-box {
  width: 200px;
  height: 200px;
  background: black;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* BOTÓN */
.btn {
  padding: 10px 20px;
  background: #444;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

.btn:hover {
  background: #666;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    align-items: center;
  }

  .user-data {
    text-align: center;
  }

  .image-box {
    width: 150px;
    height: 150px;
  }
}