/* Estilos para el lado izquierdo */

.ladoizquierdo {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #218da4;
    padding: 100px;
    gap: 40px; 
    width: 550px;
    border-radius: 20px;
}

.perfil img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.tarjeta {
    width: 100%; 
    background-color: white; 
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


.tarjeta-header {
    background-color: #1fa3a1;
    padding: 10px;
    text-align: center;
    border-radius: 20px;
}

.tarjeta-header h1 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
    font-family: Arial, sans-serif;
    border-radius: 20px ;
}

.tarjeta-body {
    padding: 15px;
    background-color: white;
    border-radius: 20px;
    text-align: center;
}

.tarjeta-body h2 {
    margin: 0 0 10px 0;
    color: #1fa3a1;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    border-radius: 20px;
}

.tarjeta-body h3 {
    margin: 5px 0;
    color: #333333;
    font-size: 0.95rem;
    font-weight: normal;
    font-family: Arial, sans-serif;
    border-radius: 20px;
}

/* Estilos para el lado derecho */

.ladoderecho {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 65%;
    padding: 20px;
}

.contenedor-cv {
    display: flex;
    flex-direction: row; 
    width: 1000px; 
    margin: 20px auto; 
    gap: 20px;           
}

/* Estilos para la sección de noche */

body.dark-mode {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%) !important;
}

body.dark-mode .tarjeta-body {
    background-color: #222831 !important;
}


body.dark-mode .tarjeta {
    background-color: #222831 !important;
}

body.dark-mode .tarjeta-body h2,
body.dark-mode .tarjeta-body h3,
body.dark-mode .tarjeta-body p {
    color: #e0e0e0 !important;
}

body.dark-mode #toggle-mode {
    background-color: #ffb000;
    color: #111;
    border: none;
    font-weight: bold;
}