:root {
  --primary-color: #0077cc;
  --secondary-color: #004b87;
  --bg-color: #f4f4f4;
  --text-color: #333;
  --card-bg: #fff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

/* NAVBAR */
nav {
  background-color: var(--secondary-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 960px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.4rem;
  color: white;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* CONTENIDO */
.container {
  max-width: 800px;
  margin: auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
  margin: 0;
}

h2 {
  font-size: 1.2rem;
  color: #777;
}

section {
  margin-bottom: 2rem;
}

h4 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
  color: var(--secondary-color);
}

ul {
  list-style-type: square;
  padding-left: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/*STACK IMGEN*/

img {
  display: block;
  margin: auto;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .container {
    margin: 1rem;
    padding: 1rem;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: var(--secondary-color);
}
 .mi_foto {
  height: 300px;
  width: 300px;
  border-radius: 50%;
 }
  /*footer*/

  .footer {
    text-align: center;
  }