@import url('https://fonts.googleapis.com/css2?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&display=swap');


:root{
    --corPrincipal: #fc4955;
    --corSecundaria:#23263a;
    --teste:#212336;
}

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

a{
    text-decoration: none;
}

img{
    width: 100%;
    display: flex;
}

ul{
    list-style: none;
}

body{
    font-family:"Poppins", Verdana, Geneva, Tahoma, sans-serif;
    background-color: var(--corSecundaria);
    font-size: 1rem;
    color: #fff;
}

header{
    width: 100%;
    position: fixed;
    background-color: var(--teste);
}

#nav-header{
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

}

#div-logo-header{
    max-width: 70px;
    min-width: 55px;
}

#ul-links-header{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.links-lis a{
    position: relative;
    padding: 0.75rem;
    color:#fff;
    font-size: 1rem;
    transition: all 0.5s ease;
}

.links-lis a:hover{
    color:var(--corPrincipal);
}


.links-lis a::after{
    content: '';
    position: absolute;
    border-radius: 2px;
    bottom: 0;
    left: 2px;
    width: 0px;
    height: 2px;
    background-color: var(--corPrincipal);
    transition: all 0.5s ease;
}

.links-lis a:hover::after {
    width: 100%;

}

#btn-contact-header{
    display: none;
}

#main{
    max-width: 1200px;
    margin: auto;
    padding: 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
}

#content-container{
    width: 98%;
    margin: auto;
}


#home{
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#content-home h1{
    font-size: 4rem;
    font-weight: 500;
    line-height: 4.5rem;
}

#content-home h1 span{
    color: var(--corPrincipal);
}

#content-home h3{
    font-size: 3rem;
    font-weight: 500;
    line-height: 3.5rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--corPrincipal);
    margin-bottom: 1rem;
}

#content-home p , .box-expertise p ,.card-experience p{
    font-size: 1rem;
    opacity: .4;
}



#btn-home{
    margin-top: 1rem;
    width: 0;
    transition: all 1s ease;
    border-radius: 5PX;
}

#btn-contact-home{
    background-color: transparent;
    padding: 1rem 3rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    border:2px solid #fff;
    transition: all 1s ease-in-out;
}

#btn-home:hover{
    width: 160px;
    background-color: var(--corPrincipal);
}
#btn-contact-home:hover{
    border:2px solid var(--corPrincipal);
}

#btn-contact-home a {
    color: #fff;
    font-size: 1.1rem;

}





/*Section expertise*/
#expertise{
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: start
}

#expertise h2 , #experience h2, #contact h2{
    position: relative;
    color: var(--corPrincipal);
    font-size: 3rem;
    font-weight: 600;
}

#content-expertise{
    margin: auto;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: space-evenly;
    gap: 1rem;

}

.box-expertise{
    background-color: #2b2d41;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    padding: 1.5rem;
    width: 250px;
    height: 250px;
}

.box-expertise i {
    font-size: 2rem;
    cursor: pointer;
    color: var(--corPrincipal);
}

.box-expertise h3 {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}


#experience{
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content-experience{
    margin: auto;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#experience-education, #experience-work {
    min-height: 250px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 15px;
}

#education-title, #work-title{
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#education-title i, #work-title i{
    font-size: 1.5rem;
    color: var(--corPrincipal);
}
#education-title h3, #work-title h3{
    color: transparent;
    font-size: 1.5rem;
    -webkit-text-stroke: 1px var(--corPrincipal)
}

#content-education, #content-work{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.card-experience{
    background-color: #2b2d41;
    width: 95%;
    height: 190px;
    padding: .5rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.card-experience span{
    font-size: .8rem;
    opacity: .2;
}
.card-experience h4{
    font-size: 1rem;
    color: var(--corPrincipal);
    font-weight: 600;
}


#contact{
    padding: 1rem;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
}

#block-links-contact{
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

#block-links-contact .links {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem;
}

#block-links-contact .links i {
    color: var(--corPrincipal);
    font-size: 2rem;
}

#block-links-contact .links a {
    color: #fff;
    position: relative;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all 1s ease;
}
#block-links-contact .links a:hover{
    color: var(--corPrincipal);
}
#block-links-contact .links a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    background-color: var(--corPrincipal);
    width: 0px;;
    height: 2px;
    transition: all 1s ease;
}
#block-links-contact .links a:hover::after{
    width: 80%;
}

#btn-return-home{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

#btn-return-home i {
    font-size: 3.5rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--corPrincipal);
    cursor: pointer;
    transition: all 1s ease;
}

#btn-return-home i:hover{
    -webkit-text-stroke: 1px #fff;
}











@media (max-width:700px){
    header{
        position: sticky;
        top: 0px;
    }
    #ul-links-header{
        display: none;
    }

    #btn-contact-header{
        display: block;
        padding: 1rem 1.6rem;
        background-color: var(--corPrincipal);
        color: #fff;
        font-size: 1.1rem;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.5s ease;
    }
    
    #btn-contact-header:hover{
        opacity: 0.7;
    }

    #btn-contact-header a{
        color: #fff;
        font-size: 1.1rem;
    }

    #content-home h1{
        font-size: 3.2rem;
        line-height: 3.3rem;
    }

    #content-home h3{
        font-size: 2.7rem;
        line-height: 3rem;
    }

    .box-expertise{
        min-width: 300px;
        min-height: 300px;
    }

    #content-experience{
        display: flex;
        flex-direction: column;
    }
    #experience-education, #experience-work {
        width: 100%;
    }
    #block-links-contact{
        padding: 1rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }
}