@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Work+Sans:wght@100;200;300;400;600;800&display=swap');
*{
    box-sizing: border-box;
    font-family: 'Work Sans';
    margin: 0;
    padding: 0;
}
html{
    /* PERMITE DESLIZAR CUANDO HACES CLICK EN EL MENU */
    scroll-behavior: smooth;
}
img{
    max-width: 100%;
    display: block;
    
}
.p{

    background: #ff0000;
    
    color: #FFFF;
    
    text-align: center;

    padding: 5px;
    
    }
/* MENU */
.contenedor-header{
    background: #1a1b22;
    /* ***********position fixed : queda fijo*********** */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
}
.contenedor-header header{
    max-width: 1100px;
    margin: auto;
    display: flex;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}
.contenedor-header header .logo a{
    font-family: 'Righteous';
    font-size: 36px;
    color: #00b5b5;
    text-decoration: none;
}
.contenedor-header header ul{
    display: flex;
    list-style: none;
}
.contenedor-header header ul li a{
    color: white;
    text-align: none;
    margin: 0 15px;
    padding: 3px;
    transition: .5s;
    text-decoration: none;
}
.contenedor-header header nav ul li a:hover{
    color: #00b5b5;
}
.nav-responsive{
    background-color: #00b5b5;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor:pointer;
    display: none;
}
/* SECCION */
.inicio{
    background:
     linear-gradient(to top, rgba(30,35,38,.8),
      rgba(30,35,38,1)),
      url(../img/fondo.jpg);
      background-size: cover;
      height: 100vh;
      color: #fff;
      display: flex;
      align-items: center;
}
.inicio .contenedor-banner{
    padding: 20px;
    background-color: rgb(26, 27, 34);
    max-width: 350px;
    margin: auto;
    text-align: center;
    border-radius: 40px;
}
.inicio .contenedor-banner img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin-top: 20px;
    border: 8px solid  #00b5b5;
    display: block;
    width: 100%;
    margin: auto;
}
.inicio .contenedor-banner h1{
    margin-top: 15px;
    font-size: 25px;
    font-family: 'Righteous';
}
.inicio .contenedor-banner h2{
    font-size: 15px;
    font-weight: normal;
}
.inicio .contenedor-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;
}
.inicio .contenedor-banner .redes a:hover{
    background-color: #00b5b5;
}
/* Seccion no.2 Sobre mi */
.sobremi{
    background-color: #1a1b22;
    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: #00b5b5;
    font-weight: bold ;
}
.sobremi .fila{
    display: flex;
}
.sobremi .fila .columna{
    width: 50%;
}
.sobremi .fila .columna h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 20px;
}
.sobremi .fila .columna ul{
    list-style: none;
}
.sobremi .fila .columna ul li{
    margin: 12px 0;
}
.sobremi .fila .columna ul li strong{
    display: inline-block;
    color: #00b5b5;
    width: 130px;
}
.sobremi .fila .columna ul li span{
    background-color: #00b5b5;
    padding: 3px;
    font-weight: bold;
    border-radius: 5px;
}
.sobremi .fila .columna .contenedor-intereses{
    display: flex;
    flex-wrap: wrap;
}
.sobremi .fila .columna .contenedor-intereses #interes{
    width: 100px;
    height: 100px;
    background-color:rgb(61, 62, 73);
    border-radius: 10px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
.sobremi .fila .columna .contenedor-intereses #interes:hover{
    background-color: #00b5b5;
}
.sobremi .fila .columna .contenedor-intereses #interes i{
    font-size: 30px;
    margin-bottom: 10px;
}
.sobremi button{
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 8px; 
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
}
.sobremi button a{
    color: #fff;
    position: relative;
    text-decoration: none;
}

.sobremi a{
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 8px; 
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
    text-decoration: none;
}
#juegos-div{
    width: 200px;
    height: 200px;
    background-color:rgb(61, 62, 73);
    border-radius: 10px;
    margin: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
    display: none;
}
/* animacion */
.sobremi button .overlay{
    position: absolute;
    border-radius: 8px;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #00b5b5;
    z-index: -1;
    transition: 1s;
}
.sobremi button:hover .overlay{
    width: 100%;
}
/* ************************************** */
.sobremi a .overlay{
    position: absolute;
    border-radius: 8px;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #00b5b5;
    z-index: -1;
    transition: 1s;
}
.sobremi a:hover .overlay{
    width: 100%;
}

/* Seccion Skills */
.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 .columna{
    width: 50%;
    padding: 0 20px;
}
.skill .fila .columna h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 20px;
}
.skills .skill > span{
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.skills .skill .barra-skill{
    height: 8px;
    width: 99%;
    background-color: #131517;
    position: relative;
    margin-bottom: 30px;
}
.skills .skill .progreso{
    background-color:#00b5b5 ;
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
}
.skills .skill .barra-skill span{
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #00b5b5;
    border-radius: 50px;
    line-height: 40px;
    text-align: center;
    top: -17px;
    right: -15px;
    font-size: 14px;
}
/* Esto se agrega dinamicamente mediante JS */
.skills .skill .Javascript{
    width: 0%;
    animation: 2s Javascript forwards;
}
@keyframes Javascript{
    0%{width:0%;}
    100%{width: 56%;}
}
.skills .skill .htmlcss{
    width: 0%;
    animation: 2s htmlcss forwards;
}
@keyframes htmlcss{
    0%{width:0%;}
    100%{width: 75%;}
}
.skills .skill .php{
    width: 0%;
    animation: 2s php forwards;
}
@keyframes php{
    0%{width:0%;}
    100%{width: 88%;}
}
.skills .skill .ejemplo{
    width: 0%;
    animation: 2s ejemplo forwards;
}
@keyframes ejemplo{
    0%{width:0%;}
    100%{width: 48%;}
}
.skills .skill .comunicacion{
    width: 0%;
    animation: 2s comunicacion forwards;
}
@keyframes comunicacion{
    0%{width:0%;}
    100%{width: 80%;}
}
.skills .skill .trabajoenequipo{
    width: 0%;
    animation: 2s trabajoenequipo forwards;
}
@keyframes trabajoenequipo{
    0%{width:0%;}
    100%{width: 75%;}
}
.skills .skill .creatividad{
    width: 0%;
    animation: 2s creatividad forwards;
}
@keyframes creatividad{
    0%{width:0%;}
    100%{width: 63%;}
}
.skills .skill .dedicacion{
    width: 0%;
    animation: 2s dedicacion forwards;
}
@keyframes dedicacion{
    0%{width:0%;}
    100%{width: 90%;}
}
/* SEccion Curriculum */
.cutoff-text{
    --max-line: 2;
    --line-height: 1.4;

    max-height: calc(var(--max-line) * 1em * var(--line-height));
    line-height: var (--line-height);
    overflow: hidden;
    position: relative;
}
.cutoff-text:has(+ .btn-leerMas:not(:checked))::before{
    content: "";
    position: absolute;
    height: calc(1em * var (--line-height));
    width: 100%;
    bottom: 0;
    pointer-events: none;
}
.btn-leerMas{
    appearance: none;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 8px;
    width: fit-content;
    display: block;
    margin: 8px auto;
    padding: 5px 26px;
    font-size: 11px;
    color: #fff;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: .8s;
    text-transform: uppercase;
}
.btn-leerMas:hover{
    background-color: #00b5b5;
    box-shadow: 0 0 10px #00b5b5, 0 0 40px #00b5b5, 0 0 80px #00b5b5;
}
.btn-leerMas::before{
    content: "Leer mas";
}
.btn-leerMas:checked::before{
    content: "Menos";
}
.cutoff-text:has(+ .btn-leerMas:checked){
    max-height: none;
}
.curriculum{
    background-color:#1a1b22;
    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 .columna{
    width: 49%;
    padding: 0 20px;
}
.curriculum .fila .columna h3{
    font-size: 28px;
    font-family: 'Righteous';
    margin-bottom: 20px;
}
.curriculum .fila .izquierdo{
    border-right: 2px solid #252a2e;
}
.curriculum .fila .derecho{
    border-left: 2px solid #252a2e;
}
.curriculum .fila .item{
    padding: 25px;
    margin-bottom: 30px;
    background-color: #252a2e;
    position: relative;
}
.curriculum .fila .item h4{
    font-size: 20px;
    margin-bottom: 10px;
}
.curriculum .fila .item .casa{
    color: #00b5b5;
    font-size: 22px;
    font-weight: bold;
    display: block;
}
.curriculum .fila .item .fecha{
    display:block;
    color: #00b5b5;
    margin-bottom: 15px;

}
.curriculum .fila .item p{
    line-height: 24px;
    margin-bottom: 20px;
}
.curriculum .fila .izq{
    border-right: 2px solid #00b5b5;
    margin-right: 20px;
}
.curriculum .fila .der{
    border-left: 2px solid #00b5b5;
    margin-left: 20px;
}
.curriculum .fila .item .conector1{
    height: 2px;
    background-color: #00b5b5;
    width: 47px;
    position: absolute;
    top: 50%;
    right: -47px;
    z-index: 5;
}
.curriculum .fila .item .circulo1{
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00b5b5;
    float: right;
    position: relative;
    bottom: 4px;
}
.curriculum .fila .item .conector2{
    height: 2px;
    background-color: #00b5b5;
    width: 47px;
    position: absolute;
    top: 50%;
    left: -47px;
    z-index: 5;
}
.curriculum .fila .item .circulo2{
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00b5b5;
    float: left;
    position: relative;
    bottom: 4px;
}
.curriculum .fila .item button{
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 8px;
    width: fit-content;
    display: block;
    margin: 8px auto;
    padding: 5px 26px;
    font-size: 11px;
    color: #fff;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: .8s;
    text-transform: uppercase;
}
.curriculum .fila .item button:hover{
    background-color: #00b5b5;
    box-shadow: 0 0 10px #00b5b5, 0 0 40px #00b5b5, 0 0 80px #00b5b5;
}
.curriculum .fila .item button:clicked::before{
    content: "Ver menos";
}
/* Seccion portafolio */
.portafolio{
    background-color:#252a2e;
    color: #fff;
    padding: 50px 20px;
}
.portafolio a{
    color: #fff;
}
.portafolio .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.portafolio h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}
.portafolio .galeria{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.portafolio .galeria .proyecto{
    position: relative;
    max-width: 340px;
    height: fit-content;
    margin: 10px;
    cursor: pointer;
}
.portafolio .galeria .proyecto img{
    width: 100%;
    max-width: 100%;
    display: block;
}
 .portafolio .galeria .proyecto .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: linear-gradient(rgba(0, 181, 181, .8), rgba(0, 181, 181, .8) );
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1s;
    font-size: 18px;
    letter-spacing: 3px;
     opacity: 0; 

} 
.portafolio .galeria .proyecto .overlay a h3{
    margin-bottom: 20px;
    transition: 1s;
}
.portafolio .galeria .proyecto .overlay:hover{
    opacity: 1;    
}
.portafolio .galeria .proyecto .overlay:hover h3{
    margin-bottom: 0px;
}
.portafolio .galeria .proyecto .overlay:hover a h3{
    margin-bottom: 0px;
}
/* Seccion portafolio fin */

.contacto{
    background-color:#1a1b22;
    color: #fff;
    padding: 50px 20px;
}
.contacto .contenido-seccion{
    max-width: 1100px;
    margin: auto;
}
.contacto h2{
    font-size: 48px;
    font-family: 'Righteous';
    text-align: center;
    padding: 20px 0;
}
.contacto .fila{
    display: flex;
}
.contacto .columna{
    width: 50%;
    padding: 10px;
    position: relative;
}
.contacto .columna input, .contacto .columna textarea{
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    margin-bottom: 20px;
    background-color: #252a2e;
    color: #fff;  
    font-size: 18px;
} 
.contacto button{
    cursor: pointer;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 8px; 
    width: fit-content;
    display: block;
    margin: 20px auto;
    padding: 10px 22px;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: .8s;
    text-transform: uppercase;
}
.contacto  button:hover{
        
    background-color: #00b5b5;
    box-shadow: 0 0 10px #00b5b5, 0 0 40px #00b5b5, 0 0 80px #00b5b5;
    
}
.contacto .columna iframe{
    width: 100%;
    height: 55%;
}
.contacto .columna .info{
    width:  100%;
    height: 30%;
    background-color: #252a2e;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contacto .columna .info ul{
    list-style: none;
}
.contacto .columna .info ul li{
    margin-bottom: 20px;
    
}
.contacto .columna .info ul li i{
    color: #00b5b5;
}
.spiner-carga{
    display: none;
    justify-content: center;
    /* visibility: hidden; */
    
}
textarea{
    resize: none;
}
/* Contacto Fin */

/* Footer Inicio */
footer{
    background-color: #1a1b22;
    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: .3s;
}
footer .arriba{
    display: block;
    width: 50px;
    height: 50px;
    background-color: #00b5b5;
    color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    border-radius: 50%;
    line-height: 50px;
    font-size: 18px;
}
/* Footer fin */

/* Responsive */
@media screen and (max-width:900px){
    nav{
        display:none;
    }
    .nav-responsive{
        display: block;
    }
    nav.responsive{
        display: block;
        position: absolute;
        right: 0;
        top: 75px;
        background-color: #252a2e;
        width: 180px;
    }
    nav.responsive ul{
        display: block !important;
    }
    nav.responsive ul li{
        border-bottom: 1px solid #fff;
        padding: 10px 0;
    }
}
@media screen and (max-width:900px){
    .sobremi .fila{
        display: block;
    }
    .sobremi .fila .columna{
        width: fit-content;
    }
    .skills .fila{
        display: block;
    }
    .skills .fila .columna{
        width: 100%;
    }
    .skills .fila .columna .barra-skill{
        width: 100%;
    }
    .curriculum .fila{
        display: block;
        /* width: 100%; */
    }
    .curriculum .fila .columna{
        width: 90%;
    }
    .curriculum .fila .derecho{
        margin-left: 20px;
    }
    .portafolio .galeria{
        display: block;
        width: 100%;
    }
    .portafolio .galeria .proyecto{
        max-width: 100%;
    }
    .portafolio .galeria .proyecto img{
        width: 100%;
    }
    .contacto .fila{
        display: block;
    }
    .contacto .fila .columna{
        width: 100%;
    }
}