/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TIPOGRAFÍA GENERAL */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* CONTENEDOR PRINCIPAL */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  background-color: #fff;
}

/* SIDEBAR IZQUIERDA */
.sidebar {
  background-color: #222; /* fondo oscuro */
  color: #fff; /* texto blanco */
  width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 300px;
}

.sidebar h1,
.sidebar .profession,
.sidebar h2,
.sidebar p,
.sidebar ul,
.sidebar li {
  color: #fff;
}

.sidebar h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.sidebar .profession {
  font-style: italic;
  color: #aaa;
  margin-bottom: 20px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid #555;
}

.sidebar section {
  margin-bottom: 25px;
  width: 100%;
}

.sidebar h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}

.sidebar p, .sidebar li {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.btn {
  display: block;
  text-align: center;
  padding: 10px;
  margin: 8px 0;
  background-color: #C0392B; /* rojo Moana */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #a93226; /* rojo Moana más oscuro */
}

/* CONTENIDO PRINCIPAL */
.main-content {
  flex: 2 1 600px;
  padding: 30px;
  background-color: #fff;
}

.main-content h2 {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 15px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.main-content p, .main-content li {
  font-size: 1rem;
  margin-bottom: 15px;
}

.job h3 {
  font-size: 1.2rem;
  color: #C0392B; /* rojo Moana */
  margin-top: 10px;
}

.job h4 {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
  margin-bottom: 5px;
}

/* LISTAS */
.main-content ul {
  padding-left: 20px;
  list-style: disc;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .sidebar section {
    text-align: center;
    align-items: center;
  }

  .main-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  .main-content h2 {
    font-size: 1.3rem;
  }

  .job h3 {
    font-size: 1.1rem;
  }
}



