/*General*/
body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    background: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
}
#skills .shrinked .language-container-wrapper, 
#skills .shrinked > div:not(:first-child) {
    display: none;
}

#skills .shrinked h3 {
    cursor: pointer;
}

#skills .shrinked h3::after {
    content: " ▼"; 
}

#skills h3::after {
    content: " ▲"; 
    transition: transform 0.2s ease;
}

/*Nav*/
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    position: fixed;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

nav a {
    text-decoration: none;
}

nav a div {
    height: 40px;
    width: 40px;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    transition: border-color 0.3s ease, transform 0.3s ease;
    position: relative;
    border: 2px solid transparent;

}

nav a img {
    filter: brightness(0) invert(1);
}

nav a div:hover {
    animation: loading-border 0.8s;
     

}

@keyframes loading-border {
    0% {
        border-color: transparent;
        border-width: 2px;
        border-style: solid;
        border-top-color: #ff0099;
    }
    25% {
        border-right-color: #ff0099;
    }
    50% {
        border-bottom-color: #ff0099;
    }
    75% {
        border-left-color: #ff0099;
    }
    100% {
        border-color: #ff0099; 
    }
}

nav a.active div {
    border-color: #ff0099; /* Color distintivo */
    transform: scale(1.2); /* Aumentar el tamaño como indicativo */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/*Header*/
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    position: relative;
    background: url('../resources/imgs/header.webp') no-repeat center center/cover;
    animation: backgroundMove 20s linear infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero div {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px rgba(0, 255, 255, 0.7);
    margin: 0;
}

.hero p {
    font-size: 1.2rem;
    color: #ff0099;
    text-shadow: 0 0 10px #ff0099, 0 0 20px #ff0099, 0 0 30px rgba(255, 0, 153, 0.7);
    margin: 20px 0;
}



/*Main*/
.content-section {
    text-align: center;
    padding: 20px;
    min-height: 40vh;
}
.content-section h2 {
    font-size: 2rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 20px;
}
.content-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
}
/*About Me*/
#about-me{
    display: flex
    ;
        flex-direction: column;
        justify-content: space-around;
}
.about-me-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.about-me-wrapper .text-content{
    max-width: 900px;
}
/*Skills*/
/* Estilos para la sección de Skills */
#skills {
    padding: 50px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
}

#skills h2 {
    font-size: 2.5rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 30px;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-around;
}

.skills-container > div {
    flex: 1 1 45%;
    margin: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}
.language-container-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.skills-container > div:hover {
    transform: translateY(-5px);
}

#skills h3 {
    font-size: 1.8rem;
    color: #ff0099;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #ff0099;
}

#skills h4,h6 {
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 10px;
    text-shadow: 0 0 5px #00ffff;
}

#skills h5 {
    font-size: 1.2rem;
    color: #ff0099;
    margin-bottom: 5px;
}

#skills ul {
    list-style: none;
    padding: 0;
    margin: 0;

}

#skills li {
    font-size: 1rem;
    color: #fff;
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;

}

#skills li::before {
    content: "\2022";
    color: #00ffff;
    font-weight: bold;
    margin-right: 10px;
} 

#skills .content-wrapper {
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

#skills .expandable .content-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#skills .expandable.expanded .content-details {
    max-height: 1500px;
}

.lang-container-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.lang-container-wrapper div{
    margin: 12px
}
/*Experience*/
.timeline {
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #00ffff;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #ff0099;
    border-radius: 50%;
    border: 3px solid #00ffff;
    transform: translateX(-50%);
}

.timeline-date {
    width: 50%;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: #00ffff;
}

.timeline-content {
    width: 50%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.timeline-content h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #ff0099;
}

.timeline-content p {
    margin: 5px 0 0;
    color: #fff;
}

/* Education Section Styles */
/* General Styles for the Education Section */
#education {
    
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    margin: 30px auto;
    place-content: center;
}

/* Title Styles */
#education h2 {
    text-align: center;
    
    font-size: 2.5rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    margin-bottom: 30px;
}

/* Individual Education Item Styles */
.education-item {
    margin: 20px 0;
    padding: 20px;
    background: rgba(15, 15, 15, 0.8);
    border: 2px solid #00ffff;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 800px;
}

.education-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

/* Text inside the Education Items */
.education-item p {
    margin: 0;
    font-size: 1.2rem;
    color: #eeeeee;
    line-height: 1.6;
}

/* Highlight for Strong Text */
.education-item p strong {
    color: #ff33cc;
    text-shadow: 0 0 8px #ff33cc, 0 0 15px rgba(255, 51, 204, 0.5);
}

/* Course Text Styles */
.education-item p .course {
    color: #00ffff;
    text-shadow: 0 0 6px #00ffff, 0 0 12px rgba(0, 255, 255, 0.4);
    font-style: italic;
    font-weight: bold;
}

/* Date Styles */
.education-item p .dates {
    color: #dddddd;
    font-size: 1rem;
    margin-left: 10px;
    background: rgba(255, 51, 204, 0.2);
    padding: 5px 10px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
}
.education-container-wrapper{
justify-self: center;
}

 #contact-me {
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        margin: 30px auto;
    }

    #contact-me h2 {
        font-size: 2rem;
        color: #00ffff;
        text-shadow: 0 0 10px #00ffff;
        margin-bottom: 20px;
    }

    .contact-links p {
        font-size: 1rem;
        color: #fff;
        margin-bottom: 15px;
    }

    .contact-links a {
        color: #ff0099;
        text-decoration: none;
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }

    .contact-links a:hover {
        color: #00ffff;
        text-shadow: 0 0 8px #00ffff;
    }

    /* Footer */
    footer {
        text-align: center;
        padding: 10px 20px;
        background: rgba(0, 0, 0, 0.8);
    }

    footer p {
        font-size: 14px;
        color: #aaa;
    }