/* Configs Gerais */

.input-btn {
    cursor: pointer;
}

input.input-btn:hover {
    background-color: var(--cor-cinza-claro);
    color: var(--cor-roxo-escuro);
    transition: 100ms;
}


.demo:hover {
    background-color: var(--cor-cinza-claro);
    color: var(--cor-roxo-escuro);
    transition: 100ms;
}

.repositorio:hover {
    background-color: var(--cor-titulos);
    color: var(--cor-cinza-claro) !important;
    transition: 100ms;
}



/* ------------ Cabeçalho ------------ */

.cabecalho {
    background-color: var(--cor-cinza-claro);

}

.main-top {
    display: flex;
    align-items: baseline;
    justify-content: space-around;
    gap: 1rem;
    padding: var(--espacamento-padding);
}

.apresentacao {
    font-size: 1em;
    padding: var(--espacamento-padding);
}

.foto {
    width: 9rem;
    max-width: 150px;
    padding: 0 0 0 1rem;
}

.menus {
    display: flex;
    padding: 1rem;
    gap: 1rem;
    font-size: 20px;
}

.menus-nav {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.menus-nav li {
    position: relative;
    overflow: hidden;
}

.menus-nav li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-roxo-escuro);
    transition: width 0.7s ease;
    /* Transição suave da largura */
}

.menus-nav li:hover::before {
    width: 100%;
    /* Aumenta a largura ao passar o mouse */
}


.gradient-hr {
    height: 1rem;
    /* Altura da linha */
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    animation: gradiente-animacao 4s linear infinite;
    /* Duração, tipo e repetição da animação */
}

/* ------------------------------- */
/* ------------ Corpo ------------ */

.sobre {
    background-color: var(--cor-cinza-middle);
    padding: var(--espacamento-padding);
    color: var(--cor-bordas);
    line-height: 25px;
    font-weight: 150;
}




.skills {
    background-color: var(--cor-cinza-claro);
    padding: var(--espacamento-padding);
}

.areaSkills h2 {
    text-align: center;
}

.skilltree {
    padding: 0%;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 0;
    gap: 16px;

}

.skilltree .skill {
    background-color: #FFFFFF;
    width: 5rem;
    height: 118px;
    gap: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    flex-grow: 1;
    padding: var(--espacamento-padding);
}

.hobbies h2 {
    text-align: center;
}

.hobbiesTree {
    padding: 0%;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 0;
    gap: 16px;
}

.hobbiesTree .hobbie {
    background-color: #FFFFFF;
    width: 5rem;
    height: 118px;
    gap: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    flex-grow: 1;
    padding: var(--espacamento-padding);
}

.formacoes {
    background-color: var(--cor-cinza-middle);
    padding: var(--espacamento-padding);
}

.formacoes h2 {
    text-align: center;
}

.formacaoTree {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0%;
}

.formacaoTree h3 {
    font-size: 1rem;
}

.formacao img {
    width: 300px;
    height: 150px;

}


.experiencia {
    background-color: var(--cor-cinza-claro);
    padding: var(--espacamento-padding);
}

.experiencia h2 {
    text-align: center;
    padding: 0%;
}

.projetos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ------ efeito ease imagens */
.image-container {
    position: relative;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    /* padding: 1rem; */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: .5s ease;
    background-color: var(--cor-cinza-middle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container:hover .overlay {
    opacity: 1;
}

.text {
    padding: 1rem;
    font-size: 10px;
    /* transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*------------------------------------------------------*/

.projetos li {
    display: flex;
    flex-direction: column;
    max-width: 700px;
}

.projeto {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
}

.reverse-row {
    flex-direction: row-reverse !important;
    align-self: flex-end;
}



.botoes-rep {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.repositorio {
    box-sizing: border-box;
    width: 100px;
    height: 40px;
    border: 1px solid var(--cor-roxo-escuro);
}

.repositorio {
    color: var(--cor-roxo-escuro);
}


.demo {
    box-sizing: border-box;
    width: 100px;
    height: 40px;
    border: 1px solid var(--cor-roxo-escuro);
    background-color: var(--cor-titulos);
    color: var(--cor-cinza-claro);
}



/* ------------------------ */
/* ------------ rodape ------------ */
footer {
    background-color: var(--cor-cinza-middle);
    padding: 0%;
}

.contato {
    padding: var(--espacamento-padding);
}

.contato .contato-top {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.formulario {
    display: flex;
    gap: 30px;
}

.entre_contato {
    display: none;
    width: auto;
    height: auto;
    max-width: 600px;
    border-radius: 15px;
    -webkit-box-shadow: 6px 5px 16px 0px rgba(161, 161, 161, 1);
    -moz-box-shadow: 6px 5px 16px 0px rgba(161, 161, 161, 1);
    box-shadow: 6px 5px 16px 0px rgba(161, 161, 161, 1);
}

.opcoes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}


input {
    font-size: 16px;
    width: 100%;
}

.form_opt {
    width: 100%;
}

.mensagem {
    font-size: 1rem;
    padding: var(--espacamento-padding);
    width: 93%;
    height: 200px;
}

.formulario label {
    position: absolute;
    font-size: 14px;
    padding: 5px 0px 0px 5px;
    color: var(--cor-cinza-middle);
    line-height: 0.9em;
}

.input-btn {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 1px solid var(--cor-roxo-escuro);
    background-color: var(--cor-titulos);
    color: var(--cor-cinza-claro);
}

.contato-top p {
    margin-bottom: 1rem;
}

.contato-inferior {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 100%;
    height: 7rem;
    text-align: center;
}


@media screen and (min-width:768px) {

    .resumo {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .foto {
        width: 9rem;
        max-width: 150px;
        padding: 2rem;
    }

    .skilltree .skill {
        width: 15rem;
        max-width: 200px;
    }

    .skilltree {
        justify-content: center;
    }


    .hobbiesTree .hobbie {
        width: 15rem;
        max-width: 200px;
    }

    .hobbiesTree {
        justify-content: center;
    }

    .formacaoTree {
        flex-direction: row;
        justify-content: center;
    }

    .projetos {
        display: flex;
        align-items: flex-start;
        padding: 2rem;

    }

    .projetos li {
        gap: 1rem;
    }

    

    .projetos img {
        max-width: 785px;
        padding: 1px;
        width: 49rem;
    }

    .overlay {
        max-width: 850px;
    }

    .infos {
        display: flex;
        flex-direction: column;
    }

    .mensagem {
        width: 96%;
    }

    .text {
        padding: 1rem;
        font-size: 18px;
        /* transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%); */
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }
}

@media screen and (min-width: 1025px) {
    .main-top {
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .apresentacao {
        line-height: 2rem;
    }

    .apresentacao h1 {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    .menus-nav {
        align-items: center;
    }

    .resumo {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .foto {
        width: 23rem;
        max-width: 368px;
    }

    .sobre {
        padding: 2rem 17rem 2rem 7rem;
    }

    .skilltree .skill {
        max-width: 120px;
    }

    .hobbiesTree .hobbie {
        max-width: 120px;
    }

    .formacoes {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-size: 100%;
    }

    h2 {
        font-size: 2rem;
    }


    .projetos {
        display: flex;
        padding: 0 10rem 0 10rem;
        align-items: flex-start;
    }

    .projetos li {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .projetos img {
        max-width: 900px;
    }



    .reverse-row {
        flex-direction: row-reverse !important;
        align-self: flex-end;
    }

    .infos {
        display: flex;
        flex-direction: column;
        justify-self: center;
        align-self: center;
    }

    .opcoes {
        flex-direction: row;
        flex-wrap: wrap;

    }


    .entre_contato {
        display: block;
    }

    .formulario {
        justify-content: space-around;
    }

    .text {
        padding: 1rem;
        font-size: 18px;
        /* transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%); */
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

}