/* Importação de Fontes do Google Fontes */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Dancing+Script:wght@400..700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&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&family=Press+Start+2P&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* Cores para root */
:root {
    --background-color-header: #000;
    --background-color-primary: #e3e3e3;
    --background-color-secundary: #434343;
    --background-color-main: #f4f4f4;
    --background-color-footer: #333;
    --font-color: #ffffff;
    --font-color-contrast: #434343;
}

html  {
    scroll-behavior: smooth;
}
/* Estilização para centralização dos navegadores */
* {
    padding: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Rubik", serif;
}

/* Estilização do Cabeçalho */
header {
    width: 100%;
    height: 30%;
    background-color: var(--background-color-header);
    display: flex;
    align-items: center;
    padding: 15px;
}

header img {
    max-width: 250px;
    border-radius: 50%;
}

.photo {
    margin-left: 10%;
}

.developer {
    margin-left: 5%;
    font-weight: 600;
    font-size: 40px;
    color: white;
}

#linkedin, #github {
    display: inline-block;
    color: #ffffff;
    transition: all 0.3s ease;
}

#linkedin:hover, #github:hover {
    transform: scale(1.3);
}

#profissional {
    margin-top: 15px;
    font-weight: 100;
}

/* Estilização da barra de navegação */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    font-size: 22px;
    background-color: var(--background-color-primary);
}

ul {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    border: none;
}

a:not(.github, .icones-header) {
    color: var(--font-color-contrast);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover:not(.github, .icones-header) {
    padding: 10px;
    color: var(--font-color);
    transition: all 0.3s ease;
    background-color: var(--background-color-secundary);
    border-radius: 10px;
}

li {
    transition: all 0.3s ease;
}

/* Estilização do corpo principal */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--background-color-main);
}

.title {
    margin-bottom: 20px;
}
.body-text {
    margin: 20px auto 10px;
    padding: 15px;
    width: 75%;
    border-radius: 10px;
    font-size: large;
    background-color: var(--background-color-primary);
}

.text {
    margin: 20px;
}

/* Estilização dos projetos em amostra */
.container-projects {
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}
/* Estilização da div */

.projects {
    width: 95%;
    justify-content: center;
}
.project-div {
    width: 490px;
    height: 420px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--background-color-primary);
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0px 0px 10px;
}

.project-div:hover {
    transition: all 0.3s ease;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-project {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

/* Linha que faz a divisória (hr não está sendo efetivada) */
.partition {
    margin: 10px 0;
    border: 2px solid #00000074;
}

.technologies {
    margin: 10px 0;
}

/* Adicionar espaçamento entre techonologies */
.container-technologies {
    display: flex;
    justify-content: space-between;
}

.github {
    margin-top: 10px;
}

.fa-github {
    cursor: pointer;
}

footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: var(--background-color-footer);
    font-size: 14px;
    color: var(--font-color);
}


@media (max-width: 1500px) {
    .project-div {
        width: 620px;
        margin: auto;
    }
}
@media (max-width: 1420px) {
    .project-div {
        width: 550px;
        margin: auto;
    }
}
@media (max-width: 1260px) {
    .project-div {
        width: 450px;
        margin: auto;
        height: 380px;
    }
    .image-project {
        width: 400px;
    }
}
@media (max-width: 1040px) {
    .project-div {
        width: 500px;
        height: auto;
    }
    .image-project {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 890px) {
    #apresentation, #profissional {
        font-size: 35px;
    }
}
@media (max-width: 820px) {
    #apresentation, #profissional {
        font-size: 30px;
    }
}
@media (max-width: 810px) {
    .project-div {
        width: 500px;
    }
    .image-project {
        width: 465px;
    }
    .body-text {
        width: 500px;
    }
}
@media (max-width: 785px) {
    #apresentation, #profissional {
        font-size: 25px;
    }
}
@media (max-width: 685px) {
    #apresentation, #profissional {
        font-size: 20px;
    }
    header img {
        max-width: 200px;
        border-radius: 50%;
    }
}
@media (max-width: 555px) {
    #apresentation, #profissional {
        font-size: 20px;
    }
    header img {
        max-width: 150px;
        border-radius: 50%;
    }
    .photo {
        margin-left: 0;
    }
    #linkedin, #github {
        font-size: 30px;
    }
    .body-text {
        margin: 10px auto;
        padding: 0;
        width: 100%;
    }
    nav {
        font-size: 20px;
    }
    .project-div {
        width: 90%;
    }
    .image-project {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 465px) {
    header img {
        max-width: 100px;
    }
}