/* ----- POPPINS FONT Link ----- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


@media (min-width: 768px) {
	.featured-text {
		margin-right: 250px; /* Aplicado apenas em telas maiores que 768px */
	}}

/* ----- VARIABLES ----- */
:root{
    --body-color: rgb(250, 250, 250);
    --color-white: rgb(255, 255, 255);

    --text-color-second: rgb(68, 68, 68);
    --text-color-third: rgb(30, 159, 171);

    --first-color: rgb(110, 87, 224);
    --first-color-hover: rgb(40, 91, 212);

    --second-color: rgb(0, 201, 255);
    --third-color: rgb(192, 166, 49);
    --first-shadow-color: rgba(0, 0, 0, 0.1);

}

/* ----- BASE ----- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ----- SMOOTH SCROLL ----- */
html{
    scroll-behavior: smooth;
}

/* ----- CHANGE THE SCROLL BAR DESIGN ----- */
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover{
    background: #bbb;
}


/* ---##-- REUSABLE CSS --##--- */

/* ----- GLOBAL BUTTON DESIGN ----- */
.btn{
    font-weight: 500;
    padding: 12px 20px;
    background: #efefef;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s;
}
.btn>i{
    margin-left: 10px;
}
.btn:hover{
    background: var(--second-color);
    color: var(--color-white);
}

/* ----- GLOBAL ICONS DESIGN ----- */
i{
    font-size: 16px;
}

/* ------- BASE -------- */
body{
    background: var(--body-color);
}
.container{
    width: 100%;
    position: relative;
}

/* ----- NAVIGATION BAR ----- */
nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    line-height: 70px;
    background: var(--body-color);
    padding-inline: 5vw;
    transition: .3s;
    z-index: 100;
}

.nav-logo {
    position: relative;
}

.nav-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-third);
}

.nav-logo span {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 3em;
    color: var(--text-color-second);
}

.nav-menu, .nav_menu_list {
    display: flex;
}

.nav-menu .nav_list {
    list-style: none;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 400;
    font-size: 14px; /* Alteração na fonte */
    padding-inline: 10px;
    margin-inline: 10px;
}

.nav-menu-btn {
    display: none;
}

.nav-menu-btn i {
    font-size: 24px;
    cursor: pointer;
}

.active-link {
    position: relative;
    color: var(--first-color);
    transition: .3;
}

.active-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--first-color);
    border-radius: 50%;
}

/* ----- WRAPPER DESIGN ----- */
.wrapper{
    padding-inline: 10vw;
}

/* ----- FEATURED BOX ----- */
.featured-box{
    position: relative;
    display: flex;
    height: 100vh;
    min-height: 700px;
	justify-content: space-between; /* Espaço entre os blocos de texto e imagem */
    gap: 20px; /* Ajuste o valor para o espaçamento desejado */
}

/* ----- FEATURED TEXT BOX ----- */
.featured-text{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
}
.featured-text-card span{
    background: var(--third-color);
    color: var(--color-white);
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 5px;
}
.featured-name{
    font-size: 50px;
    font-weight: 600;
    color: var(--text-color-second);
    margin-block: 20px;
}
.typedText{
    text-transform: capitalize;
    color: var(--text-color-third);
}
.featured-text-info{
    font-size: 15px;
    margin-bottom: 30px;
    color: var(--text-color-second);
}
.featured-text-btn{
    display: flex;
    gap: 20px;
}
.featured-text-btn>.blue-btn{
    background: var(--first-color);
    color: var(--color-white);
}
.featured-text-btn>.blue-btn:hover{
    background: var(--first-color-hover);
}
.social_icons{
    display: flex;
    margin-top: 5em;
    gap: 30px;
}
.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
	text-decoration-color: none;
}
.icon a {
		color: var(--text-color-second); /* Cor desejada para os ícones */
		text-decoration: none; /* Remove sublinhado dos links */
		font-size: 24px; /* Tamanho dos ícones */
		transiti	on: color 0.3s; /* Transição suave para a cor */	
}
.icon:hover{
    color: var(--first-color);
}





/* ----- FEATURED IMAGE BOX ----- */
.featured-image {
    display: flex;
    justify-content: flex-end;
    align-content: center;
    min-height: 80vh;
    width: 30%;
}

.image {
    margin: auto 0;
    overflow: hidden;
    animation: imgFloat 13s ease-in-out infinite;
}

.image img {
    width:350px;
    height:590px;
    object-fit: contain;
    object-position:top; /* Ajusta a imagem para alinhar ao topo */
}


@keyframes imgFloat {
    50%{
        transform: translateY(10px);
        border-radius: 25% 35% 25% 35%;
    }
}
.scroll-btn{
   position: absolute;
   bottom: 0;
   left: 50%;
   translate: -50%;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 150px;
   height: 50px;
   gap: 5px;
   text-decoration: none;
   color: var(--text-color-second);
   background: var(--color-white);
   border-radius: 30px;
   box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}
.scroll-btn i{
    font-size: 20px;
}

/* ----- MAIN BOX ----- */
.section{
    padding-block: 5em;
}
.row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.col{
    display: flex;
    width: 50%;
}

/* -- ## --- RESUABLE CSS -- ## -- */
.top-header{
    text-align: center;
    margin-bottom: 5em;
}
.top-header h1{
    font-weight: 600;
    color: var(--text-color-second);
    margin-bottom: 10px;
}
.top-header span{
    color: #999;
}
h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color-second);
    margin-bottom: 15px;
}

/* ----- ABOUT INFO ----- */
/* ----- ABOUT INFO ----- */
.about-info {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    padding-inline: 20px;
    width: 100%;
    background: var(--color-white);
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
}

.about-info p {
    text-align: center;
    font-size: 15px;
    color: #777;
	margin-bottom: 20px;
}

.about-btn {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    bottom: 20px;
	
}

.about-btn button {
    background: var(--first-color);
    color: var(--color-white);
    border-radius: 30px;
    padding: 10px 20px;
	
}

.about-btn button:hover {
    background: var(--first-color-hover);
}


/* ----- ABOUT / SKILLS BOX ----- */
.skills-box{
    margin: 10px;
}
.skills-header{
    margin-bottom: 30px;
}
.skills-list{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.skills-list span{
    font-size: 14px;
    background: var(--first-color);
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 5px;
}


/* ----- PROJECTS BOX ----- */

/* ----- SERVICES BOX ----- */
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.service-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(50% - 10px);
    padding: 30px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box i {
    font-size: 50px;
    color: #00B5E7;
    margin-bottom: 15px;
}

.project-box h3 {
    font-size: 25px;
    color: #000;
    margin-bottom: 10px;
	text-align: center;
}

.project-box p {
    font-size: 9px;
    color: #777;
    text-align: center;
	text-align: center;
}



/* ----- PROJECTS BOX ----- */
.project-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.project-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
}

.project-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.685); /* Ajusta a opacidade aqui */
    z-index: 1;
}

.project-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.project-content h3, .project-content p, .project-content button {
    margin: 10px 0;
}
.project-content h3{
	color: white;
}

.project-content button {
    background-color: var(--first-color);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.project-content button a {
    color: inherit;
    text-decoration: none;
}

.project-content button:hover {
    background-color: var(--first-color-hover);
}



/* ----- CONTACT BOX ----- */
.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 315px;
    background: var(--second-color);
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
}
.contact-info>h2{
    color: var(--color-white);
    margin-bottom: 20px;
}
.contact-info>p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    margin-block: 5px;
}
.contact-info p>i{
    font-size: 18px;
}
.contact-info::after{
    background: var(--color-white);
}
.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i{
    color: #777;
    z-index: 2;
}

/* ----- FORMAÇÃO ACADEMICA ----- */



#education .container {
    max-width: 800px;
    margin: 0 auto;
}

#education .top-header {
    text-align: center;
    margin-bottom: 100px; /* Aumentei o espaçamento */
}

#education .education-box {
    display: flex;
    align-items: center;
    margin-bottom: 60px; /* Aumentei o espaçamento */
    background-color: rgba(0, 0, 0, 0.0); /* Cor de fundo mais escura e transparente */
    border: 2px solid rgba(0, 0, 0, 0.2); /* Borda com transparência */
    border-radius: 10px; /* Borda arredondada */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
    padding: 20px; /* Espaçamento interno */
    box-sizing: border-box; /* Tamanho da caixa incluindo a borda */
}

#education .left-info {
    flex: 1;
    margin: 10px;
}

#education .right-info {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin: 10px;
}

#education .right-info img {
    max-width: 300px;
    max-height: 370px;
    object-fit: contain;
}


@media (max-width: 768px) {
    #education .education-box {
        flex-direction: column;
        text-align: center;
    }

    #education .right-info {
        justify-content: center;
        margin-top: 20px;
    }

    #education .right-info img {
        max-width: 100px; /* Reduzindo o tamanho das imagens para telas menores */
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    #education .education-box {
        padding: 15px;
    }

    #education .right-info img {
        max-width: 80px; /* Ajuste adicional para telas muito pequenas */
        max-height: 80px;
    }

    #education .left-info h3 {
        font-size: 1.2em; /* Ajustando o tamanho da fonte */
    }

    #education .left-info p {
        font-size: 1em; /* Ajustando o tamanho da fonte */
    }
}




/* ----- Experiências ----- */



#experience  .container {
    max-width: 800px;
    margin: 0 auto;
}

#experience .top-header {
    text-align: center;
    margin-bottom: 100px; /* Aumentei o espaçamento */
}

#experience .experience-box {
    display: flex;
    align-items: center;
    margin-bottom: 60px; /* Aumentei o espaçamento */
    background-color: rgba(0, 0, 0, 0.0); /* Cor de fundo mais escura e transparente */
    border: 2px solid rgba(0, 0, 0, 0.2); /* Borda com transparência */
    border-radius: 10px; /* Borda arredondada */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
    padding: 20px; /* Espaçamento interno */
    box-sizing: border-box; /* Tamanho da caixa incluindo a borda */
}

#experience .left-info {
    flex: 1;
    margin: 10px;
}

#experience .right-info {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin: 10px;
}

#experience .right-info img {
    max-width: 300px;
    max-height: 370px;
    object-fit: contain;
}


@media (max-width: 768px) {
    #experience .experience-box {
        flex-direction: column;
        text-align: center;
    }

    #experience .right-info {
        justify-content: center;
        margin-top: 20px;
    }

    #experience .right-info img {
        max-width: 100px; /* Reduzindo o tamanho das imagens para telas menores */
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    #experience .experience-box {
        padding: 15px;
    }

    #experience .right-info img {
        max-width: 80px; /* Ajuste adicional para telas muito pequenas */
        max-height: 80px;
    }

    #experience .left-info h3 {
        font-size: 1.2em; /* Ajustando o tamanho da fonte */
    }

    #experience .left-info p {
        font-size: 1em; /* Ajustando o tamanho da fonte */
    }
}






/* ----- contacme ----- */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
    background-color: #FFF; /* Define a cor de fundo como branca */
}

.contact-info:hover {
    background-color: #FFF; /* Mantém a cor de fundo branca ao passar o mouse */
}

.contact-info h2, .contact-info p {
    color: #000; /* Define a cor do texto como preto */
}

.contact-info h2 {
    font-size: 24px;
    font-weight: bold;
}

.contact-info p {
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons i {
    font-size: 24px;
}



/* ----- FOOTER BOX ----- */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    background: #F8F8F8;
    padding-block: 40px 60px;
}
.top-footer p{
    font-size: 25px;
    font-weight: 600;
}
.middle-footer .footer-menu{
    display: flex;
}
.footer_menu_list{
    list-style: none;
}
.footer_menu_list a{
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    margin-inline: 20px;
}
.footer-social-icons{
    display: flex;
    gap: 30px;   
}
.bottom-footer{
    font-size: 14px;
    margin-top: 10px;
}


/* ----- MEDIA QUERY == 1024px / RESPONSIVE ----- */
@media only screen and (max-width: 1024px){
    .featured-text{
        padding: 0;
    }
    .image, .image img{
        width: 320px;
        height: 320px;
    }
}

/* ----- MEDIA QUERY == 900px / RESPONSIVE ----- */
@media only screen and (max-width: 900px) {
    .nav-button{
        display: none;
    }
    .nav-menu.responsive{
        left: 0;
    }
    .nav-menu{
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: 90vh;
        transition: .3s;
    }
    .nav_menu_list{
        flex-direction: column;
    }
    .nav-menu-btn{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .featured-box{
        flex-direction: column;
        justify-content: center;
        height: 100vh;
    }
    .featured-text{
        width: 100%;
        order: 2;
        justify-content: center;
        align-content: flex-start;
        min-height: 60vh;
    }
    .social_icons{
        margin-top: 2em;
    }
    .featured-image{
        order: 1;
        justify-content: center;
        min-height: 150px;
        width: 100%;
        margin-top: 65px;
    }
    .image, .image img{
        width: 150px;
        height: 150px;
    }
    .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .col{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .about-info, .contact-info{
        width: 100%;
    }
    .project-container{
        justify-content: center;
    }
    .project-box{
        width: 80%;
    }

}

/* ----- MEDIA QUERY == 540px / RESPONSIVE ----- */

@media only screen and (max-width: 540px){
    .featured-name{
        font-size: 40px;
    }
    .project-box{
        width: 100%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field{
        width: 100%;
    }
}




@media only screen and (max-width: 900px) {
    .image, .image img {
        width: 140px;
        height: 280px;
        padding: 0;
    }}

