body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.contenedor {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sidebar {
  width: 30%;
  background-color: #2c518d;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar .foto img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #fff;
}

.sidebar h3 {
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
  width: 100%;
  text-align: left;
}

.sidebar p, .sidebar ul {
  font-size: 14px;
  margin: 5px 0;
}

.sidebar ul {
  list-style-type: disc;
  padding-left: 20px;
}

.contenido {
  width: 70%;
  padding: 40px;
}

header h1 {
  margin: 0;
  font-size: 32px;
  color: #2c518d;
}

header h2 {
  margin: 5px 0 30px;
  font-size: 18px;
  color: #666;
}

.acerca, .experiencia {
  margin-bottom: 30px;
}

.acerca h3, .experiencia h3 {
  color: #2c518d;
  font-size: 20px;
  border-bottom: 2px solid #2c518d;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.puesto {
  margin-bottom: 20px;
}

.puesto h4 {
  font-size: 16px;
  color: #2c518d;
  margin: 0 0 5px;
}

.puesto p {
  font-size: 14px;
  margin: 5px 0;
}

@media screen and (max-width: 768px) {
  .contenedor {
    flex-direction: column;
  }

  .sidebar, .contenido {
    width: 100%;
  }

  .contenido {
    padding: 20px;
  }
}
