@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');


html ::-webkit-scrollbar {
    width: 10px;

}

html ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--corfoco);
}

html ::-webkit-scrollbar-track {
    background: #f2efff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
}

body {
    margin: 0;
    background-color: var(--colorfundo)
}

main {
    margin: auto;
    max-width: 73%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    transition: 0.5s;

}

:root {
    --colorfundo: #F1FAEE;

    --corbloco: #fff;

    --corfoco: #E63946;

    --cortexto: #000000;

    --sombranativa: #00000059 0px 5px 15px;
}

/*************** Botão escuro **************************************************/

.button_not {
    position: fixed;
    bottom: 2vw;
    right: 14vw;
    border-radius: 30%;
    z-index: 2;
    transition: 0.5s;
    fill: #fff;
    border: 2px solid #a7a7a7;
    background-color: #282a3a;
    box-shadow: #0000003d -2px 5px 10px, #0000003d 2px 5px 10px;
}

/*************** cabeçalho **************************************************/
.container-header {
    background-color: var(--corbloco);
    box-shadow: var(--sombranativa);
    margin: 10px auto 0;
    width: 98%;
    border-radius: 15px;
    padding: 20px 0;
    transition: 0.5s;
}



.conteudo-header {
    display: flex;
    margin: 10px auto;
    max-width: 71%;
    justify-content: space-between;
    align-items: center;
}

.nome {
    font-family: Arial, Helvetica, sans-serif;
}

.nome span {
    color: var(--corfoco);
}

.nome h1 {
    color: var(--cortexto);

}

.container-redes-social ul {
    list-style: none;
    display: flex;
    flex-wrap: no-wrap;
    justify-content: space-between;
}

.container-redes-social ul li {
    margin: 0 10px;
}

a {
    text-decoration: none;
    transition: 0.5s;
}

.svg-ico {
    transition: 0.5s;
    fill: var(--cortexto);

}

/*************** navegação **************************************************/

nav {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    display: flex;
    transition: 0.5s;
}

nav a {
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 25px;
    background-color: var(--corbloco);
    color: var(--corfoco);
    font-weight: bold;
    box-shadow: var(--sombranativa);
    border: 2px solid var(--corbloco);
}

/************************** container and ber *************************************************************/

.container-bar {
    background-color: var(--corbloco);
    padding: 20px;
    text-align: center;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: var(--sombranativa);
    transition: 0.5s;
}

.container-bar h2 {
    font-size: 22px;
    color: var(--corfoco);
    font-family: Arial, Helvetica, sans-serif;
}

/*************** corpo primeira seção - sobre mim **************************************************/
.container-perfil {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    transition: 0.5s;
}

.foto-perfil {
    width: 30%;
    display: flex;
    border-radius: 30px;
    background-color: var(--corbloco);
    box-shadow: var(--sombranativa);
    overflow: hidden; /* Ensure the image does not escape */
    transition: 0.5s;
}

.foto-perfil img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}


.container-text {
    width: 53%;
    text-align: justify;
    display: flex;
    padding: 30px 4em;
    border-radius: 20px;
    color: var(--cortexto);
    font-weight: bold;
    background-color: var(--corbloco);
    box-shadow: var(--sombranativa);
    transition: 0.5s;
}

.container-text p::first-letter {
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.container-text p {
    font-size: 16px;
    line-height: 30px;
}

.container-text p span {
    color: var(--corfoco);
}

/*************** corpo segunda seção - projetos *********************/

.container-projetos {
    display: flex;

}

.container-projetos ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-around;
    gap: 20px
}

.container-projetos ul li p {
    font-weight: bold;
    font-size: 0.9em;
}

.container-projetos ul li {
    transition: 0.5s;
    padding: 10px;
    border-radius: 10px;
    color: var(--cortexto);
    background-color: var(--corbloco);
    width: 160px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--sombranativa);
}

.container-projetos ul li img {
    width: 80px;
    border-radius: 15px;
    transition: 0.5s;

    background-color: #fff;
    margin: 10px 0;
}

/*************** footer **************************************************/

.container-footer {
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: var(--corbloco);
    justify-content: center;
    margin-top: 60px;
    padding: 30px 0;
    color: var(--cortexto);
}

.nome-footer {
    border-right: 1px solid #000;

}

.nome-footer h3 {
    transition: 0.5s;
    padding: 20px;
    color: var(--cortexto);
}

.nome-footer h3::first-letter {
    font-size: 40px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--corfoco);
}

.contato-letter {
    padding: 0 10px;
    margin-bottom: 20px;
}

.contato {
    display: flex;
    align-items: center;
    margin-left: 10px;
    margin-bottom: 10px;
}

.contato p {
    transition: 0.5s;
    font-weight: bold;
    color: var(--cortexto);
}

.contato svg {
    padding: 0 10px;
    transition: 0.5s;
    fill: var(--corfoco);
}

/************ ativação de efeitos acima de  1028px **************/

@media screen and (min-width: 1028px) {

    /************* Botão escuro *********************/

    .button_not:hover {
        fill: var(--colorfundo);
        background-color: var(--corfoco);
        border: 2px solid;
    }

    /************* cabeçalho ************/

    .svg-ico:hover {

        transform: scale(1.2);
        fill: var(--corfoco);
    }

    /*************** navegação ***********************/

    nav a:hover {
        transform: scale(1.1);
        background-color: var(--corfoco);
        box-shadow: var(--sombranativa);
        color: #fff;
    }

    /********** Corpo primeira seção - sobre mim *********/

    .foto-perfil:hover {
        background-color: var(--corfoco);
        transform: scale(1.07);
    }

    /*********** corpo segunda seção - projetos ********/

    .container-projetos ul li:hover {
        transform: scale(1.1);
        background-color: var(--corfoco);
        color: var(--corbloco);
        box-shadow: var(--sombranativa);

    }

    /*************** footer ************/

    .nome-footer h3:hover {
        color: var(--corfoco);
    }

    .contato p:hover {
        color: var(--corfoco);
    }

    .contato svg:hover {
        fill: var(--corfoco);
    }

}

/************ ativação de efeitos ACTIVE PARA MENORES de  1026px **************/

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

    /************* Botão escuro *********************/

    .button_not:active {
        fill: var(--colorfundo);
        background-color: var(--corfoco);
        border: 2px solid;
    }

    /************* cabeçalho ************/

    .svg-ico:active {

        transform: scale(1.2);
        fill: var(--corfoco);
    }

    /*************** navegação ***********************/

    nav a:active {
        transform: scale(1.1);
        background-color: var(--corfoco);
        box-shadow: var(--sombranativa);
        color: #fff;
    }

    /********** Corpo primeira seção - sobre mim *********/

    .foto-perfil:active {
        background-color: var(--corfoco);
        transform: scale(1.07);
    }

    /*********** corpo segunda seção - projetos ********/

    .container-projetos ul li:active {
        transform: scale(1.1);
        background-color: var(--corfoco);
        color: var(--corbloco);
        box-shadow: var(--sombranativa);

    }

    /*************** footer ************/

    .nome-footer h3:active {
        color: var(--corfoco);
    }

    .contato p:active {
        color: var(--corfoco);
    }

    .contato svg:active {
        fill: var(--corfoco);
    }

}

/*************** acesso em dispositivos menores **************************************************/

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

    main {
        max-width: 80%;
    }

    .container-header {
        padding: 5px 0;
    }

    /** perfil**/

    .container-perfil {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        transition: 0.5s;
    }

    .container-text {
        width: 100%;
        padding: 20px;
        margin-right: 10px;
    }

    .container-text p {
        font-size: 13px;
        line-height: 25px;
    }

    /** projetos **/

    .container-projetos ul li {
        width: 160px;
        height: 140px;
    }

    /***** BOTÃO NOTURNO ****/

    .button_not {
        right: 10vw;
    }

}

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

    main {
        max-width: 97%;
        padding: 10px 0 0 0;
    }

    /** header**/

    .conteudo-header {
        max-width: 90%;
    }

    .nome h1 {
        font-size: 100%;
    }

    .svg-ico {
        width: 30px;
    }

    /** perfil**/

    .container-perfil {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        transition: 0.5s;
        width: 100%;

    }

    .foto-perfil {
        min-width: 260px;
        margin-bottom: 20px;
        display: flex;
    }

    .container-text {
        width: auto;


    }

    /** projetos **/

    .container-projetos ul {
        justify-content: space-around;
        gap: 10px;
    }

    .container-projetos ul li {
        transition: 0.5s;
        padding: 10px;
        border-radius: 10px;
        color: var(--corfoco);
        width: 150px;
        height: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .container-projetos ul li img {
        width: 80px;
    }


    /***** BOTÃO NOTURNO ****/

    .button_not {
        right: 8vw;
        bottom: 6vw;
    }

}

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

    /* barra de texto */

    .container-bar h2 {
        font-size: 22px;

    }

    .container-bar {
        padding: 16px;
        margin: 17px 0;

    }

    /* sobre mim */
    .foto-perfil {
        min-width: 250px;
        width: 10%;
    }

    /* Texto sobre mim */
    .container-text p {
        font-size: 13px;
        line-height: 22px;
    }

    /* Projetos */
    .container-projetos ul li {
        padding: 2px;
        width: 130px;
        height: 135px;
    }

    /***** BOTÃO NOTURNO ****/

    .button_not {
        right: 6vw;
        bottom: 10vw;
    }

    .button_not svg {
        width: 40px;
        height: 40px;
    }

}

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

    /* Cabeçalho */

    .container-redes-social ul li {
        margin: 0 2px;
    }


    /********* navegação ***********/

    nav a {
        font-size: 13px;
        padding: 10px 15px;
    }

    /* barra de texto */

    .container-bar h2 {
        font-size: 19px;

    }

    .container-bar {
        padding: 14px;
        margin: 15px 0;

    }

    /* sobre mim */
    .foto-perfil {
        min-width: 209px;
        width: 10%;
    }

    /* Projetos */
    .container-projetos ul li {
        padding: 2px;
        width: 130px;
        height: 128px;
    }

    /***** BOTÃO NOTURNO ****/

    .button_not {
        right: 6vw;
        bottom: 10vw;
    }

    .button_not svg {
        width: 40px;
        height: 40px;
    }



    .container-text p {
        font-size: 11px;
        line-height: 22px;
    }

}

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

    /* Navegação */
    nav a {
        font-size: 10px;
        padding: 10px 15px;
    }

    /* barra de texto */

    .container-bar h2 {
        font-size: 17px;

    }

    .container-bar {
        padding: 14px;
        margin: 15px 0;

    }

    /* sobre mim */
    .foto-perfil {
        min-width: 209px;
        width: 10%;
    }

    /* Projetos */
    .container-projetos ul li {
        padding: 2px;
        width: 130px;
        height: 128px;
    }


    .container-text p {
        font-size: 11px;
        line-height: 22px;
    }

    /***** BOTÃO NOTURNO ****/

    .button_not {
        right: 6vw;
        bottom: 10vw;
    }

    .button_not svg {
        width: 30px;
        height: 30px;
    }

}