body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #e3e3e3, #f9f9f9);
    display: flex;
    justify-content: center;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 850px;
    max-width: 95%;
    background: white;
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

header {
    background: linear-gradient(135deg, #f8c8dc, #f5b6cf);
    color: #333;
    color: white;
    text-align: center;
    padding: 25px;
    border-radius: 12px;
}

h1, h2, h3 {
    font-weight: 600;
}

p, li {
    font-weight: 300;
}

.toggle-btn {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.menu {
    margin-top: 15px;
}

.menu-link {
    text-decoration: none;
    margin: 5px;
    padding: 8px 12px;
    background: #ffe4ec;
    color: #333;
    border-radius: 20px;
    display: inline-block;
    transition: 0.3s;
}

.menu-link:hover {
    background: #3498db;
    color: white;
}

section {
    margin-top: 20px;
    padding: 15px;
    border-left: 5px solid #f5a3c7;
    background: #fafafa;
    border-radius: 8px;
}

.job {
    margin-bottom: 15px;
    padding: 10px;
    border-left: 3px solid #2ecc71;
    background: white;
    border-radius: 6px;
}

button {
    display: block;
    margin: 25px auto;
    padding: 12px 25px;
    border: none;
    background: #3498db;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

button:hover {
    background: #2980b9;
}



/* SKILLS */
.skill {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.skill-info img {
    width: 25px;
    height: 25px;
}

/* BARRA */
.barra {
    width: 100%;
    height: 12px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.progreso {
    height: 100%;
    border-radius: 10px;
}


.html {
    width: 90%;
    background: #e67e22;
}

.css {
    width: 80%;
    background: #3498db;
}

.js {
    width: 70%;
    background: #f1c40f;
}

.sql {
    width: 60%;
    background: #2ecc71;
}

/* SECCION CONTACTO */
.contacto-section {
    margin-top: 40px;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 12px;
    text-align: center;
}

/* TITULO */
.contacto-section h2 {
    margin-bottom: 20px;
}

/* FORM */
.formulario {
    max-width: 600px;
    margin: auto;
    text-align: left;
}


.formulario input,
.formulario textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}


.formulario button {
    background: #8e44ad;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.formulario button:hover {
    background: #732d91;
}

.link-empresa {
    text-decoration: none;
    color: #e84393;
    font-weight: 500;
    margin-left: 5px;
}

.link-empresa:hover {
    text-decoration: underline;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; 
}

.foto-perfil {
    width: 160px;   
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px; 
    border: 4px solid white;
}

header h1 {
    margin: 5px 0;
}

header p {
    margin: 0;
}

.menu {
    margin-top: 10px;
}

.foto-perfil {
    transition: transform 0.3s;
}

.foto-perfil:hover {
    transform: scale(1.05);
}


.mensaje-exito {
    display: none;
    margin-top: 15px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}