/* Estilos generales */ :root { /* Colores modo claro */ --primary-color: #4361ee; --secondary-color: #3a0ca3; --background-color: #f8f9fa; --text-color: #212529; --card-color: #ffffff; --border-color: #dee2e6; --accent-color: #f72585; --hover-color: #4895ef; /* Colores modo oscuro */ --dark-primary: #4895ef; --dark-secondary: #4361ee; --dark-background: #121212; --dark-text: #e0e0e0; --dark-card: #1e1e1e; --dark-border: #333333; --dark-accent: #f72585; --dark-hover: #4cc9f0; } body { font-family: 'Arial', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--background-color); margin: 0; padding: 20px; display: flex; justify-content: center; align-items: center; min-height: 100vh; transition: all 0.3s ease; } .cv-container { background-color: var(--card-color); max-width: 800px; width: 100%; padding: 30px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); border-radius: 12px; transition: all 0.3s ease; } /* Encabezado */ .cv-header { display: flex; align-items: center; margin-bottom: 20px; border-bottom: 2px solid var(--border-color); padding-bottom: 20px; transition: all 0.3s ease; } .profile-pic img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-right: 25px; border: 3px solid var(--primary-color); transition: all 0.3s ease; } .header-info h1 { margin: 0; color: var(--primary-color); font-size: 2.2rem; transition: all 0.3s ease; } .header-info h2 { margin: 5px 0; font-weight: 600; color: var(--secondary-color); font-size: 1.4rem; transition: all 0.3s ease; } /* Estilos mejorados para la información de contacto */ .contact-info { margin: 10px 0; font-size: 0.95em; display: flex; flex-wrap: wrap; gap: 15px; transition: all 0.3s ease; } .contact-info a { color: var(--text-color); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 20px; background-color: rgba(67, 97, 238, 0.1); transition: all 0.3s ease; } .contact-info a:hover { background-color: var(--primary-color); color: white; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .contact-info a:active { transform: translateY(0); } /* Secciones */ .cv-section { margin-bottom: 30px; transition: all 0.3s ease; } .cv-section h3 { color: var(--primary-color); border-bottom: 2px solid var(--border-color); padding-bottom: 8px; font-size: 1.3rem; margin-bottom: 15px; transition: all 0.3s ease; } .section-item { margin-bottom: 20px; transition: all 0.3s ease; } .item-subtitle { font-style: italic; color: var(--text-color); opacity: 0.8; margin: 5px 0 10px; font-size: 0.95em; transition: all 0.3s ease; } ul { padding-left: 20px; } .skills-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding-left: 0; } .skills-list li { background: var(--primary-color); color: white; padding: 8px 15px; border-radius: 20px; font-size: 0.9em; transition: all 0.3s ease; } /* Botón de descarga mejorado */ .download-btn { display: inline-flex; align-items: center; gap: 8px; margin: 20px auto; padding: 12px 24px; background-color: var(--primary-color); color: white; border: none; border-radius: 30px; cursor: pointer; font-size: 16px; font-weight: 600; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .download-btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .download-btn:active { transform: translateY(0); } /* Modo oscuro */ body.dark-mode { background-color: var(--dark-background); color: var(--dark-text); } body.dark-mode .cv-container { background-color: var(--dark-card); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); } body.dark-mode .cv-header, body.dark-mode .cv-section h3 { border-bottom-color: var(--dark-border); } body.dark-mode .header-info h1, body.dark-mode .cv-section h3 { color: var(--dark-primary); } body.dark-mode .header-info h2 { color: var(--dark-secondary); } body.dark-mode .profile-pic img { border-color: var(--dark-primary); } body.dark-mode .contact-info a { color: var(--dark-text); background-color: rgba(72, 149, 239, 0.1); } body.dark-mode .contact-info a:hover { background-color: var(--dark-primary); color: white; } body.dark-mode .item-subtitle { color: var(--dark-text); opacity: 0.7; } body.dark-mode .skills-list li { background: var(--dark-primary); } body.dark-mode .download-btn { background-color: var(--dark-primary); color: white; } body.dark-mode .download-btn:hover { background-color: var(--dark-secondary); } /* Botón modo oscuro mejorado */ .dark-mode-btn { position: fixed; top: 20px; right: 20px; background: var(--primary-color); color: white; border: none; border-radius: 50%; width: 45px; height: 45px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 22px; z-index: 100; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .dark-mode-btn:hover { transform: scale(1.1) rotate(15deg); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } body.dark-mode .dark-mode-btn { background: var(--dark-primary); color: white; } /* Responsive */ @media (max-width: 600px) { .cv-header { flex-direction: column; text-align: center; } .profile-pic img { margin-right: 0; margin-bottom: 15px; } .contact-info { justify-content: center; } .dark-mode-btn { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 20px; } .header-info h1 { font-size: 1.8rem; } .header-info h2 { font-size: 1.2rem; } }