@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@100;400;500;700;900&display=swap');

body {
    display: flex;
    flex-direction: column;
}



/* Header */

header .container-menu {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5.5rem;
    background: transparent;
    position: fixed;
    z-index: 3;
    width: 100%;
    transition: 0.6s;
}

header .container-menu.scrolled {
    background-color: rgba(90, 108, 87, 1);
    padding: 1rem 5.5rem;
}

header .container-menu.scrolled h1:hover {
    background-color: #D3F1DF;
    border-radius: 50px;
    padding: 0rem 2rem;
}



header .container-menu h1 {
    font-size: 3rem;
    font-family: 'Poppins';
    font-weight: 700;
    color: #D3F1DF;
    transition: 0.4s;
    text-transform: uppercase;
}

header .container-menu h1:hover {
    color: #5A6C57;
}

header .container-menu input {
    display: none;
}



/* Me */

.me {
    background: transparent;
    min-height: 95vh;
    max-height: 200vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../images/background.jpg') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;

}

.me h2 {
    display: block;
    font-size: 7.5rem;
    color: #D3F1DF;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.me p {
    font-size: 3.2rem;
    font-family: 'Roboto';
    color: rgb(211, 241, 223);
    font-weight: 400;
}



.me:after {
    content: url('../images/arrow-down-long-solid.png');
    position: absolute;
    height: 35px;
    bottom: 40px;
    animation: downarrow 0.6s infinite alternate ease-in-out;
}

@-webkit-keyframes downarrow {
    0% {
        -webkit-transform: translateY(0);
        opacity: 0.4;
    }

    100% {
        -webkit-transform: translateY(0.4em);
        opacity: 0.9;
    }
}

/* About */
.about {
    background-color: #E5E3D4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 0.1 1.5fr 1.2fr;
    max-height: 120vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 0.6s ease;
    /* Animação */
}

.about.visible {
    opacity: 1;
    /* Torna visível */
    transform: translateY(0);
    /* Remove deslocamento */
}

.about .title-about {
    grid-area: 1/1/1/4;
    text-align: center;
    width: 100%;
    padding-top: 9rem;
}

.about .title-about h2 {
    font-size: 3rem;
    font-family: 'Poppins';
    text-transform: uppercase;
    font-weight: 300;
    color: #525B44;
}

.about .image-about {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: 2/1/2/1;
}

.about .image-about img {
    max-height: 20rem;
    border-radius: 50%;
}

.about .text-about {
    grid-area: 2/2/4/2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1rem;
}

.about .text-about p {
    font-size: 1.5rem;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: #5A6C57;
    text-align: center;
    line-height: 4rem;
}

.about .info-about {
    grid-area: 3/3/3/3;
    display: flex;
    flex-direction: column;
    margin: 5rem;
    height: 80%;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #85A98F;
    padding: 2rem;
    border-radius: 25px;
}

.about .info-about .title-info {
    height: 6rem;
    margin-bottom: 1rem;
}

.about .info-about h3 {
    margin-top: 2rem;
    font-size: 2rem;
    color: #5A6C57;
    height: 100%;
    display: flex;
    align-items: self-end;
    justify-content: center;

    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 800;
}

.about .info-about p {
    margin-top: 0.3rem;
}

.about .info {
    margin-top: 1rem;
}

.about .info:nth-child(1) {
    max-height: 3rem;
}



.about .info-about p:nth-child(1) {
    margin-top: 0;
}

.about .info-about .info {
    font-size: 2rem;
    color: #D3F1DF;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.about .triangle-about {
    grid-area: 2/3/2/3;
    height: 60%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about .green-ball {
    display: flex;
    justify-content: end;
    align-items: center;
}

.about .green-ball img {
    height: 70%;
}

/* EXPERIENCE */

/* Seção principal */
.experience {
    position: relative;
    background: url('../images/background-notebook.jpg') no-repeat center center fixed;
    /* Altere para sua imagem */
    background-size: cover;
    color: #85A98F;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 0.6s ease;
    /* Animação */
}

.experience.visible {
    opacity: 1;
    /* Torna visível */
    transform: translateY(0);
    /* Remove deslocamento */
}


/* Conteúdo */
.info-experience {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.73) 17%, rgba(0, 0, 0, 0.66) 35%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.4) 100%);

    border-radius: 10px;
}

/* Título */
.title-experience {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    padding: 6rem;
}

.title-experience h2 {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Poppins', Helvetica, sans-serif;
    font-weight: 600;
}

/* Tecnologias */
.container-technologies {
    background: #222;
    padding: 5rem;
    border: #525B44 solid 1px;
    text-align: center;
    /* Centraliza o conteúdo */
    font-size: 5rem;
}

.technologies h3 {
    margin-bottom: 10px;
    font-size: 3rem;
    text-transform: uppercase;
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: 600;
}

.technologies h5 {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 15px;
    font-family: 'Roboto' Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.info-technologies {
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    gap: 20px;
    /* Espaçamento entre os ícones */
    flex-wrap: wrap;
    /* Permite que os ícones quebrem linha se necessário */
    margin-top: 20px;
}

.curriculum {
    background: rgba(255, 255, 255, 0.1);
    /* Fundo semi-transparente */
    text-align: center;
    padding: 5rem;

    backdrop-filter: blur(5px);
    /* Aplica o blur no fundo */
    -webkit-backdrop-filter: blur(5px);
    /* Compatibilidade com navegadores baseados no Webkit */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Adiciona uma leve sombra para destacar */
}


.curriculum h3 {
    margin-bottom: 15px;
    font-size: 5rem;
    text-transform: uppercase;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    font-size: 3rem;
    background: transparent;
    color: #bbb;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    border: #bbb solid 3px;
    transition: background 0.3s;
    text-transform: uppercase;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 500;
}

.btn-download:hover {
    background: #5A6C57;
    color: #85A98F;
}

/* Trabalhos */
.works {
    background: #333;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    padding: 5rem 0;
}

.works h3 {
    margin-bottom: 15px;
    font-size: 3rem;
    text-transform: uppercase;
    font-family: 'Poppins';
    font-weight: 700;
}

.places-work {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: #bbb;
}





/* PROJECTS */

.projects .title {
    width: 80rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.projects {
    padding: 10rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(81, 109, 89);
    /* background: -moz-linear-gradient(54deg, rgba(34, 34, 34, 1) 16%, rgba(90, 108, 87, 1) 54%, rgba(133, 169, 143, 1) 80%);
    background: -webkit-linear-gradient(54deg, rgba(34, 34, 34, 1) 16%, rgba(90, 108, 87, 1) 54%, rgba(133, 169, 143, 1) 80%);
    background: linear-gradient(54deg, rgba(34, 34, 34, 1) 16%, rgba(90, 108, 87, 1) 54%, rgba(133, 169, 143, 1) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#222222", endColorstr="#85a98f", GradientType=1); */
}

.projects h2 {
    font-size: 6rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #222222b7;
    font-weight: 700;
}

.projects h3 {
    margin-bottom: 2rem;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #222222b7;
    font-weight: 700;
}

.container-projects {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: row;
    gap: 7rem;
    transition: 1.5s;
    padding: 3rem;

}



.ellipsis {
    font-size: 13rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-projects .project {
    display: flex;
    max-height: 40.9rem;
    width: 50rem;
    position: relative;
    background: transparent;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.project-info {
    font-size: 6rem;
    color: #222;
    position: absolute;
    height: 38.9rem;
    width: 50rem;
    top: 2rem;
    background: rgb(0, 0, 0);
    background: -moz-linear-gradient(180deg, rgba(0, 0, 0, 0.8010853999803046) 10%, rgba(148, 190, 117, 0.7674719546021533) 50%, rgba(0, 0, 0, 0.8) 90%);
    background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.8010853999803046) 10%, rgba(148, 190, 117, 0.7674719546021533) 50%, rgba(0, 0, 0, 0.8) 90%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8010853999803046) 10%, rgba(148, 190, 117, 0.7674719546021533) 50%, rgba(0, 0, 0, 0.8) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#000000", GradientType=1);
    opacity: 0;
    transform: translatez(20px);
    transition: opacity 1.1s ease, transform 3.2s ease;
    box-shadow: 0rem 0rem 1em 0.4em rgba(34, 34, 34, 0.838);
    border-radius: 35px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);

}

.project-info .project-title {
    grid-area: 3/1/4/1;
    color: #85A98F;
    border-radius: 0px 0px 35px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222222e1;
}

.project-info .project-icon {
    grid-area: 2/1/2/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info h4 {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.project:hover {
    cursor: pointer;
}

.project:hover .project-info {
    opacity: 1;
    /* Torna visível */
    transform: translateY(0);
    /* Remove deslocamento */
}


/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-content {
    position: relative;
    background: #323729;
    width: 90%;
    max-width: 60rem;
    max-height: 80%;
    padding: 2.5rem;
    border-radius: 10px;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0rem 0rem 1em 1em rgba(34, 34, 34, 0.952);

}

.modal-content .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #85A98F;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #85A98F;
}

.modal-content img {
    max-width: 90%;
    height: auto;
    margin: 1rem 0;
    padding-bottom: 1.5rem;
}


.modal-content .modal-description {
    width: 100%;
    display: flex;
    justify-content: center;
}

.modal-content .modal-description p {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    max-width: 90%;
    text-align: justify;
    color: #85A98F;

}


.modal-buttons {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.modal-buttons p {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    color: #85A98F;
    font-size: 2rem;
    font-weight: 900;
}

.modal-button {
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: #85A98F;
    color: #222;
    border-radius: 15px;
    font-size: 2rem;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 700;
    transition: background 0.3s ease;
}

.modal-button:hover {
    background: #5A6C57;
}

/* Prevent body scroll */
.body-no-scroll {
    overflow: hidden;
}

/* CONTACT */

.contact {
    background-color: #222;
    color: #D3F1DF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.contact .contact-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    width: 60%;
}

.contact-container .socials {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
    font-size: 3rem;
    gap: 4rem;
}

.contact-container .socials button {
    height: 100%;
    font-size: 3rem;
    text-decoration: none;
}

.contact-container .socials .icon-social {
    background-color: #333;
    color: #D3F1DF;
    padding: 1.5rem;
    transition: 0.5s;
}

.socials .fa-linkedin-in:hover {
    background-color: cornflowerblue;
    color: white;
    transform: scale(1.2);
}

.socials .fa-instagram:hover {
    background: rgb(131, 58, 180);
    background: linear-gradient(216deg, rgba(131, 58, 180, 1) 14%, rgba(253, 29, 29, 1) 54%, rgba(252, 176, 69, 1) 75%);
    color: #fff;
    transform: scale(1.2);
}

.socials .fa-github:hover {
    background-color: #ccc;
    color: #222;
    transform: scale(1.2);
}

.socials .fa-envelope:hover {
    color: rgb(254, 44, 44);
    background-color: #ccc;
    transform: scale(1.2);
}



.contact-container .rocket {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-container .rocket a {
    width: 6rem;
}

.contact-container .rocket p {
    font-size: 1.7rem;
    opacity: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 400;
    transition: 1.2s;
}

.contact-container .rocket a:hover~p {
    opacity: 1;
}



.contact-container .rocket img {
    width: 100%;
    animation: uprocket 1.7s infinite alternate ease-in-out;
    padding-bottom: 1rem;
}

@-webkit-keyframes uprocket {
    0% {
        -webkit-transform: translateY(0.4em);
        opacity: 0.4;
    }

    100% {
        -webkit-transform: translateY(0);
        opacity: 0.9;
    }
}

.contact-container .copyright {
    text-align: center;
    font-size: 1.8rem;
}

.contact-container .copyright p {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 300;
}

/* Email Modal */
.modal-email {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-email-content {
    background-color: #D3F1DF;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative;

}

.modal-email-content h2 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 3rem;
    color: #525B44;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.modal-email-content form label {
    display: block;
    margin-top: 1rem;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 700;
    color: #555;
}

.modal-email-content form input {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 600;
}

.modal-email-content textarea {
    height: 10rem;
    width: 100%;
    text-align: start;
    font-family: 'Poppins';
    font-weight: 600;

}

.modal-email-content .modal-email-button {
    margin-top: 1.5rem;
    margin-left: 80%;
    background-color: #222;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;

}

.modal-email-content .modal-email-button:hover {
    background-color: #444;
}

.close-email-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #888;
    transition: color 0.3s ease;
}

.close-email-modal:hover {
    color: #000;
}

#thank-you-message {
    text-align: center;
    display: none;
}

#thank-you-message h2 {
    font-size: 2.5rem;
    color: green;
    font-family: 'Poppins', 'Roboto', Arial, Helvetica, sans-serif;
}

#thank-you-message p {
    font-size: 1.5rem;
    color: #555;
    font-family: 'Poppins', 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: 500;
}