body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f2f2f2;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cv-container {
    background: white;
    width: 80%;
    max-width: 1400px;
    display: flex;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    min-height: 100vh; /* Establece la altura mínima basada en la altura de la ventana del navegador */
}

.left,
.right {
    padding: 40px;
    box-sizing: border-box;
    min-height: 100%;
}

.left {
    flex: 0.3;
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column;

}

.right {
    flex: 0.7;
    background-color: white;
    color: #333;
}

img.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 30px auto;
    background-color: rgb(255, 255, 255);
    ba
}

.section {
    margin-bottom: 10px;
}

.right-section {
    margin-top: 40px;
}

/* Aquí está la modificación de las secciones del lado izquierdo */
.name-position {
    margin-bottom: 0;
    padding-bottom: 10px;
}        

.section p i {
    margin-right: 10px;   /* Espacio entre el icono y el texto */
    color: #a8a8a8;       /* Color de los iconos */
    font-size: 20px;      /* Tamaño de los iconos */
}

.section ul li {
   margin-bottom: 5px; /* Aumenta el espacio entre cada habilidad */
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

h2 {
    font-size: 20px;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
}

/* Estilos para la línea de tiempo */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    left: 22px;
    width: 2px;
    background: #777;
}

.timeline-item {
    margin-bottom: 30px;
    padding-left: 40px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 40px; /* Aumenta este valor para tener más espacio entre cada elemento de la línea de tiempo */
    text-align: justify;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #777;
    top: 10px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.ended::before {
    border: 4px solid red; /* Color rojo para los trabajos que ya se han terminado */
}

.timeline-item.current::before {
    border: 4px solid green; /* Color verde para los trabajos que aún están en curso */
}        

.timeline-item h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
}

.timeline-item h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.timeline-item h4 .date {
    color:#919191;;
    margin-left: 10px;
}

.timeline-item p {
    margin-bottom: 0;
}


.name-position p {
    font-size: 18px;
    margin-top: 0; 
    font-weight: bold; /* Hace los cargos en negrita */
    line-height: .1; /* Reduce el espacio entre las líneas */
}

.perfil-text {
    text-align: justify;
}

/* Elimina las viñetas y ajusta el interlineado de los elementos de la lista */
.section.formacion ul {
    list-style-type: none;
}

.section.formacion ul li {
    margin-bottom: 20px;
}

/* Cambia el color de texto de las fechas a gris y las hace en negrita */
.section.formacion p span {
    color: #919191;
    font-weight: bold;
    font-size: 14px;
}

/* Hace que el nombre de la institución sea en negrita */
.section.formacion h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
}

.section.formacion p {
    margin-top: 0;
    margin-bottom: 0;
    color: #000000;
    font-size: 14px;
}

.education-entry {
    display: flex;
}

.star {
    padding-right: 10px;
    align-self: center;
    color: rgb(36, 145, 72);
    font-size: 30px; /* Ajusta este valor a lo que necesites */
}

.idiomas {
    width: 200px;
    font-family: Arial, sans-serif;
    margin: 20px;
}

.idioma {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}


.barra {
    height: 20px;
    width: 180px;
    position: relative;
    border-radius: 10px; /* Añade bordes redondos a la barra externa */
    overflow: hidden; /* Esto asegura que el relleno también respete los bordes redondos */
}

.relleno {
    height: 100%;
    background-color: rgb(103, 255, 222);
}

.certificaciones {
    font-family: Arial, sans-serif;
    margin: 20px 20px 20px 0;
    font-size: .9em;
}

.certificaciones ul {
    list-style-type: circle;
    padding-left: 20px;
}

.certificaciones li {
    margin-bottom: 10px; 
}

.certificaciones li span {
    color: grey; /* Esto es opcional, pero puede ayudar a distinguir la entidad del nombre de la certificación */
    font-size: 1em; /* Reducir ligeramente el tamaño de la entidad para darle menos énfasis */
    font-weight: bold;
}

.pdf-download {
    position: fixed; 
    bottom: 10px;
    left: 10px;
    z-index: 1000;  /* Asegura que esté por encima de otros elementos */
}

.pdf-download a {
    color: red; /* Color del ícono de PDF. Puedes cambiarlo según tus preferencias */
    text-decoration: none; /* Elimina el subrayado del enlace */
}

.pdf-download i {
    margin-right: 5px;  /* Espacio entre el ícono y el texto */
}

.copyright {
    margin-top: auto;
    padding-top: 20px;
    font-size: 12px;
    text-align: center;
}