@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Work+Sans:wght@100;300;400;600;800&display=swap');
*{
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin: 0;
    padding: 0;
}
html{
    /* me permite deslizar cuando hago clic en los links del menu */
    scroll-behavior: smooth;
}

/* Estilo de la pantalla de carga */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fondo oscuro con algo de transparencia */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    animation: fadeOut 1s ease-out forwards;
}

/* Círculo de carga */
.circle {
    border: 5px solid transparent;
    border-top: 5px solid #15856e; /* Color verde */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite, expand 1s ease-in-out forwards;
}

/* Animación de giro */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Animación de expansión */
@keyframes expand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* Animación para ocultar el cargador después de un tiempo */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* Contenedor de la animación de deslizamiento */
#sliding-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1CB698; /* Color de fondo verde */
    z-index: 9999;
    animation: slideOut 1s ease-in-out forwards;
}

/* Animación de deslizamiento hacia fuera */
@keyframes slideOut {
    0% {
        left: 0;
        width: 100%;
        height: 100%;
    }
    50% {
        left: 100%;
        width: 0;
        height: 100%;
    }
    100% {
        left: -100%;
        width: 0;
        height: 100%;
        opacity: 0;
    }
}

/* Efecto de entrada del contenido */
#sliding-animation:after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #1e2326; /* Color verde de la animación */
    animation: slideIn 2s ease-in-out forwards;
}

/* Animación para la entrada desde el lado */
@keyframes slideIn {
    0% {
        left: -100%;
        width: 100%;
        height: 100%;
    }
    50% {
        left: 50%;
        width: 50%;
        height: 100%;
    }
    100% {
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* MENU */
.contenedor-header{
    background: #1e2326;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/*H2*/
.contenedor-header header .logo h2{
    font-size: 2.5rem;
    position: absolute;
    top: 1px;
    left: 5px;
}

#name_title {
    transition: 0.5s; /* Se aplica la transición al estado inicial */
    color: fff; /* O el color original */
    border: 5px solid transparent; /* O el borde original */
    border-radius: 0px; /* O el valor original */
    
}

#name_title:hover {
    color: #1CB698;
    border-radius: 200px;
}

#job_title {
    transition: 0.5s; /* Se aplica la transición al estado inicial */
    color: fff; /* O el color original */
    border: 5px solid transparent; /* O el borde original */
    border-radius: 0px; /* O el valor original */
}

#job_title:hover {
    color: #1CB698;
}

.border {
    color: #1e2326;
    text-shadow: 
    -1px -1px 0 white,
    1px -1px 0 white,
    1px 1px 0 white,
    -1px 1px 0 white
}

.wave{
    color: #1CB698;
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {
    0%, 100%{
        clip-path: polygon(
            0% 47%,
            10% 48%,
            33% 54%,
            54% 60%,
            70% 61%,
            84% 59%,
            100% 52%,
            100% 100%,
            0% 100%
        );
    }

    50% {
        clip-path: polygon(
            0% 60%,
            15% 65%,
            34% 66%,
            51% 62%,
            67% 50%,
            84% 45%,
            100% 46%,
            100% 100%,
            0% 100%
        );
    }
}


.contenedor-header header ul{
    display: flex;
    list-style: none;
}

.contenedor-header header nav ul li a {
    text-align: center;
    color: #fff;
    margin: 0px 22.5px;
    transition: 0.5s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.contenedor-header header nav ul li a:hover{
    color: #1CB698;
}

.nav-responsive{
    background-color: #1CB698;
    color:#fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    overflow: hidden;
    transition: 0.5s ease-in-out; /* Animación suave */
}

.nav-responsive:hover{
    box-shadow: 0 0 10px 5px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}


.translate ul{
    padding-left: 0;
    list-style: none;
    display: flex;
}

.translate img{
    width: 15px;
    height: 15px;
    display: flex;
}

.translate{
    display: flex;
    justify-content: end;
    width: 95%;
    /*margin: auto;*/
}

.translate a{
    text-decoration: none;
    display: flex;
}

.idioma{
    display: flex;
    align-items: left;
    gap: 10px;
    padding: 8px;
    top: -4px;
    /*border: 1px solid rgb(219, 219, 219);*/
    position: relative;
    width: 100%;
    transition: 0.8s;
    border: 0.1px solid #fff;
    border-radius: 5px;
    left: 15%;
    transition: 0.5s ease-in-out; /* Animación suave */
}


.idioma:hover{
    background-color:#1CB698;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 10px rgba(28, 182, 152, 0.7); /* Efecto de luz */

}


.idioma li{
    width: 100%;
    display: flex;
}

/* Lista de idiomas */
.idiomas{
    list-style: none;
    background-color:#252A2E;
    position: absolute;
    top: 70px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    overflow: hidden;
    border-radius: 10%;
    display: none;          /* Oculta el menú por defecto */
    opacity: 0;             /* Totalmente transparente */
    transform: translateY(-20px); /* Empieza desplazada hacia arriba */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Animación suave */

}


.idiomas li a{
    display: block;
    padding: 20px;
    font-size: 10px;
    color: rgb(85, 85, 85);
}

.idiomas li a:hover{
    background-color: rgb(219, 219, 219);
    border-radius: 15%;
}

.idiomas li img{
    border-radius: 50%;
    margin: 0px 10px;
}

.toggle{
    visibility: visible;
    display: block;         /* La lista se muestra */
    opacity: 1;             /* Totalmente visible */
    transform: translateY(0); /* Vuelve a su posición original */
}

.lista-idiomas:not(.toggle) {
    display: none; /* Después de que se desvanece */
}

/* SECCION I N I C I O */
.inicio{
    background: linear-gradient(to top, rgba(30,35,38,.8), rgba(30,35,38,1)),
    url(img/hacking2.jpg);
    background-size: cover;
    height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
}

/* Contenedor principal */
.inicio .contenido-banner{
    padding: 20px;
    background-color: #1e2326;
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
    transition: 1s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 360px; /* Ajustado a un tamaño más adecuado */
    height: 600px;
    padding-bottom: 50px;
}

.inicio .contenido-banner:hover{
    box-shadow: 0 0 20px 15px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

/* Imagen de perfil */
.inicio .contenido-banner img {
    margin-top: 80px;
    margin-left: 10px;
    border: 5px solid #15856e; /* Verde terminal */
    display: block;
    width: 180px; /* Ajustamos el tamaño para la imagen */
    height: 180px;
    border-radius: 50%;
    transition: opacity 1s ease-in-out;
}

.inicio .contenido-banner img.fade-out {
    opacity: 0; /* Al añadir esta clase, la imagen se desvanece */
}

/* Título y texto */
.inicio .contenido-banner h1{
    margin-top: 40px;
    font-size: 42px;
    font-family: 'Righteous';
}

.inicio .contenido-banner h2{
    font-size: 22px;
    /*font-weight: normal;*/
}

/* Animación de los botones de redes */
@keyframes aparecerRedes {
    from {
        transform: translateY(-50px); /* Comienza arriba */
        opacity: 0; /* Comienza invisible */
    }
    to {
        transform: translateY(0); /* Se mueve a su posición original */
        opacity: 1; /* Se vuelve completamente visible */
    }
}

/* Estilo para los botones de redes */
.inicio .contenido-banner .redes a{
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .3s;
    animation: aparecerRedes 1s ease-out forwards; /* Aparecer con animación */
    opacity: 0; /* Inicia invisible */
}

/* Asegura que la animación se ejecute al cargar la página */
.inicio .contenido-banner .redes a:nth-child(1) {
    animation-delay: 0.5s; /* El primer botón se anima después de 0.5s */
}

.inicio .contenido-banner .redes a:nth-child(2) {
    animation-delay: 1s; /* El segundo botón se anima después de 1s */
}

.inicio .contenido-banner .redes a:nth-child(3) {
    animation-delay: 1.5s; /* El tercer botón se anima después de 1.5s */
}

.inicio .contenido-banner .redes a:hover{
    box-shadow: 0 0 20px 10px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
    background-color: #1CB698;
}

.inicio .contenido-banner .redes a:hover{
    box-shadow: 0 0 20px 10px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
    background-color: #1CB698;
}

.sobremi{
    background-color: #1e2326;
    color: #fff;
    padding: 50px 20px;
}
.sobremi .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.sobremi h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}
.sobremi .contenido-seccion p{
    font: 18px;
    line-height: 22px;
    margin-bottom: 20px;
}
.sobremi .contenido-seccion p span{
    color: #1CB698;
    font-weight: bold;
}
.sobremi .fila{
    display: flex;
}
.sobremi .fila .col
{
    width: 50%;
}
.sobremi .fila .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}
.sobremi .fila .col ul{
    list-style: none;
}
.sobremi .fila .col ul li{
    margin: 12px 0;
}
.sobremi .fila .col ul li strong{
    display: inline-block;
    color: #1CB698;
    width: 130px;
}
.sobremi .fila .col ul li span{
    background-color: #1CB698;
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
}
.sobremi .fila .col .contenedor-intereses{
    display: flex;
    flex-wrap: wrap;
}
.sobremi .fila .col .contenedor-intereses .interes{
    width: 100px;
    height: 100px;
    background-color: #252A2E;
    border-radius: 10px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;

}.sobremi .fila .col .contenedor-intereses .interes:hover{
    background-color: #1CB698;
    box-shadow: 0 0 15px 15px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

.sobremi .fila .col .contenedor-intereses .interes i{
    font-size: 30px;
    margin-bottom: 10px;
}
.sobremi button{
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 80px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    transition: 1s;
}

.sobremi button:hover{
    border-radius: 8px;
    box-shadow: 0 0 20px 10px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

.sobremi button .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #1CB698;
    z-index: -1;
    transition: 1s;
}

.sobremi button:hover .overlay{
    width: 100%;
}
/* SECCION S K I L L S */
.skills{
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}
.skills .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.skills h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}
.skills .fila{
    display: flex;
}
.skills .fila .col{
    width: 50%;
    padding: 0 20px;
}
.skills .fila .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}
.skills .skill > span{
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.skills .skill .barra-skill{
    height: 8px;
    width: 80%;
    background-color: #131517;
    position: relative;
    margin-bottom: 30px;
}
.skills .skill .progreso{
    background-color: #1CB698;
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
}
.skills .skill .barra-skill span{
    position: absolute;
    height: 40px;
    width: 40px;
    background-color: #1CB698;
    border-radius: 50px;
    line-height: 40px;
    text-align: center;
    top: -17px;
    right: -15px;
    font-size: 14px;
}
/* Estas clases se agregaran dinamicamente mediante javascript */
.skills .skill .python{
    width: 0%;
    animation: 2s python forwards;
}
@keyframes python {
    0%{width: 0%;}
    100%{width: 80%;}
}

.skills .skill .htmlcss{
    width: 0%;
    animation: 2s htmlcss forwards;
}
@keyframes htmlcss {
    0%{width: 0%;}
    100%{width: 60%;}
}

.skills .skill .c{
    width: 0%;
    animation: 2s c forwards;
}
@keyframes c {
    0%{width: 0%;}
    100%{width: 55%;}
}

.skills .skill .linux{
    width: 0%;
    animation: 2s linux forwards;
}
@keyframes linux {
    0%{width: 0%;}
    100%{width: 80%;}
}

.skills .skill .redes{
    width: 0%;
    animation: 2s redes forwards;
}
@keyframes redes {
    0%{width: 0%;}
    100%{width: 65%;}
}

.skills .skill .comunicacion{
    width: 0%;
    animation: 2s comunicacion forwards;
}
@keyframes comunicacion {
    0%{width: 0%;}
    100%{width: 80%;}
}

.skills .skill .trabajo{
    width: 0%;
    animation: 2s trabajo forwards;
}
@keyframes trabajo {
    0%{width: 0%;}
    100%{width: 70%;}
}

.skills .skill .creatividad{
    width: 0%;
    animation: 2s creatividad forwards;
}
@keyframes creatividad {
    0%{width: 0%;}
    100%{width: 99%;}
}

.skills .skill .dedicacion{
    width: 0%;
    animation: 2s dedicacion forwards;
}
@keyframes dedicacion {
    0%{width: 0%;}
    100%{width: 75%;}
}

.skills .skill .proyect{
    width: 0%;
    animation: 2s proyect forwards;
}
@keyframes proyect {
    0%{width: 0%;}
    100%{width: 50%;}
}
/* SECCION CURRICULUM */
.curriculum{
    background-color: #1e2326;
    color: #fff;
    padding: 50px 20px;
}
.curriculum .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.curriculum h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;

}
.curriculum .fila{
    display: flex;
    justify-content: space-between;
}
.curriculum .fila .col{
    width: 49%;
    padding: 0 20px;
}

.curriculum .fila .col h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 25px;
}

.curriculum .fila .izquierda{
    border-right: 2px solid #252A2E;
}

.curriculum .fila .derecha{
    border-left: 2px solid #252A2E;
}

.curriculum .fila .item{
    padding: 25px;
    margin-bottom: 30px;
    background-color: #252A2E;
    position: relative;
    transition: 1s;
}

.curriculum .fila .item:hover{
    border-radius: 5px;
    box-shadow: 0 0 15px 10px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

.curriculum .fila .item h4{
    font-size: 20px;
    margin-bottom: 10px;
}

.curriculum .fila .item .casa{
    color: #1CB698;
    font-size: 22px;
    font-weight: bold;
    display: block;
}

.curriculum .fila .item .fecha{
    display: block;
    color: #1CB698;
    margin-bottom: 10px;
}

.curriculum .fila .item p{
    line-height: 24px;
}

.curriculum .fila .izq{
    border-right: 2px solid #1CB698;
    margin-right: 20px;
}


.curriculum .fila .der{
    border-left: 2px solid #1CB698;
    margin-left: 20px;
}

.curriculum .fila .item .conectori{
    height: 2px;
    background-color: #1CB698;
    width: 47px;
    position: absolute;
    top: 50%;
    right: -47px;
    z-index: 5;
}

.curriculum .fila .item .conectori .circuloi{
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #1CB698;
    float: right;
    position: relative;
    bottom: 4px;
}

.curriculum .fila .item .conectord{
    height: 2px;
    background-color: #1CB698;
    width: 47px;
    position: absolute;
    top: 50%;
    left: -47px;
    z-index: 5;
}

.curriculum .fila .item .conectord .circulod{
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: #1CB698;
    float: left;
    position: relative;
    bottom: 4px;
}

/* SECCION PORTFOLIO */
.portfolio{
    background-color: #252A2E;
    color: #fff;
    padding: 50px 20px;
}

.portfolio .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}

.portfolio h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.portfolio .galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.portfolio .galeria .proyecto{
    position: relative;
    max-width: 340px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
}

.portfolio .galeria .proyecto img{
    width: 100%;
    display: block;
}

.portfolio .galeria .proyecto .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(28,182,152,.8), rgba(28,182,152,.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1s;
    font-size: 18px;
    letter-spacing: 3px;
    opacity: 0;
    border-radius: 12.5px;
}

.portfolio .galeria .proyecto .overlay h3{
    margin-bottom: 20px;
    transition: 1s;
}

.portfolio .galeria .proyecto .overlay:hover{
    box-shadow: 0 0 20px 15px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
    opacity: 1;
}

.portfolio .galeria .proyecto .overlay:hover h3{
    margin-bottom: 0px;
}

/* SECCION COURSES */
.courses{
    background-color:#1e2326;
    color: #fff;
    padding: 50px 20px;
}

.courses .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}

.courses h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.courses .galeria_course{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.courses .galeria_course .course{
    position: relative;
    max-width: 340px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
}

.courses .galeria_course .course img{
    width: 100%;
    display: block;
}

.courses .galeria_course .course .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(28,182,152,.8), rgba(28,182,152,.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1s;
    font-size: 18px;
    letter-spacing: 3px;
    opacity: 0;
    border-radius: 12.5px;
}

.courses .galeria_course .course .overlay h3{
    margin-bottom: 20px;
    transition: 1s;
}

.courses .galeria_course .course .overlay:hover{
    box-shadow: 0 0 20px 15px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
    opacity: 1;
}

.courses .galeria_course .course .overlay:hover h3{
    margin-bottom: 0px;
}

#verr:hover{
    color: #111416;
}

/* SECCION CONTACTO */
.contacto{
    /*background-image: url(img/background_contact.png);*/
    background-color:#252A2E;
    color: #fff;
    padding: 50px 0;
}

.contacto .contenido-seccion{
    max-width: 1110px;
    margin:auto;
}

.contacto h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}

.contacto .fila{
    display:flex;
}

.contacto .col input, .contacto .col textarea{
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    margin-bottom: 20px;
    background-color:#1e2326;
    color: #fff;
    font-size: 18px;
    transition: 0.8s;
}

.contacto .col input:hover, .contacto .col textarea:hover{
    box-shadow: 0 0 20px 5px rgba(28, 182, 151, 0.71); /* Luz más suave y difusa */
}

.contacto button{
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fff;
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    transition: 1s;
}

.contacto button:hover{
    border-radius: 8px;
    box-shadow: 0 0 10px 5px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

.contacto button .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #1CB698;
    z-index: -1;
    transition: 1s;
}

.contacto button:hover .overlay{
    width: 100%;
}

.contacto .col img{
    width: 100%;
}

.contacto .col .info{
    position: absolute;
    top: 40%;
    background-color: #252A2E;
    padding: 20px;
    max-width: 350px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contacto .col .info ul{
    list-style: none;
}

.contacto .col .info ul li{
    margin-bottom: 20px;
}

.contacto .col .info ul li i{
    color: #1CB698;
    display: inline-block;
    margin-right: 20px;
}
footer{
    background-color:#111416;
    color: #fff;
    padding: 50px 0 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
}

footer .redes{
    margin-bottom: 20px;
}

footer .redes a{
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 100%;
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin: 40px 5px;
    font-size: 20px;
    transition: .5s;
}

footer .redes a:hover{
    background-color: #1CB698;
    box-shadow: 0 0 20px 15px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

footer .arriba{
    display: block;
    width: 50px;
    height: 50px;
    background-color: #1CB698;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 18px;
    transition: .8s;
}

footer .arriba:hover{
    background-color: #15856e;
    box-shadow: 0 0 20px 15px rgba(28, 182, 152, 0.5); /* Luz más suave y difusa */
}

#particles-js {
    position:relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Asegura que las partículas queden detrás del contenido */
}


/* SECCION RESPONSIVE */
@media screen and (max-width:1720px){
    nav{
        display: none;
    }
    .nav-responsive{
        display: block;
    }
    nav.responsive{
        display: block;
        position: absolute;
        right: 0;
        top: 60px;
        background-color: #252A2E;
        width: 180px;
        border-radius: 10px;
    }


    nav.responsive ul{
        display: block !important;
    }
    
    nav.responsive ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 0;
    }


    .contenedor-header header .logo h2{
        font-size: 2rem;
        top: 10px;
        left: 45px;
    }

    .idioma{
        display: flex;
        align-items: center;
        gap: 16.5px;
        padding: 12px;
        top: 0px;
        transition: 1s;
        left: 3%;
        border-radius: 0%;
        border: none;
    }

    .idioma:hover{
        background-color:#1CB698;
        border-radius: 0%;
        left: 5%;
    }

    /* Lista de idiomas */
    .idiomas{
        position: absolute;
        top: 360px;
        display: flex;
        flex-direction: column;
        /*visibility: hidden;*/
    }

    #separator{
        display: none;
    }



}

@media screen and (max-width:700px){
    .sobremi .fila{
        display: block;
    }
    .sobremi .fila .col{
        width: fit-content;
    }

    .skills .fila{
        display: block;
    }
    .skills .fila .col{
        width: 100%;
    }
    .skills .fila .col .barra-skill{
        width: 100%;
    }

    .curriculum .fila{
        display: block;
    }
    .curriculum .fila .col{
        width: 90%;
    }
    .curriculum .fila .derecha{
        margin-left: 20px;
    }

    .portfolio .galeria{
        display: block;
        width: 100%;
    }
    .portfolio .galeria .proyecto{
        max-width: 100%;
    }
    .portfolio .galeria .proyecto img{
        width: 100%;
    }
    .contacto .fila{
        display: block;
    }
    .contacto .fila .col{
        width: 100%;
    }

    #separator{
        display: none;
    }
}