@import url('https://fonts.googleapis.com/css2?family=Fuggles&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root{
    --h1-font-size: 2rem;
    --primary-color: #fff;
    --secondary-color: #333;
    --main-color: #754ef9; 

}

body{
    background: var(--primary-color);
    color: var(--secondary-color);
    overflow-x: hidden;
    /* overflow-y: hidden; */
    background-image: linear-gradient(to bottom, #031540, #6374B5);
    width: 100%;
    min-height: 100vh;

    
}

@import url('https://fonts.googleapis.com/css2?family=Fuggles&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* HEADER */

header{
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100px ;
    background-color: #031540;
    display: flex;
    align-items: center;
    justify-content: space-between ;
    padding: 0 100px;
    box-shadow: 2px 2px 2px #00abf0;
}

.logo a{
    font-size: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}


.hamburguer{
    display: none;
}    

.nav-bar ul {
    display: flex;
    margin: 0;
}    

.nav-bar ul li a {
    display: block;
    color: #fefefe;
    font-size: 25px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 0 5px;
    text-decoration: none;
}    

.nav-bar ul li a.active,
.nav-bar ul li a:hover {
    color: #00abf0;
    text-shadow: 5px -5px 20px #00abf0, -5px 5px 20px #00abf0;
}    


#header #nav-icon {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

#header #nav-icon:hover,
#header #nav-icon.active {
    color: #00abf0;
    text-shadow: 5px -5px 20px #00abf0, -5px 5px 20px #00abf0;   
}

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

/* MAiN */


.section{
    display: flex;
    align-items: center;
    justify-content: center;
}
#box{
    color: aliceblue;
    font-size: 100px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    }

.section{
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-y: hidden;
}

section div.background-section{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    position: absolute;
    z-index: 0;
}    
.background-section video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
  
#box img{
    width: 100%;
}    

.downloadOk{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.paragrafoDownloadOK{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    font-size: 20px;
    color: #38f07b;
}



/* MAIN - ANIMATION */

/* | */
.wrapper .content ol{
    list-style: none;
    --height: 3rem;
    height: var(--height);
    line-height: var(--height);
    overflow: hidden;
    flex-flow: column nowrap ;
    align-items: flex-end;  
}

.wrapper .content ol li span{
    -webkit-text-fill-color: transparent;
    background: linear-gradient(20deg, #ff7f50,  #ff7f50);
    -webkit-background-clip: text;
    position: relative ;
    height: auto;

    white-space: nowrap;

    border-right: .4rem solid #fff;

    display: inline-block;

    animation: cursor .5s step-end infinite,
                typing 3s steps(18) infinite alternate;
}

.wrapper .content ol li{
    animation: slide calc(6*3*1s) steps(3) infinite;
}

@keyframes cursor {
    50% { border-color: transparent; }
}

@keyframes typing {
    0%,10% { 
        width: 0%;
     }
    70%,100% { 
       width: 101%;
    }
}


@keyframes slide {
    100%{
        transform: translateY(-300%);
    }
}

@keyframes slide-up {
    0%, 10%{
        transform: translateY(0%);
    }
    15%, 25% {
        transform: translateY(-100%);
    }
    30%, 40% {
        transform: translateY(-200%);
    }
    45%, 55% {
        transform: translateY(-300%);
    }
    60%, 70% {
        transform: translateY(-400%);
    }
    75%, 85% {
        transform: translateY(-500%);
    }
    
}

#box-content{
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    height: 100%; 
    text-align: center; 
}

#box-content .content-hello{
    margin: 0px;
    margin-top: 2rem;
    padding: 10px;
    font-size: 50px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    
}

#box-content h2{
    margin: 0px;
    padding: 0px;
    font-size: 70px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    white-space: nowrap;
}



.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: transparent;
    border: 4px solid #fff;
    border-radius: 50%;
    font-size: 40px;
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    transition: .5s;

}

.home-sci a:hover {
    background: #00abf0;
    color: #fff;
    border-color: #00abf0;
    box-shadow: 0 0 10px  #00abf0;
}

.btn-download,
.btn-send
{
    padding: 20px 30px;
    background: #00abf0;
    border-radius: 40px;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 10px  #00abf0;
    transition: .5s;
    font-weight: bold;
}

.btn-download:hover,
.btn-send:hover
{
    box-shadow: none;
    color: #00abf0;
    border-color:#000000;
    background-color: #fff;
}


.btn-download-cv{
    padding: 10px 20px;
    background: #00abf0;
    border-radius: 10px;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 10px  #00abf0;
    transition: .5s;
    font-weight: bold;
    text-align: justify;
}

.btn-download-cv:hover{
    box-shadow: none;
    color: #00abf0;
    border-color:#000000;
    background-color: #fff;
}

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


/* ABOUT ME */

.section-title{
    position: relative;
    font-weight: bold;
    color: #fff;
    margin-top: 10rem;
    margin-bottom: 5rem;
    text-align: center;
}

.section-title::after{
    position: absolute;
    content: '';
    width: 120px;
    height: 0.30rem;
    left: 0;
    right: 0;
    margin: auto;
    top: 3.5rem;
    background-color: #fff;
}

#div-about{
    padding-bottom: 5rem;
}

#div-about h3{
    font-size: 40px;
    color: #ff7f50;
    font-weight: bold;
}

#div-about p{
    font-size: 20px;
    color: #fff;
}

#div-about img{
    width: 100%;
}

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

/* SKILLS */
#skills{
    padding-bottom: 10rem;
    
}
#divSkills img{

    margin-top: 1rem;
}


/* PROJECTS */

#container-row{
    background-color: #031540;
    padding: 50px;
    
}
.album-cards #cards{
    transition: 750ms;
}

.album-cards #cards:hover{
    transform: scale(1.05);
}




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

/* CONTACT */
#div-btn-send{
    margin-bottom: 10rem;
}
/* ------------------------------------------------ */

/* FOOTER */
.footer{
    background-color: #0d1730;
    color: #ffffff;
    /* margin-top: 10rem; */
    
}
#footer{
    box-shadow: 0px 0px 0px 2px #00abf0;

}

.footer a{
    color: #ffffff;
    text-decoration: none;
}
.footer a:hover{
    color: #bbb2b2;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hidden-letters {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.5s; 
    animation-iteration-count: 1; 
    animation-fill-mode: forwards; 
}


/* ICON WHATSAPP */

.icon{
    position: fixed;
    bottom: 60px;
    right: 30px;
    font-size: 30px;
    background-color: #01e675;
    border-radius: 50%;
    padding: 3px;
    width: 50px;
    height: 50px;
    text-align: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 2px 2px 2px #c0bdbd; 
    color: #fff;
}

.icon .fab{
    padding-top: 9px;
}

.icon:hover{
    transition: 750ms;
    background-color: #dad5d5;
    color: #029e3b;
    font-weight: 900;
    box-shadow: 2px 2px 2px #5fe690;
}

.icon p{
    visibility: hidden;
}
.icon:hover p{
    font-size: 14px;
    margin-top: 10px;
    visibility: visible;
}

/* MEDIA SCREENS */


@media only screen and (max-width: 1320px){
    header {
        padding: 0 50px;
    }      
}    

@media only screen and (max-width: 1100px){
    header {
        padding: 0 30px;
    }      
}    

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

    /* HEADER - MENU HAMBURGUER*/
    .logo a{
        width: 120px; 
        word-wrap: break-word;
        font-size: 25px;
    }
        

    .hamburguer{
        display: block;
        cursor: pointer;              
    }      

    .hamburguer a{
        font-size: 40px;
        color: #fefefe ;
    }     
    .hamburguer a:hover{
        transition: 0.5s;
        color: #00abf0;
    }     

    .hamburguer button{
        background: #031540;
        border: none;
    }     

    .nav-bar{
        height: 0px;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #031540;
        transition: 0.5s;
        overflow: hidden;
    }    

    .nav-bar.active{
        height: 350px;
        z-index: 9999;
        border-bottom-left-radius: 40px 40px;
        border-bottom-right-radius: 40px 40px;
        box-shadow: 2px 2px 2px #00abf0;
    }    

    .nav-bar ul{
        display: block ;
        width: fit-content;
        margin: 80px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }    

    .nav-bar.active ul{
        opacity: 1;
        display: inline;
    }    

    .nav-bar ul li a{
        font-size: 20px;
        margin: 10px;
        }  
        
    /* MAIN @900px */
    #box{
        margin-top: 100px;
    }

    #box-content h1{
        font-size: 35px;
    }
    #box-content h2{
        font-size: 50px;
        }
    
  

    .home-sci a {
        display: flex;
        width: 50px;
        height: 50px;
        background: transparent;
        border: 4px solid #fff;
        border-radius: 50%;
        font-size: 30px;
        color: #fff;
        text-decoration: none;
        margin-left: 12px;
        transition: .5s;
    
    }
    
    .btn-download{
        margin: 0px;
        padding: 0;
    }
    
    .btn-download,
    .btn-send
    {
        margin-top: 20px;
        display: flex;
        padding: 8px 15px;
        background: #00abf0;
        border-radius: 10px;
        font-size: 20px;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
        letter-spacing: 1px;
        box-shadow: 0 0 10px  #00abf0;
        transition: .5s;
        font-weight: bold;
    }

  
    
    .btn-download:hover,
    .btn-send:hover
    {
        box-shadow: none;
        color: #00abf0;
        border-color:#000000;
        background-color: #fff;
    }
    #box-image{
        visibility: hidden;
        padding: 0px;
        margin: 0px;
        height: 0px;
    }
    
    .paragrafoDownloadOK{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 20px;
        font-size: 10px;
        color: #38f07b;
    }
    .wrapper .content ol{       
        --height: 3rem;
        height: var(--height);

    } 

    .wrapper .content ol li span{
        font-size: 25px;
    }

    .section{
        width: 100%;
        min-height: 100vh;
        position: relative;
        overflow-y: hidden;
    }
    .background-section video{
        height: 100vh;
    }
    #box img{
        width: 50%;
    }  

    /* SKILLS 900px */
    .section-title{
        margin-top: 3rem;
    }
    #divSkills img{
        width: 80%;
        margin-top: 1rem;
    }

     /* PROJECTS 900px */
    #container-row{
        margin-top: 10px;
        background-color: #031540;
       /*  padding: 5px;   */
    }
    #cards{
        margin-bottom: 2rem;
    }

    .container-cards{
        padding: 0px;
        margin: 0px;
        
    }

    .album-cards #cards{
        transition: 750ms;
    }
    
    .album-cards #cards:hover{
        transform: scale(1.05);
    }
    
    
}
    
@media screen and (min-width: 750px) {
    :root{
        --h1-font-size: 3rem;
    }    
}    
