/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
}

/* Encabezado principal */
.main-header {
    text-align: center;
    background: #007bff;
    color: white;
    padding: 2rem 0;
}

.main-header .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.main-header h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

.main-header p {
    font-size: 1.2rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: bold;
}

/* Secciones */
.section {
    padding: 2rem 0;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.section p, .section ul {
    font-size: 1rem;
    color: #555;
}

.section ul {
    list-style-type: none;
    padding: 0;
}

.section ul li {
    margin: 0.5rem 0;
}

/* Education & Experience Sections */
.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}


.education-item, .experience-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    
    
}



.education-item h3, .experience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.education-item p, .experience-item p {
    font-size: 1rem;
    color: #555;
    margin: 0.3rem 0;
}

.education-content, .experience-content {
    flex: 1; 
    padding-right: 1rem;
    text-align: left;
}

.education-logo img, .experience-logo img {
    max-width: 200px; 
    max-height: 160px; 
    object-fit: contain; 
    border-radius: 4px;
}

/* Task Description (hidden by default) */
.task {
    position: relative;
    margin-bottom: 1rem;
}

.task-description {
    
    display: none;
    flex: 1;
    position: relative;
    top: 0;
    left: 10%;
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    width: 70%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    z-index: 10;
    
    
}

.task:hover .task-description {
    display: block;
}

.task p {
    margin: 0;
    cursor: pointer;
}

/* Technical Skills Section */
.skills-category {
    margin-bottom: 3rem;
}

.skills-category h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.skills-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.skill {
    text-align: center;
    margin: 1rem;
}

.skill-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
}

.skill p {
    font-size: 1rem;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-icons {
        flex-direction: row;
        justify-content: space-around;
    }

    .skill {
        margin: 1rem;
    }
    .education-item, .experience-item{
        flex-direction: column;
    }
}

/* Contact Section */
#contact a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

#contact a:hover {
    color: #686868;
}

#contact i {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem 0;
    background: #007bff;
    color: white;
}




