@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

.clickEffect{
    position: fixed;
    top: 200px;
    left: 200px;
    z-index: 1000;

    display: block;

    width: 20px;
    height: 20px;

    background-color: black;
    border-radius: 7px 3px 7px 3px;
    border: solid 2px white;

    pointer-events: none;

    animation: animationClickEffect 1s ease-in;
}

.templateClickEffect{
    display: none;
}

@keyframes animationClickEffect {
    0%{
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    100%{
        transform: translateY(calc(100vh)) rotate(180deg) scale(0.5);
    }
}

.scroll-animation{
    display: none;
    opacity: 0;
    transform: translateY(150px);
    transition: all 0.5s ease;
}

.scroll-animation-active{
    display: block;
    opacity: 1;
    transform: translateY(0px);
}

.scroll-animation-active .box-img::before{
    animation: timer-imgsProject linear infinite 5s;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ubuntu", sans-serif;
}

html::-webkit-scrollbar{
    width: 5px;
}

html::-webkit-scrollbar-thumb{
    background-color: black;
    border-radius: 10px;
}





.btn-toTop{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 50px;
    width: 50px;

    color: white;
    background-color: black;
    border-radius: 20px 5px 20px 5px;

    transition: all 0.3s ease;

    cursor: pointer;
}

.btn-toTop:hover{
    border-radius: 5px 20px 5px 20px;
}





nav{
    position: fixed;
    z-index: 100;

    display: flex;
    justify-content: space-between;

    width: 100%;
    padding: 20px 30px;

    background-color: white;
}

nav button{
    border: none;
    outline: none;

    padding: 10px 20px;

    color: white;
    font-size: 13pt;
    font-weight: 700;
    background-color: black;
    border-radius: 20px 5px 20px 5px;

    cursor: pointer;

    transition: all 0.3s ease;
}

nav button:hover{
    border-radius: 5px 20px 5px 20px;
}

.btn-openMenu,
.btn-closeMenu{
    display: none !important;
}

nav ul{
    display: flex;
    gap: 30px;
    list-style: none;
}

nav ul li{
    position: relative;

    display: flex;
    justify-content: center;

    height: fit-content;
    padding-bottom: 5px;

    color: black;
    font-size: 13pt;
    font-weight: 700;

    cursor: pointer;
}

nav ul li::before{
    content: "";

    position: absolute;
    bottom: 0px;
    
    height: 2px;
    width: 0%;

    background-color: black;
    border-radius: 10px;

    transition: all 0.3s ease;
}

nav ul li:hover::before{
    width: 100%;
}





#section-home{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#section-home .content-me{
    display: flex;
    align-items: center;
    gap: 100px;

    width: 750px;
}

#section-home .content-me .box-me{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#section-home .content-me .box-me h1{
    font-size: 25pt;
}

#section-home .content-me .box-me p{
    font-size: 13pt;
}

#section-home .content-me .box-img{
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    height: 300px;
    min-width: 300px;
    width: 300px;

    border: solid 2px white;
    border-radius: 30% 10px 30% 10px;
    box-shadow: 10px 10px 0px black;

    animation: animation_imgMe ease infinite 5s;
}

#section-home .content-me .box-img img{
    width: 100%;
}

@keyframes animation_imgMe {
    0%{
        border-radius: 30% 10px 30% 10px;
        box-shadow: 10px 10px 0px black;
    }

    50%{
        border-radius: 10px 30% 10px 30%;
        box-shadow: -10px -10px 0px black;
    }

    100%{
        border-radius: 30% 10px 30% 10px;
        box-shadow: 10px 10px 0px black;
    }
}





#section-about{
    display: flex;
    align-items: center;
    flex-direction: column;

    padding-bottom: 300px;
}

#section-about .content-about{
    display: flex;
    gap: 100px;

    width: 900px;
}

#section-about .content-about .box-img{
    /* padding: 30px; */
    height: 100%;
    max-width: 450px;

    background-color: black;
    border-radius: 50px 10px 50px 10px;
    border: solid 2px white;
    /* box-shadow: 10px 10px 0px black; */
    
    overflow: hidden;
}

#section-about .content-about .box-img img{
    width: 250%;
}

#section-about .content-about .box-img textarea{
    border: none;
    outline: none;

    height: 100%;
    width: 100%;

    color: white;
    background-color: transparent;
}

#section-about .content-about .box-img textarea::-webkit-scrollbar{
    display: none;
}

#section-about .content-about .box-me{
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 20px;
}

#section-about .content-about .box-me h1{
    position: relative;

    display: flex;
    justify-content: end;
    align-items: end;

    padding-bottom: 7px;

    font-size: 25pt;
    text-align: end;
}

#section-about .content-about .box-me p{
    font-size: 13pt;
    text-align: end;
    width: 350px;
}

#section-about .content-about .box-me .box-redes{
    display: flex;
    /* gap: 20px; */

    width: fit-content;
    margin-top: 20px;
}

#section-about .content-about .box-me .box-redes a{
    border: none;
    outline: none;

    padding: 10px 20px;

    color: white;
    font-size: 13pt;
    font-weight: 700;
    text-decoration: none;
    background-color: black;
    border-radius: 20px 5px 20px 5px;

    cursor: pointer;

    transition: all 0.3s ease;
}

/* #section-about .content-about .box-me .box-redes a:hover{
    border-radius: 5px 20px 5px 20px;
} */

/* #section-about .content-about .box-me .box-redes a i{
    margin-left: 10px;
} */

#section-about .content-about .box-me .box-redes .left{
    border-radius: 20px 0px 0px 5px;
}

#section-about .content-about .box-me .box-redes .left:hover{
    border-radius: 5px 0px 0px 20px;
}

#section-about .content-about .box-me .box-redes .rigth{
    border-radius: 0px 5px 20px 0px;
}

#section-about .content-about .box-me .box-redes .rigth:hover{
    border-radius: 0px 20px 5px 0px;
}

#section-about .content-about .box-me .box-skills{
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 30px;

    margin-top: 50px;
}

#section-about .content-about .box-me .box-skills div{
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    gap: 30px;
}

#section-about .content-about .box-me .box-skills div img{
    height: 25px;
}




#section-projects{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 80px;
}

#section-projects .title{
    position: relative;

    display: flex;
    justify-content: center;

    padding-bottom: 12px;

    font-size: 25pt;
}

#section-projects .content-projects{
    display: flex;
    flex-direction: column;
    gap: 150px;
}

#section-projects .box-project{
    display: flex;
    gap: 80px;

    width: 900px;
}

#section-projects .box-project-rigth{
    flex-direction: row-reverse;
}

#section-projects .box-project .box-img{
    position: relative;

    height: 346px;
    min-width: 450px;
    width: 450px;
    margin-bottom: 100px;

    background-color: black;
    border-radius: 50px 10px 50px 10px;
    /* border: solid 2px white; */
    /* box-shadow: -30px -30px 0px black, 30px 30px 0px black; */
    /* overflow: hidden; */
    /* animation: teste ease 5s; */
}

#section-projects .box-project .box-img::before{
    content: "";

    position: absolute;
    bottom: -35px;

    height: 4px;
    border-radius: 10px;

    background-color: black;

    /* animation: timer-imgsProject linear infinite 5s; */
}

@keyframes timer-imgsProject{
    0%{
        width: 0%;
    }

    100%{
        width: 100%;
    }
}

#section-projects .box-project .box-img img{
    position: absolute;

    width: 100%;
    
    border-radius: 50px 10px 50px 10px;
    /* border: solid 3px black; */
    border: solid 2px white;
    /* box-shadow: 10px 10px 0px black; */
    /* box-shadow: 0px 0px 100px -50px black; */
    /* border-radius: 10px; */
    opacity: 0;

    transition: all 0.3s ease;
}

#section-projects .box-project .box-img .img-select{
    z-index: 10;
    opacity: 1;
}

#section-projects .box-project .content-about{
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-direction: column;
    gap: 50px;

    height: fit-content;
}

#section-projects .box-project-rigth .content-about{
    align-items: start;
}

#section-projects .box-project .content-about .box-about{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#section-projects .box-project .content-about .box-about h2, 
#section-projects .box-project .content-about .box-about p{
    text-align: end;
}

#section-projects .box-project-rigth .content-about .box-about h2, 
#section-projects .box-project-rigth .content-about .box-about p{
    text-align: start;
}

#section-projects .box-project .content-about a{
    border: none;
    outline: none;

    padding: 10px 20px;

    color: white;
    font-size: 13pt;
    font-weight: 700;
    text-decoration: none;
    background-color: black;
    border-radius: 20px 5px 20px 5px;

    cursor: pointer;

    transition: all 0.3s ease;
}

#section-projects .box-project .content-about a i{
    margin-left: 10px;
}

#section-projects .box-project .content-about a:hover{
    border-radius: 5px 20px 5px 20px;
}

#section-projects .box-project .content-about .box-techs{
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    gap: 30px;

    width: 100%;
}

#section-projects .box-project-rigth .content-about .box-techs{
    justify-content: start;
}

#section-projects .box-project .content-about .box-techs img{
    height: 25px;
}





#section-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: red; */

    height: 100vh;
}

#section-contact h1{
    font-size: 25pt;
}

#section-contact > p{
    font-size: 13pt;
}

#section-contact .content-contacts{
    display: flex;
    gap: 70px;
    margin-top: 100px;
}

#section-contact .content-contacts div{
    padding: 30px 40px;

    background-color: rgb(238, 238, 238);
    border-radius: 50px 10px 50px 10px;
}





footer{
    position: sticky;
    bottom: 0px;
    width: 100%;

    padding: 10px 0px;

    display: flex;
    justify-content: center;

    background-color: white;
}

footer h1{
    font-size: 15pt;
}





@media (max-width: 1000px) {
    nav button{
        border: none;
        outline: none;
    
        padding: 10px 20px;
    
        color: white;
        font-size: 10pt;
        font-weight: 700;
        background-color: black;
        border-radius: 20px 5px 20px 5px;
    
        cursor: pointer;
    
        transition: all 0.3s ease;
    }
    
    nav button:hover{
        border-radius: 5px 20px 5px 20px;
    }

    .btn-openMenu,
    .btn-closeMenu{
        display: block !important;
    }
    
    nav ul{
        position: fixed;
        top: 0px;
        left: 0px;


        padding: 30px;
        width: 100%;
        height: 100%;

        display: flex;
        align-items: end;
        flex-direction: column;

        background-color: white;

        transform: translateX(100%);

        transition: all 0.3s ease;
    }

    nav .nav-active{
        transform: translateX(0px);
    }

    nav .btn-closeMenu{
        border: none;
        outline: none;
    
        padding: 10px 20px;
    
        color: white;
        font-size: 13pt;
        font-weight: 700;
        background-color: black;
        border-radius: 20px 5px 20px 5px;
    
        cursor: pointer;
    
        transition: all 0.3s ease;
    }
    
    nav .btn-closeMenu:hover{
        border-radius: 5px 20px 5px 20px;
    }





    #section-home{
        padding: 25px;
    }
    
    #section-home .content-me{
        flex-direction: column;
    }

    #section-home .content-me .box-me h1,
    #section-home .content-me .box-me p{
        text-align: center;
    }





    #section-about{
        padding: 25px;
        margin-bottom: 150px;

        /* background-color: red; */
    }   

    #section-about .content-about{
        align-items: center;
        max-width: 100%;
        flex-direction: column-reverse;
    }

    #section-about .content-about .box-img{
        /* max-width: 400px; */
        width: 100%;
    }

    #section-about .content-about .box-me{
        align-items: center;
        width: 70%;
    }

    #section-about .content-about .box-me h1,
    #section-about .content-about .box-me p{
        text-align: center;
    }

    #section-about .content-about .box-me .box-skills{
        align-items: center;
    }

    #section-about .content-about .box-me .box-skills div{
        justify-content: center;
    }





    #section-projects{
        gap: 40px;
        margin-bottom: 100px;
    }
    
    #section-projects .content-projects{
        width: 100vw;
        flex-direction: column;
        padding: 25px;
    }
    
    #section-projects .box-project{
        display: flex;
        align-items: center;
        flex-direction: column-reverse;
        gap: 80px;
    
        width: 100%;
    }

    #section-projects .box-project .content-about{
        width: 70%;
    }

    #section-projects .box-project .box-img{
        min-width: auto;
        max-width: 450px;
        width: 100%;
        height: 250px;
        margin-bottom: 50px;

        box-shadow: none;
        background-color: black;
    }

    #section-projects .box-project .box-img img{
        border-radius: 50px 10px 50px 10px;
    }





    #section-contact{
        margin-bottom: 100px;
    }

    #section-contact .content-contacts{
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 500px) {
    #section-about .content-about .box-me{
        width: 100%;
    }

    #section-projects .box-project .content-about{
        width: 100%;
    }
}