body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
}

.cv-container {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.sidebar {
  background: #fce8c4;
  padding: 2rem;
  width: 30%;
}

.sidebar h1 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.sidebar h2 {
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 1rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 0.7rem;
}

.sidebar i {
  margin-right: 0.5rem;
}

.content {
  background: #fff;
  padding: 2rem;
  width: 70%;
}

.content h3 {
  margin-top: 1.5rem;
  color: #004b8d;
  border-bottom: 2px solid #00bcd4; /* línea celeste */
  padding-bottom: 0.3rem;           /* separación entre el texto y la línea */
  margin-bottom: 1rem;              /* separación entre la línea y el contenido */
}
.content h4 {
  margin-bottom: 0.2rem;
}

.content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.content ul li {
  margin-bottom: 0.4rem;
}

@media screen and (max-width: 768px) {
  .cv-container {
    flex-direction: column;
  }
  .sidebar, .content {
    width: 100%;
  }



}
