
@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');


*{
    font-family: "Afacad Flux", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body{
   
    background-color: #212529;
    
}

.navbar{
    position:sticky;
    top: 0;
    background-color: #212529;
    border-bottom: solid 1px #444;
    z-index: 20;
}

.nav-der{
    width: 75%;
    justify-content: space-between;
}
.bg-transp{
    background-color: transparent;
}

.lottie-sup{
    width: 100px;
    height: 100px
}

.lotties{
    width: 300px;
    height: 300px
}

.btn-modo{
    border:none;
    background-color: transparent;
}

.btn-modo i{
    color: #111;
}

/* ACORDION (VER MÀS) */

.plegado{
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.expandir{
    max-height: 500px;
    
}

.ver{
    border: none;
    background-color: transparent;
    color: #344;
    width: 90%;
    text-align: center;
    padding-top:1rem


}


.btn-idioma{
    border: solid 2px #111;
    border-radius: 2px;
    padding: .2rem .5rem;
    margin-right: .5rem;
    font-size: .9rem;
    font-weight: 600;
    padding: 0.1;
    background-color: transparent;
    color: #111;
    transition: ease .3s;
}

.btn-idioma:hover{
    /* box-shadow:  0 0 3px #ccc; */
    border: solid 2px #999;
    color: #999999;
    /* background-color: #222; */
}

nav .bi-translate{
    font-size: 25px;
}

.btn-menu{
    border: solid 1px #555;
    background-color: transparent;
}

.dropdown-item{
    color: #fff;
}

.dropdown-item:hover{
    background-color: rgba(80, 85, 90, .7);
    color: #000
}

.section-superior{
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    /* padding-left: 1.5rem; */
}


.main-central{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.filtro-espacial{
    position: absolute;
    top: 0;
    width: 100%;
    height: 90%;
    background-image: url(img/B.jpg);
    background-size: cover;
    background-position: center;
    border-bottom: solid 1px #555;
    opacity: .6;
}

.main-lateral{
    display: flex;
    flex-direction: column;
    position: sticky;
    position: relative;
    width: 20%;
    background-color: transparent;
    /* margin-top: 8rem; */
    border-right: solid 1px #444444;
    padding: 0 1.5rem;
    /* box-shadow: 1px 1px 3px #444444; */
    
}

.redes-laterales2{
    display: none;
    align-items: start;
    width: 85%;
    font-size: 25px;
}

.redes-laterales2 i{
    opacity: 1;
    color:#000;
    font-size: 25px;
}


.list-group{
    padding-bottom: 5rem;
}


.list-group-item-a{
    /* box-shadow:  inset 0 0 3px #444; */
    border: solid 1px #666;
    display: flex;
    font-weight: 500;
    background-color: #ffffff05;
    justify-content: center;
    align-items: center;
    margin: .5rem 0;
    border: solid 1px #444444;
    border-radius: 5px;
    color: #fff;
    z-index: 10;
    transition: ease .3s;
    text-decoration: none;
    height: 50px;
}

.list-group-item-a:hover{
    
    /* box-shadow:  inset 0 0 3px #111; */
    border: solid 1px #111;
    color: #111;
    background-color: transparent;
}

.list-group-item-a:focus{
    background-color: transparent;
    color: #fff
}

.bienvenida{
    position:relative;
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    padding-top: 13%;
    /* margin-top: 10rem; */
    width: 100%;
    
}

.presentacion{
    z-index: 20;
    width: 55%;
}

h1{
    color: #B55400;
    font-size: 7rem;
    font-weight: 500;
    -webkit-text-stroke: 2.5px #fff;
    text-shadow: 0 0 10px #fff;
    transition: ease .3s;
    z-index: 12;
}

/* h1:hover{
    text-shadow: 0 0 20px #fff;
} */

.titulo-bienvenida{
    color: #000509;
    text-shadow: 1.5px 1.5px 0px #f4f4f4;
    font-size: 2.5rem;
    font-weight: 700;
    z-index: 10;
}

.text{
    font-size: 1.6rem;
    font-weight: 600;
    color:#fff;
    text-wrap: balance;
}

.contenedor-btn{
    z-index: 15;
}

.btn-empezar{
    border-radius: 5px;
    background-color: coral;
    padding: .5rem 1.5rem;
    margin-top: 4rem;
    text-transform: uppercase;
    color: #fff;
    border: solid 1px #fff;
    font-size: 1.5rem;
    font-weight: 400;
    transition: ease .3s;
    z-index: 15;
}

.btn-empezar:hover{
    background-color: #111111;
    color: coral;
    border: solid 1px coral;
    box-shadow: 0 0 10px #fff;
}

.btn-especifico{
    color: coral;
    background: rgb(40, 40, 40);
    font-weight: 400;
    border: solid 1px coral;
    border-radius: 5px;
    padding: 0 1rem;
    transition: ease .3s;
}

.btn-especifico:hover{
    background-color: rgba(10, 10, 10, .7);
    color: coral;
    border: solid 1px coral;
    box-shadow: 0 0 5px #999999;
}

.coral{
    color: coral;
}


.titulos{
    font-size: 3rem;
    font-weight: 300;
    margin-top: 2rem;
    color: coral;
    /* text-decoration: underline; */
    letter-spacing: 1px;
    z-index: 10;
}

/* SECCION PROYECTOS */

.seccion-proyectos{
    display: grid;
    grid-template-columns: repeat(3,1fr); 
    gap: 2rem;
    width: 90%;
    margin-top: 4rem;
    margin-bottom: 4rem;
    /* padding: 0 1rem; */
    z-index: 10;
    padding-left: 2rem;
}

.card{
    box-shadow: 0 0 4px #909090;
    transition: ease .3s;
    border: solid 1px #555555;
    border-radius: 5px;
    width: 100%;
    max-width: 18rem; 
    height: auto;
    background-color: #212529;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #303035; */
}

.card:hover{
    box-shadow: 0 0 10px #fff;
}

.card-text{
    padding-right: .5rem;
    text-wrap: balance;
    overflow: auto;
    height: 200px;
}

.card .card-img-top{
    z-index: 20;
    transition: ease .3s;
    height: 10rem;
    background-color: #212529;
}

.card .card-img-top:hover{
    transform: scale(1.3);
}

.contenedor-tech
 
.tech{
    display: flex;
    justify-content: center;
    margin: 10rem 0;
    margin-left: 6%;
    width: 100%;
   
}
.tech-tech{
    display: flex;
    flex-direction: column;
    width: 50%;
}

.contenedor-svg{
    display: flex;
    justify-content:space-between;
   width: 75%;
   margin-top: 2rem;
   gap:.5rem
}

.node{
    margin-right: .5rem;
}


/* SECCCION CURRICULUM */

.contenedor-curriculum{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: center;
    margin-bottom: 4rem;
}

.cv{
    margin-top: 4rem;
    width: 70%;
    box-shadow: 0 0 8px #777;
    border-radius: 5px;
    cursor: pointer;
    z-index: 15;
    transition: ease .5s;
}



.contenedor-curriculum .bi-download{
    /* display: none; */
    position: absolute;
    top:10%;
    left: 82%;
    font-size: 20px;
    color:#111;
    transition: ease .5s;
}

.cv:hover .bi-download{
    display:block
}


.contenedor-curriculum .bi-download:hover{
    color: #333;
}

/* Ampliar CV */

.ampliar-img{
    transform: scale(1.2) translateX(-90px);
}

.overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    justify-content: center;
    align-items: center;
    z-index: 10;
}


/* ANIMACION  */


/* @keyframes mostrar-img{
    from{
        opacity: 0;
        scale: 20%;
    }

    to{
        opacity: 1;
        scale: 100%
    }
}

.animation{
    view-timeline-name: --image;
    view-timeline-axis: block;

    animation-timeline: --image;
    animation-name: mostrar-img;

    animation-range: entry 50% cover 65%;
    animation-fill-mode:both;
}     */

.titulo-tech{
    
    font-size: 1.3rem;
    color: coral;
    
}

.tecnologias svg{
    fill: #FD7014;
}

.tecnologias{
    display:flex
}

.contenedor-tech {
    width: 90%;

}

.contenedor-tech2{
    display: none;
    justify-content: center;
    align-items: center;
}

.contenedor-tech2 h2{
    text-align: center;
}

.tecnologias2{
    margin-top: 2rem;
    
}
.tecnologias2 svg{
    width: 45px;
    height: 45px;
    opacity: .7;
}

/* SOBRE MI */

.contenedor-bio{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 6rem;
}

.sobreMi{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sobreMi h3{
    color: #111;
    margin-top: 4rem;
}

.sobreMi h5{
    color: #777
}

.display-right{
    display: flex;
    flex-direction: column;
    width: 90%;
    align-items: end;
    
}
.display-left{
    display: flex;
    flex-direction: column;
    width: 90%;
    align-items: start;
    margin-left: 6rem;
}
.sub-text{
    text-wrap: balance;
}

/* .contenedor-text{
    display: flex;
    flex-direction: column;
    height: 300px;
} */

.contenedor-animación-texto{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-left: 6rem;
    height: 400px;
    /* gap: 4rem; */
}
.contenedor-animacion{
    display:flex;
    justify-content: center;
    width: 100%;
}

.contenedor-animacion-right{
    display:flex;
    justify-content: center;
    width: 100%
}

/* REDES LATERALES */

.redes-laterales{
    position: absolute;
    right: 0;
    top: 50%;
    display: flex;
    flex-direction: column;
    margin-right: .5rem;
}
.redes-laterales .bi{
    color: #11111170;
}


/* #MODAL */

.form{
    margin-top: 2rem;
}

 .modal-dialog{
    background-color: #212529;
    border: solid 1px #999;
    border-radius: 5px;
}

 .modal-content{
    background-color: #212529;
} 

.modal-body{
    background-color: #212529;
}

.modal .modal-body .devolucion{
    margin-top: 1.5rem;
}

.email-modal{
    color: #fff;
}

.bi-envelope-paper-heart{
    color: #fff;
}

.modal-body label{
    color: #fff;
}

.modal-body input{
    width: 85%;
}

.redesmodal{
    background-color: #212529
}

.modal-title{
    color: #fff
}

.contact-here{
    color: coral
}

.devolucion-content{
    height: 80px;
    border-radius: 5px;
    border: none;
    color: #1111118a;
}
textarea{
    padding:.5rem
}

/* MI LOGO */


.mi-logo{
    border-radius: 50%;
    width: 70px;
    height: 70px;
    margin-right: 50px;
}


/* SPINNER */

.spinner-grow{
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    color: #b5540070;
    
}


@keyframes spinner-grow {
    0% {
      transform: scale(0);
    }
    50% {
      opacity: 1;
      transform: none;
    }
  }

/* FOOTER */

footer{
    position: static;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0;
    border-top: solid 1px #555555;
    
}

.copy{
    display: flex;
}

footer h4{
    color: #fff;
   
}

footer p{
    color: #111111;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.redes{
    display: flex;
}

.bi{
    color: #111111;
    margin-right: .8rem;
    font-size: 1.8rem;
    cursor: pointer;
    transition: ease .3s;
}

.bi:hover{
    color: #999999;
}

.contacto{
    display:none
}

/* BARRA DE SCROLL */


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #11111150;
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: #333333;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555555;
}


/* MODO CLARO */

body.modo-claro {
    background-color: #99A799; 
    color: black; 
}

body.modo-claro .navbar{
    background-color: #798777;
}

body.modo-claro .tecnologias svg{
    fill: #FFC764;
}

body.modo-claro .btn-idioma{
    border: solid 2px #999;
    color: #999;
    transition: ease .3s;
}

body.modo-claro .btn-idioma:hover{
    border: solid 2px #777;
    color: #777;
}

body.modo-claro .btn-modo i{
    color: #999;
}

body.modo-claro .btn-especifico{
    color: #FFC764;
    background-color: transparent;
    border: solid 1px #FFC764;
}

body.modo-claro .btn-especifico:hover{
    box-shadow: 0 0 5px #111;
}

body.modo-claro .btn-modo i:hover{

    color: #777;
}

body.modo-claro .titulo-tech{
    color: #FFC764;
}

body.modo-claro .redes-laterales .bi{
    color: #999;
}

body.modo-claro .redes-laterales .bi:hover{
    color: #666;
}

body.modo-claro .text{
    color: #111;
    font-weight: 700;
}

body.modo-claro h1 {
    color: #687581;
    -webkit-text-stroke-: 3px #FCF8E8; 
}

body.modo-claro .main-lateral{
    background-color: #798777;
}
body.modo-claro .list-group-item-a{
    background-color: transparent;
    color: #111;
}
body.modo-claro .filtro-espacial{
    opacity: .2;
}

body.modo-claro .titulo-bienvenida{
    color: #fff
}

body.modo-claro .btn-empezar{
    background-color: #ff4343f7;
    border: solid 1px #fff;
    font-weight: 400;
}

body.modo-claro .btn-empezar:hover{
    
    border: solid 1px #ff4343f7;
    color:#ff4343f7;
    background-color: #fff;
    box-shadow: 0 0 25px #111111;
}

body.modo-claro .filtro-espacial{
    opacity: .5;
}

body.modo-claro .titulos{
    color: #111111;
}

body.modo-claro .cv{
    box-shadow:  0 0 10px #222;
}

body.modo-claro button i {
    color: #fff; 
}

body.modo-claro .list-group-item:hover{

    color: #111111;
}

body.modo-claro .subtitulo{
    color:#111111
}

body.modo-claro .sub-text{
    color:#fff;
}

body.modo-claro .card{
    box-shadow:  0 0 10px #222;
    background-color: #798777;
}

body.modo-claro .card-body{
    background-color: #798777;
}

body.modo-claro .card-img-top{
    background-color: #798777;
}

body.modo-claro .card:hover{
    box-shadow:  0 0 25px #111;
}

body.modo-claro .modal-dialog{
    background-color: #798777;
    border: solid 1px #111;
}

body.modo-claro .email-modal{
    color: #111;
}

body.modo-claro .modal-body label{
    color: #111;
}

body.modo-claro .modal-body text-area{
    color: #111;
}

body.modo-claro .bi-envelope-paper-heart{
    color: #111;
}

body.modo-claro .card .bi-github{
    color:#555
}


body.modo-claro .modal-content{
    background-color: #798777;
} 

body.modo-claro .modal-body{
    background-color: #798777;
}

body.modo-claro .modal-header{
    border-bottom: solid 1px #111;
}

body.modo-claro .modal-title{
    color:#111
}

body.modo-claro .contact-here{
    color: #FFC764
}


/*Responsive*/

@media (max-width:1090px) {
    .main-lateral{
        display:none;
    }

    .main-central{
        
        width: 100%;
    }

    .nav-der{
        width: 62%;
    }

    footer .redes{
        display: none
    }
    footer .contacto{
        display: block
    }

    footer{
        padding: 1rem;
    }

   
}

@media (max-width:1000px){
    .seccion-proyectos{
        grid-template-columns: repeat(2, 1fr);
        
    }
    .card{
        max-width: 26rem;
    }
    .card-img-top{
        height: 20rem;
    }


}

@media (max-width:950px){

    .display-right{
        align-items: center;
        
    }

    .display-left{
        align-items: center;
       
    }
   

    .lotties{
        width: 200px;
        height: 200px;
    }

    
    .ampliar-img{
        transform: scale(1.4) translate(0);
    }
  
}


@media (max-width:850px){
    .tech{
        flex-direction: column;
        gap:6rem;
    
    }

    .tech h5{
        text-align: center;
    }

    .tech-tech{
        width: 100%;
    }

    .contenedor-svg{
        
        width: 90%;
    }
    .contenedor-svg svg{
        width: 35px;
        height: 35px;
    }

    .btn-idioma{
        font-size: .7rem;
        padding: .1rem .3rem
    }

    .btn-modo{
        font-size: 25px;
    }

    .presentacion{
        width: 90%;
        margin-top: 8%;
    }
   
    .presentacion h1{
        font-size: 6.5rem;
    }

    .presentacion h2{
        font-size: 2.1rem;
    }

    .presentacion p{
        font-size: 1.6rem;
    }
    .text{
        width: 70%
    }
} 

@media (max-width:650px){

    .lotties{
        display: none;
    }

    .contenedor-animacion{
        display:none;
    }

    .contenedor-animación-texto{
        flex-direction: column;
        justify-content: center;
        margin-left: 2rem;
        width: 90%;
    }


    .nav-der{
       width: 71%
    }

    .display-left{
        align-items: center;
        margin-left: 0;
    }

    .display-right{
        align-items: center;
    }

    .redes-laterales{
        display: none;
    }

    .redes-laterales2{
        display: flex;
        
    }

    .redes-laterales .bi{
        color: #111;
        font-size: 20px;
    }

    .presentacion h1{
        font-size: 5.8rem;
    }

    .presentacion h2{
        font-size: 1.8rem;
    }

    .presentacion p{
        font-size: 1.3rem;
    }
    .text{
        width: 80%
    }
}

@media (max-width: 600px){
    .nav-der{
        width: 75%;
    }

   .lottie-sup{
     
        width: 75px;
        height: 75px;
    }

    .seccion-proyectos{
        grid-template-columns: 1fr;
        padding-left: 0
        
    }
    .card{
        max-width: 52rem;
    }
    .card .card-img-top{
        height: 220px;
    }
} 


@media (max-width: 550px){
    .presentacion{
        width: 85%;
    }

    .presentacion h1{
        font-size: 6rem;
    }

    .presentacion p{
        font-size: 1.2rem;
    }

    .presentacion{
            margin-top: 8%;
        }

    .bienvenida{
        padding-top: 23%;
        
    }

    .nav-der .tecnologias{
        display:none
    }

    .nav-der{
        
        justify-content: end;
    }

    .contenedor-tech2{
        display: block;
    }
    .tech{
        margin-top: 7rem;
        margin-left: 0;
    }

    .contenedor-tech{
        width: 80%;
    }

    .contenedor-svg{
        width: 100%;
    }
    
    .tech-tech{
        width: 100%;
    }

    .text{
        width: 100%
    }

}

@media (max-width: 500px){
    .presentacion h1{
        font-size: 5rem;
        -webkit-text-stroke: 1.5px #fff;
}

    .presentacion h2{
        font-size: 1.8rem;
    }
    .presentacion p{
        font-size: 1.2rem;
    }

    .contenedor-tech2{
        display: block;
        width: 80%;
    }

    .copy{
        display: none;
    }
    footer{
        justify-content: space-between;
        padding-left: 20%;
    }

    .bienvenida{
        padding-top: 35%;
    }
    

}

@media (max-width: 450px){
    .contenedor-tech2{
        display: block;
        width: 80%;
    }

    footer{
        margin: 0;
        flex-direction: column;
        padding-left: 10%;
    }

    .bi-person-lines-fill{
        font-size: 20px;
    }

    .nav-der{

        width: 30%
    }

    #sobreMi{
        font-size:2rem
    }

    .titulos{
        font-size: 2.5rem;
    }
    .bienvenida{
        padding-top: 40%;
    }

}

@media (max-width: 400px){
    .presentacion h1{
        font-size: 4rem;
    }

    .presentacion h2{
        font-size: 1.5rem;
    }
    .presentacion p{
        font-size: 1rem;
    }

    footer h4{
        font-size: 1.1rem;
    }
    
}
