:root{
    --primary-color:rgb(19, 23, 39);
    --secondary-color:  rgb(29, 221, 87);
    --w:30px;
    
}


*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


html{
    font-family: 'Montserrat', sans-serif;
    background-color:var(--primary-color);
    font-size: 12px;
    overflow-y: scroll; 
    
}
header{
    display: flex;
    justify-content: center;
    height: 150px;
    align-items: center;
}
main{
    opacity: 0;
    animation: show-up 2s ease 3.5s forwards;
}


.logo img{
    max-width: 200px;
}
.name{
    color: white;
    font-size: 3rem;
    font-weight: 300;
    display: flex;
    flex-direction: column;

}
.name h3{
    font-weight: 300;
    font-size: 3rem;
}

.name h5{
    font-weight: 300;
    font-size: 2rem;
    margin-bottom: 40px;
}

.name p{
    font-weight: 300;
    font-size: 1.3rem;
    opacity: .9;
    margin-bottom: 40px;
}

main{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

main .content{
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

nav ul{
    color: white;
    width: 400px;
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    font-size: 1.2rem;
}
nav li{
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: .8; 
    height: 80px;
    cursor:pointer;
}

li.strongOption{
   color:  rgb(29, 221, 87); 
   opacity: 1;
}
li.strongOption .line{
   border-bottom: 1px solid rgb(29, 221, 87); 
   opacity: 1;
   transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
   animation: li .8s ease-in-out infinite alternate;

}

li.strongOption .line.selected {
    animation: none;
    animation: liAnimation 0.3s;
      transition: 100s ease;
      width: 150px;
      
      
}

.reduceLine{
    animation: reduceLine .3s!important;
}

.pulse{
    animation: li .8s ease-in-out infinite alternate;
}

@keyframes liAnimation{
    from{
        width:var(--w);
    }to{
        width: 150px;
    }
}

@keyframes li{
    from{
        width: 40px;
    }to{
        width: 80px ;
    }
}





li.selected{
    opacity: 1;
  
}

.cursor{
    width: 1px;
    height: 1px;
    background-color: white;
    position: absolute;
    top: 0px;
    opacity: .4;
    box-shadow: 0px 0px 10000px 300px rgba(37, 54, 85, 0.562);
    pointer-events: none;
    border-radius: 50%;
    z-index: 100;
}

.line{
    border-bottom: .5px solid white;
    opacity: .5;
    width: 40px;
    height: 0px;
    transition: 0.3s ease;
}


li:hover .line{
    transition: 0.3s ease;
}


.line.selected{
    width: 150px;
    opacity: 1;

}


.info{
    min-width: 50%;

}


.feed{
    color: white;
}

.about{
    font-size: 1.2rem;
    text-align: justify;
    color: rgba(255, 255, 255, 0.692);
    line-height: 35px;
}

.feedItemTitle{
    display: none;
}

p{
    margin-bottom: 40px;
}

.experience{
    display: flex;
    flex-direction: column;
    gap: 40px;

    max-height: 100vh;
}
.experienceCard{
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
   
    position: relative;
    
    
}




.experienceCard .content{
    max-width: 100%;
    display: flex;
    height: 90%;
    flex-direction: column;
}


.experienceCard .title{
    
    font-size: 1.3rem;
    margin: 0px;
}

.experienceCard .company{
    margin-bottom: 10px;
    font-size: 1rem;

}


.experienceCard .description{
    line-height: 25px;
    font-size: 1.2rem;
    text-align: justify;
    margin-bottom: 10px;
    opacity: .7;
}

.experienceCard .skills{
display: flex;
flex-wrap: wrap;
    gap: 10px;

}


.experienceCard .skills span, .projectCard .skills span{
    background-color: rgba(14, 141, 63, 0.712);
    border-radius: 30px;
      white-space: nowrap;

padding: 2px 15px;}



.feedItem{
    animation-name: show-up;
    animation-duration: 0.5s;
}




@keyframes show-up{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
@keyframes fade{
    from{
        opacity: 1;
    }
    to{
        opacity: 0;
    }
}

.projects{
    display: flex;
    flex-direction: column;
    gap: 50px;
    height: 700px;
    overflow: auto;
}
.textAndImage{
    display: flex;
    gap: 20px;
}

.projects::-webkit-scrollbar {
    width: 8px;
    border-radius: 10px;
}

.projects::-webkit-scrollbar-thumb {
    background-color: #c3c3c310;
    border-radius: 10px;
    margin: 10px;
    max-width: 10px!important;
}
.projects::-webkit-scrollbar {
    width: 10px;
    position: relative;
    padding: 10px;
    scrollbar-gutter: auto;

    left: 10000px;
    border-top-right-radius: 4px;
    background:transparent;
}

.projectCard{
    position: relative;
    display: flex;
    justify-content: center;

    cursor: pointer;
    
    align-items: stretch;
}

.visualize{
    position: absolute;
    background-color:  rgb(29, 221, 87);
    width: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    height:100%;
    left: 0;

    transition: 0.3s ease;
}

.visualize p{
    display: none;
    transition: 5s ease;
    animation-name: show-up;
    animation-duration: 1s;
    margin: 0px;
}

.projectCard:hover .visualize{
    display: flex;
    width: 100%;
 
}
.projectCard .text-content h3{
    font-size: 1.3rem;
    margin-bottom: 0px;
    font-weight: 300;
}
.projectCard .text-content p{
    font-size: 1.1rem;
    margin-bottom: 20px;
    margin-top: 7px;
}


.projectCard:hover .visualize p{
    display: block;
    
}

.projectCard  .visualize i{
    margin: 10px;
    
}

.projectCard .visualize i:hover{
    color: var(--primary-color);
    transition: 0.3s ease;
    
}

.projectView{
    position: absolute;
    height: 90vh;
    width: 70vw;
    left: 15vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(17, 23, 78, 0.945);
    top: 5vh;
    z-index: 100000;
    flex-direction: column;
    
}


.projectCard .content{
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
max-width: 100%;
    text-align: justify;
}

.projectCard .skills{
display: flex;
flex-wrap: wrap;
    gap: 10px;
}
.projectCard .text-content{
    width: 90%;
}

.projectCard img{
    max-width: 230px;
}




.contacts p{
    font-size: 1.4rem;
    color: rgb(255, 255, 255);
    line-height: 30px;
    
    text-align: justify;
}

.contacts p span{
background-color:  rgb(29, 221, 87);
color: var(--primary-color);
}



.hidden{
    display: none;
}







.actionButton button:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}



.logo-container{
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    background-color: var(--primary-color);
}

.big-square{
    background-color: rgb(29, 221, 87);
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    position: relative;
    border: none;
    color: var(--primary-color);
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;

}
.logo-container .logo{
    display: flex;

    gap: 20px;
    align-items: center;
    cursor:default;
    scale: 2;
    position: absolute;
    pointer-events: auto;
    transform-origin: center center;
    top: 47vh;


    
    animation: 
        show-up 0.8s ease forwards,           /* Primeira: Aparece */
        logoToTop 0.6s ease-in-out 3s forwards; /* Segunda: Sobe (começa após 1.5s) */
}


.logo .text{
    font-size: 2.3rem;
    letter-spacing: 5px;
    color: rgb(29, 221, 87);
    

}

.logo .text span{
    opacity: 0;
    position: relative;
    animation: letterDrop .4s ease forwards;
}


@keyframes letterDrop{
    from{
        opacity: 0;
        bottom: 30px;
    }to{
        opacity: 1;
        bottom: 0px;
    }
}

.logo .text span:nth-child(1) { animation-delay: 0.1s; }
.logo .text span:nth-child(2) { animation-delay: 0.2s; }
.logo .text span:nth-child(3) { animation-delay: 0.3s; }
.logo .text span:nth-child(4) { animation-delay: 0.4s; }
.logo .text span:nth-child(5) { animation-delay: 0.5s; }
.logo .text span:nth-child(6) { animation-delay: 0.6s; }
.logo .text span:nth-child(7) { animation-delay: 0.7s; }
.logo .text span:nth-child(8) { animation-delay: 0.8s; }
.logo .text span:nth-child(9) { animation-delay: 0.9s; }


.blue-square{
    background-color: var(--primary-color);
    width: calc(22%);
    height: calc(22%); 
    position: absolute;
    left: -1px;
    top: -1px;
}
.logo-letter{
transform: rotate(-45deg);
    position: relative;
    font-size: 3.2rem;
}

.blue-square::before {
content: '';
    width: 13px;
    background-clip: padding-box;
    height: 13px;
    background-color: rgb(29, 221, 87);
    position: absolute;
    transform: translate(-10px, -10px) rotate(0deg); 
    opacity: 1;
    border: 1px solid transparent;
    animation: cristalSequence 1s ease 2s backwards; 
    transition: transform .7s ease-in-out;
}

.logo-container{
    background-color: transparent;
    z-index: 10;
    pointer-events: none;
}

@keyframes cristalSequence {
    0% { transform: translate(-60px, -60px); opacity: 0;}
    66% { transform: translate(-10px, -10px);opacity: 1; }
    80% { transform: translate(-15px, -15px); opacity: 1;}
    100% { transform: translate(-10px, -10px);opacity: 1; }
}




 @keyframes logoToTop{
from {
    }
    to {
        top: 70px; 
        transform: scale(.5);
    }
}
 
@keyframes cristalHoverState {
    from { transform: translate(-10px, -10px) rotate(0deg); opacity: 1; }
    to { transform: translate(-10px, -10px) rotate(360deg); opacity: 1; }
}

.logo-container .logo:hover .blue-square::before {
    transform: translate(-10px, -10px) rotate(360deg);
}

.contactIcons{
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.315);
    display: flex;
    gap: 10px;
    width: 25%;
    margin-bottom: 8px;
    width: 100%;
    
}

.contactIcons i:hover{
    color: white;
    transition: 0.3s ease;
}
.contactIcons i{
    margin: 0px;
}

.burguer{
    display: flex;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index:10;

    height: 40px;
    align-items: center;
}
.burguer div{
    width: 30px;
    border-bottom: 1px solid white;
    transition: 0.3s ease;
}

.burguer .line3{
    opacity: 0;
    transform: rotate(-45deg);
    transition: 0.3s ease;
    
}

.burguer .line1{
    position: absolute;
    transform: rotate(45deg);
    transition: 0.3s ease;

}
.burguer .line2{
    position: absolute;
    transition: 0.3s ease;
    transform: rotate(-45deg);
}


.phoneMenu{
    background-color: var(--primary-color);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index:6;
    color: white;
    left: 0;
    display: none;
    transition: 1s ease;
    animation: show-up .3s forwards;
    align-items: center;
    justify-content: center;
}

.phoneMenuStrong {
    color: rgb(29, 221, 87);
    position: relative;
    padding: 10px 30px;
}

.phoneMenuStrong::before {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: rgb(29, 221, 87);
    animation: linePassing 1.5s infinite alternate;
}

.phoneMenuStrong::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    top: 0px;
    left: 0;
    background-color: rgb(29, 221, 87);
    animation: upperLinePassing 1.5s infinite alternate;
}


.actionButton button::before {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: rgb(29, 221, 87);
    animation: linePassing 1.5s infinite alternate;
}

.actionButton button::after {
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0px;
    left: 0;
    background-color: rgb(29, 221, 87);
    animation: upperLinePassing 1.5s infinite alternate;
}



.rightBorder{
    height: 100%;
    width: 1px;
    background-color:  rgb(29, 221, 87);
    position: absolute;
    right: 0;
    top: 0px;
    animation: leftLinePassing 1.5s infinite alternate;
}

.leftBorder{
    height: 100%;
    width: 1px;
    background-color:  rgb(29, 221, 87);
    position: absolute;
    left: 0;
    top: 0px;
    animation: leftLinePassing 1.5s infinite alternate;
}

.actionButton{
    display: flex;
    justify-content: center;
    margin-top: 100px;
    
}

.actionButton button {
    border: none;
    width: 300px;
    position: relative;
    height: 40px;
    background-color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    color: rgb(29, 221, 87);
    cursor: pointer;
    transition:0.3s ease;
      animation: pulse 1s infinite ease-in-out alternate;
}
.actionButton button:hover{
    background: rgb(29, 221, 87);
    color: var(--primary-color);
}

.actionButton button:hover .leftBorder, .actionButton button:hover .rightBorder, .actionButton button:hover::before, .actionButton button:hover::after   {
    opacity: 0;
}

@keyframes rightLinePassing {
    0% { transform: scaleY(0); transform-origin: bottom; }
    45% { transform: scaleY(1); transform-origin: bottom; }
    55% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: top; }
}


@keyframes leftLinePassing {
    0% { transform: scaleY(0); transform-origin: bottom; }
    45% { transform: scaleY(1); transform-origin: bottom; }
    55% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: top; }
}



@keyframes linePassing {
    0% { transform: scaleX(0); transform-origin: left; }
    45% { transform: scaleX(1); transform-origin: left; }
    55% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes upperLinePassing {
    0% { transform: scaleX(0); transform-origin: right; }
    45% { transform: scaleX(1); transform-origin: right; }
    55% { transform: scaleX(1); transform-origin: left; }
    100% { transform: scaleX(0); transform-origin: left; }
}

.phoneMenu ul{
    padding: 0px;
    list-style: none;
    font-size: 1.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    gap: 60px;
}

@media (max-width:700px){
    .cursor{
        display: none;
    }

    .content{
        flex-direction: column;
    }

html{
    font-size: 9px;
}
    nav{
        display: none;
    }
    .contactIcons{
        justify-content: start;
        font-size: 2rem;
        gap: 30px;
    }
    .burguer{
        display: flex;
        margin-bottom: 30px;
    }
    .content{
        height: 100vh;
    }
    main{
        margin-top: 0px;
        position: absolute;
        top: 90px;
        right: 0px;
        width: 100vw;
        height: 90vh;
    
    }

    
.blue-square{
    width: calc(22%);
    height: calc(22%); 
}
.logo-letter{
    font-size: 2rem;
}

.blue-square::before {

    width: 7.5px;
    height: 7.5px;
    transform: translate(-10px, -10px) rotate(0deg); 
}

.big-square{
    width: 30px;
    height: 30px;
}

.logo-container .logo{
height: 30px;
margin: 0px;


}


.logo .text{
    font-size: 1.8rem;
}


 @keyframes logoToTop{
from {
    }
    to {
        top: 40px; 
        transform: scale(.5);
    }
}
.name h5, .name p{

    margin-bottom: 10px;
}

.name p{
    opacity: .7;

}


.contactIcons{
    margin-bottom: 60px;
}


.about{
    font-size: 1.5rem;
    line-height: 25px;
}
.feedItemTitle{
    display: block;
    font-size: 2rem;
    color: white;
}




.experienceCard .content{
    width: 100%;
    flex-direction: column;
}


.experienceCard .title{
    font-size: 1.5rem;
    margin: 0px;
}

.experienceCard .company{
    margin-bottom: 10px;
    font-size: 1.2rem;
}


.experienceCard .description{
    line-height: 18px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}


.projects{
    gap: 20px;
    width: 100%;
    height: auto;

}
.projectCard{
    flex-direction: column;
    height: auto;
    max-width: 100%;
    margin-bottom: 60px;
}
.projectCard .content{
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: justify;
    width: 90vw;
}

.projectCard .skills{
display: flex;
flex-wrap: wrap;
    gap: 10px;
}
.projectCard .text-content{
    width: 100%;
}

.projectCard .text-content h3{
    font-size: 1.5rem;
    margin-bottom: 0px;
    font-weight: 300;
}
.projectCard .text-content p{
    font-size: 1.2rem;
    margin-bottom: 20px;
    margin-top: 7px;
}

.projectCard img{
    max-width: 100%;
    display: block!important;
    height: auto;
}

.projectCard .textAndImage{
    flex-direction: column;
}

.visualize{

    width: 100%;
    display: flex;
    right: 0;
    height: 2%;
    top: 0;
    
    transition: 0.3s ease;
}



.projectCard:hover .visualize{
    display: flex;
    height: 100%;
 
}


.contacts p{
        font-size: 1.5rem;
    line-height: 25px;
}



}