/* - - - ESTILOS PARA PORTFOLIO LIDIAPDIAZ - - - */

/*import google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600&family=Roboto:wght@100;400&display=swap');


/* general styles*/
.container{
    margin: 0 auto;
    padding-bottom: 10rem;
    width: 80%; 
    max-width: 1920px;
  }

body,h1,h2,h3,p{
    margin: 0;
}

img,video{
    max-width: 100%;
}

body{
    background-color: #252525;
    color: #ffffff;
}

h1{
    font-family: 'Fredoka';
    font-size: 13.5rem;
    color: #67ff6b;
}

h2{
    font-family: 'Fredoka';
    font-size: 5.8rem;
    color: #67ff6b;
    margin-top: 3rem;
}

p{
    font-family: 'Roboto Thin', 'Verdana', 'sans-serif';
    font-size: 1.5rem;
    line-height: 1.8rem;
}

button{
    padding: 0.7rem 1.8rem;
    margin-top: 9em;
    background-color: transparent;
    border:  2px solid #e9ff88;
    color: #e9ff88;
    cursor: pointer;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    font-size: 1.1rem;
}

button:hover{
    padding: 0.7rem 1.8rem;
    margin-top: 9em;
    background-color: #e9ff88;
    border:  2px solid #e9ff88;
    color: #252525;
    cursor: pointer;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    font-size: 1.1rem;
    
}

a{
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    font-size: 1rem;
    color: #ae3dff;
}

a:hover{
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    font-size: 1rem;
    color: #e9ff88; 
}

.language{
    z-index: 100;
    float: right;
    position: absolute;
    top: 1.3em;
    right: 2em;
}

select{
   background-color: transparent;
    color:#e9ff88;
    border-radius: 7px;
    border: 2px solid #e9ff88;
    width: 95px;
    padding: 0.4rem;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-size: 0.9rem;
    

}


/* .....MENU..... */

nav{
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-size: 1.1rem;
    font-weight: 400;
    color: #e9ff88;
}

nav ul{
    margin: 0;
    list-style: none;
    padding: 0.65em 0;
}

nav li{
    display: inline-block;
    
}

nav a{
    text-decoration: none;
    color: #ae3dff; 
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    
}

nav a:hover{
    text-decoration: none;
    color: #e9ff88;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    
}

/* ESTILOS GALERIA (funciona con importants :P)*/
.lb-data .lb-number {
    display: none!important;
}


/* .....SECTIONS..... */

section{
    display: flex;
    flex-direction: row;
    align-items: center;
} 

.title{
    max-width: 50%;
    width: 50rem;
    padding-left: 4rem;
}

.content{
    max-width: 50%;
    position: relative;
    left: 6%;
}


/* .....Section 1..... */

.portrait img{
z-index: -1;
position: relative;
left: 180px;
}

.text{
    margin-bottom: 1.6rem;
}

/* .....Section 2..... */

.about{
    font-family: 'Roboto', 'Verdana', 'sans-serif';
    font-size: 4rem;
    line-height: 1.8rem;
    margin: 3rem 0;
}

.about-title{
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
    margin-bottom: 0.7rem;

}

.skills{
    display: flex;
    justify-content: space-between;
}


.ball1 {
    border-radius: 90px;
    padding: 0.7rem;
    width: 55px;
    height: 55px;
    animation: 8s ball infinite ease-in-out alternate; /* duracion, nome animacion, infinito, 
    animación mais lenta cara o final, repetir animación dende ultimo keyframe  */
    border-top: 15px solid #ae3dff3c;
    border-bottom: 15px solid #ae3dff3c;
    border-left: 15px solid #ae3dff3c;
    border-right: 15px solid #ae3dff3c;
     
}

@keyframes ball {

    0% {border-top: 15px solid #ae3dff3c;
        border-bottom: 15px solid #ae3dff3c;
        border-left: 15px solid #ae3dff3c;
        border-right: 15px solid #ae3dff3c;
       
        }

    25% {border-top: 15px solid #ae3dff;
        border-bottom: 15px solid #ae3dff3c;
        border-left: 15px solid #ae3dff3c;
        border-right: 15px solid #ae3dff3c;
           
        }

    50% {
        border-top: 15px solid #ae3dff;
        border-bottom: 15px solid #ae3dff3c;
        border-left: 15px solid #ae3dff;
        border-right: 15px solid #ae3dff3c;
        
      } 

    100% {
        border-top: 15px solid #ae3dff;
        border-bottom: 15px solid #ae3dff3c;
        border-left: 15px solid #ae3dff;
        border-right: 15px solid #ae3dff3c;

      }
    
}

.ball2 {
   
    border-radius: 90px;
    padding: 0.7rem;
    width: 55px;
    height: 55px;
    animation: 8s ball2 infinite ease-in-out alternate; /* duracion, nome animacion, infinito, 
    animación mais lenta cara o final, repetir animación dende ultimo keyframe  */
    border-top: 15px solid #ae3dff3c;
    border-bottom: 15px solid #ae3dff3c;
    border-left: 15px solid #ae3dff3c;
    border-right: 15px solid #ae3dff3c;

}

@keyframes ball2 {

    0% {border-top: 15px solid #ae3dff3c;
        border-bottom: 15px solid #ae3dff3c;
        border-left: 15px solid #ae3dff3c;
        border-right: 15px solid #ae3dff3c;
        
        }

        25% {border-top: 15px solid #ae3dff;
            border-bottom: 15px solid #ae3dff3c;
            border-left: 15px solid #ae3dff3c;
            border-right: 15px solid #ae3dff3c;
            
            }

   50% {
    border-top: 15px solid #ae3dff;
    border-bottom: 15px solid #ae3dff3c;
    border-left: 15px solid #ae3dff;
    border-right: 15px solid #ae3dff3c;
        
      } 

      100% {
        border-top: 15px solid #ae3dff;
        border-bottom: 15px solid #ae3dff;
        border-left: 15px solid #ae3dff;
        border-right: 15px solid #ae3dff3c;

      }
    
}



/* .....Section 3..... */


.filter-categories{
    padding: 0;
}

.filter-categories ul{
    margin: 0;
    list-style: none;
    padding: 0;
}

.filter-categories li{
    display: inline-block;
}

.filter-categories a{
    color: #ae3dff; 
    text-decoration: none;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
}

.filter-categories a:hover{
    color: #e9ff88; 
    text-decoration: none;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-weight: 400;
}

.box-img{
    padding: 0.3rem;
    max-width: 255px;
    max-height: 255px;
}

.content-portfolio{
  margin: 2rem 0;
  padding-left: 1rem;
  height: 900px;
  display: grid;
  grid-template-columns: 270px 270px 270px 270px; /*asignar tamaño a cada columna*/
  
}


.title-portfolio{
    margin: 2rem 0;
    height: 780px;
    background-color: #67ff6b;
    width: 25rem;
    padding: 7rem 4rem 0 15.8rem;
      
}

/* .....Section 4..... */

.icon img{
padding: 0.8rem;
}

/* .....Footer.....*/

 footer{
    background-color: #67ff6b;
    color: #252525;
    padding: 1.3rem 0;
    text-align: center;
    font-family: 'Roboto regular', 'Verdana', 'sans-serif';
    font-size: 0.9em;
} 

.totop {
    position: fixed;
    right: 30px;
    bottom: 15px;
}


/*  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

                                            MEDIAS QUERYS

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */


@media screen and (max-width: 1440px) {

    h2{
        font-size: 4.6rem;
    }
        
    .container{
        width: 95%;
        margin: 0 auto; 
        padding: 1rem;
      }

    .content{
        max-width: 90%;
        position: relative;
        left: 0;
        margin: 2rem 1rem;
    }

    .title{
        padding-left: 0.9rem;
        max-width: 40%;
    }

    .portrait img{
        position: relative;
        top: 10px;
        left: 75px;
        max-width: 90%;
        }
       
    .about-title{
        margin-bottom: 0;
        font-family: 'Roboto regular', 'Verdana', 'sans-serif';
        font-weight: 400;
        margin-bottom: 0.7rem;
        }

    .about{
        font-family: 'Roboto', 'Verdana', 'sans-serif';
        font-size: 2.7rem;
        line-height: 1.8rem;
        margin: 3rem 0;
        }
        
    button{
        margin: 3.7rem 0;
        }

    button:hover{
        margin: 3.7rem 0;
    }

    .skills{
        width: 85%;
        }

    .ball1 {
        border-radius: 50px;
        padding: 0.5rem;
        width: 40px;
        height: 40px;  
        }
        
    .ball2 {
        border-radius: 50px;
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        }

    .title-portfolio{
        height: 655px;
        width: 60rem;
        margin: 0;
        padding: 7rem 1rem 0 1.5rem;       
        }

    .box-img{
        padding: 0.5rem;
        }
    
    .content-portfolio{
        padding-left: 0.7rem;
        margin-bottom: 18rem;
        height: 530px;
        grid-template-columns: 250px 250px 250px 250px; 
        }     

    .about-title{
        margin-top: 0rem;
        }

    footer{
        margin: 0 auto;
        }

    .totop {
        right: 140px;
        }

}



@media screen and (max-width: 1024px) {

    h2{
        font-size: 4rem;
    }
        
    .content{
        max-width: 95%;
        margin: 3rem 1rem;
        padding: 2rem 0;
        left: 22%;
        }

    .portrait img{
        position: relative;
        top: 80px;
        left: 20px;
        max-width: 185%;
        }

    .title{
        padding-left: 1rem;
        max-width: 50%;
        }

    .title-portfolio{
        margin: 9rem 0;
        padding: 7rem 1rem 0 2.9rem;
        height: 700px;
        width: 390px;  
        }   

    .content-portfolio{
       width: 512px;
       height: 400px;
       display: grid;
       grid-template-columns: 250px 250px 250px 250px; /*asignar tamaño a cada columna*/
        } 

    .box-img{
        padding: 0.5rem;
        max-width: 230px;
        max-height: 230px;
        }

        footer{
            width: 1516px;
            margin: 0 auto;
            } 

}

/* - - - TABLET - - - */


@media screen and (max-width: 768px) {

    h1{
        font-size: 20rem;
    }

    h2{
        font-size: 6.5rem;
        margin: 1rem 0;
        text-align: center;
    }

    nav{
        text-align: center;
    }

    p{
        font-size: 1.8rem;
        line-height: 2.1rem;
    }

    section{
        display: flex;
        flex-direction: column;
    } 

    .container{
        width: 93%;
        padding-bottom: 15rem;
        margin: 0 auto;
      }

    .portrait img{
        position: sticky;
        top: 0px;
        left: -90px;
        width: 740px;
        margin: 1.5rem auto;
        }
        
        
    .content{
        max-width: 100%;
        margin: 0rem;
        padding: 0rem;
        left: 1%;
        }

    .title{
        padding: 0;
        max-width: 100%;
        }

    .about{
        font-size: 1rem;
        line-height: 1.4rem;
        margin: 2rem 0;
        }
        
    .about-title{
        margin-bottom: 0.9rem;
        }

    .skills {
        display: grid;
        grid-template-columns: 120px 120px 120px 120px 120px;
        margin: 1.5rem 0;
        }
    
    .ball1 {
        border-radius: 50px;
        width: 40px;
        height: 40px;
        }
        
    .ball2 {
        border-radius: 50px;
         width: 40px;
        height: 40px;
         }

    button{
        margin: 2rem 0;
        }

    button:hover{
        margin: 2rem 0;
    }

    .title-portfolio{
        padding: 3rem 1.8rem;
        margin: 0;   
        width: 92.2%;
        height: 250px;
        align-items: center;
        display: flex;
        flex-direction: column;
        }   
    
    .content-portfolio{
        width: 750px;
        height: 0;
        display: grid;
        justify-content: space-evenly;
        grid-template-columns: 250px 250px 250px;
        margin-bottom: 45rem;
        padding-bottom: 30rem;
        } 

    footer{
        width: 768px;
        }

    .totop {
        position: fixed;
        right: 50px;
        bottom: 15px;
        }


}

/* - - - MOBIL - - -  */

@media screen and (max-width: 425px) {

    h1{
        font-size: 11rem;
    }

    h2{
        font-size: 4rem;
        margin: 1rem 0;
        text-align: center;
    }

    nav{
        text-align: center;
    }

    p{
        font-size: 1.5rem;
        line-height: 2rem;
    }

    section{
        display: flex;
        flex-direction: column;
    } 

    .container{
        width: 98%;
        padding: 0;
        margin: 3rem 0.5rem;
      }

    .portrait img{
        position: relative;
        top: 0px;
        left: -30px;
        width: 400px;
        margin: 1.5rem auto;
        }
        
        
    .content{
        max-width: 100%;
        margin: 0rem;
        padding: 0rem;
        left: 0%;
        }
        
    .skills {
        display: grid;
        grid-template-columns: 80px 80px 80px 80px 80px;
        margin: 1.5rem 0;
        }
    
    .ball1 {
        border-radius: 35px;
        width: 20px;
        height: 20px;
        }
        
    .ball2 {
        border-radius: 35px;
         width: 20px;
        height: 20px;
         }

    button{
        margin: 3rem auto;
        display: block;
        }
    
    button:hover{
        margin: 3rem auto;
        display: block; 
    }

    .filter-categories {
        font-size: 0.7rem;
        }

    .title-portfolio{
        width: 86%;
        height: 250px;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin: 0;       
        }   
    
    .content-portfolio{
        width: 100%;
        display: grid;
        grid-template-columns: 400px;
        justify-items: center;
        overflow: scroll;
        scroll-snap-type: y mandatory;
        box-sizing: border-box;
        margin-bottom: 0;
        padding-bottom: 20rem;
        } 


    .box-img{
        padding: 0.5rem;
        max-width: 400px;
        max-height: 400px;
        }

        .contact{
            width: 98%;
        }

    footer{
        width: 425px;
        }

    .totop {
        position: fixed;
        right: 20px;
        bottom: 15px;
        }


}


@media screen and (max-width: 375px) {

    h1{
        font-size: 10.9rem;
    }

    h2{
        font-size: 4.8rem;
        margin: 1rem 0;
        text-align: center;
    }


    section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .language{
        z-index: 100;
        float: right;
        position: absolute;
        top: 1.3em;
        right: 0.4em;
    }

    .container {
        width: 100%;
        padding: 0;
        margin: 3rem 1rem;
    }

    .title-portfolio{
        padding: 2rem;
        width: 362px;
        height: 219px;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin: 0;      
        }   
    
    .content-portfolio{
        width: 417px;
        margin: 0;
        display: grid;
        padding: 0 0 20rem 1rem;
        } 

    .contact{
        width: 100%;
        }

    footer{
        width: 425px;
        }

    .totop {
        right: 20px;
        }

}


@media screen and (max-width: 320px) {

    h1{
        font-size: 8rem;
    }

    h2{
        font-size: 3.5rem;
    }

    p{
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .language{
        z-index: 100;
        float: right;
        position: absolute;
        top: 1.3em;
        right: 0.4em;
    }

    .title-portfolio{
        width: 470px;
        height: 250px;
        align-items: center;
        display: flex;
        flex-direction: column;
        margin: 0;       
        }   
    
    .content-portfolio{
        padding: 0 0 20rem 8rem;
        } 

        .totop {
            right: 230px;
            bottom: 5px;
            }   
    
        
}