@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');

*{
    margin: 0 auto;
    padding: 0;
    text-align: center;
    font-family: 'Source Sans Pro', sans-serif;
}

body{
    background: #1D2A49;
    overflow-x: hidden;
    color: #fff;
}

h1{
    margin: 100px 0px 10px 0px;
}

h3 {
    margin: 40px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ccc;
    line-height: 1.4;
    text-align: center;
    display: flex;
    justify-content: center;
}

.av_text{
    margin: 10px 5%;
}

.title {
    margin: 60px 0px 0px 0px;
    font-size: 40px;
    font-weight: 800;
    /* color: #fff; */
}
.subtitle {
    /* color: #fff; */
}

hr {
    border: none;
    height: 2px;
    background-color: #3E5C76;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: #3E5C76;
    }
    50% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        background-color: #5f8bc5;
    }
    100% {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: #3E5C76;
    }
}


svg{
    width: 150px;
    height: 150px;
    margin: 40px 0px 0px 0px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 1));
}

/* svg:hover{
    transition: 0.1s;
    transform: scale(1.1,1.1);
} */

p{
    margin: 0px 0px 20px 0px;
    font-size: large;
    /* text-decoration: underline; */
}

.All_Logos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.en-pt{
    /* display: none; */
    position: fixed;
    top: 80px;
    right: 30px;
    padding: 20px 20px;
    background-image: url(photos/usflag.png);
    background-size: cover;
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.en-pt:hover{
    transition: 0.1s;
    transform: scale(1.1,1.1);
}

.logo_container {
    flex-basis: 200px;
    background: #7C93CB;
    border-radius: 20px;
    margin: 20px;
    transition: transform 0.2s ease;
    position: relative;
}

a{
    color: white;
}

ul{
    display: inline-flex;
    list-style: none;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

li{
    margin: 0px 30px;
}

.Head {
    background-color: #293966;
    height: 50px;
    display: grid;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

#git_icon, #link_icon, #email_icon, #twitter_icon{
    transform: scale(2,2);
}

.icon_btn{
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #fff;
}

/* .icon_btn:hover{
    animation: animIcon 0.3s ease forwards;
} */

#git_btn:hover{
    animation: animIconGit 0.3s ease forwards;
}
#linkedin_btn:hover{
    animation: animIconLink 0.3s ease forwards;
}
#email_btn:hover{
    animation: animIconEmail 0.3s ease forwards;
}
#twitter_btn:hover{
    animation: animIconTwitter 0.3s ease forwards;
}

@keyframes animIconGit {
    0% {
        color: #fff;
    }
    30% {
        transform: rotate(20deg);
    }
    70%{
        transform: rotate(-20deg);
    }
    100% {
        transform: rotate(0);
        color: #883bec;
    }
}

@keyframes animIconLink {
    0% {
        color: #fff;
    }
    30% {
        transform: rotate(20deg);
    }
    70%{
        transform: rotate(-20deg);
    }
    100% {
        transform: rotate(0);
        color: #0e76a8;
    }
}

@keyframes animIconEmail {
    0% {
        color: #fff;
    }
    30% {
        transform: rotate(20deg);
    }
    70%{
        transform: rotate(-20deg);
    }
    100% {
        transform: rotate(0);
        color: #c71610;
    }
}

@keyframes animIconTwitter {
    0% {
        color: #fff;
    }
    30% {
        transform: rotate(20deg);
    }
    70%{
        transform: rotate(-20deg);
    }
    100% {
        transform: rotate(0);
        color: #4f5255;
    }
}

.Main_Display {
    height: calc(100vh - 50px);
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #0D1321;
    position: relative;
    width: 100%;
    z-index: -1;
    min-width: 350px;
    overflow-x: hidden;
}
.All_Names{
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    padding: 5%;
    overflow-x: hidden;
    /* width: 100%; */
}
.Name {
    color: #fff;
    font-family: 'Nunito Sans', monospace;
    font-size: 45px;
    overflow: hidden;
    border-right: 1px solid orange;
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typing 2s steps(40, end),
        blink-caret .75s step-end infinite;
}


@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: rgb(255, 255, 255); }
}

.Name_Info {
    color: #fff;
    text-align: center;
    font-family: 'Nunito Sans', monospace;
}

.Profile_Photo{
    margin: 30px;
    display: flex;
    justify-content: center; 
}

#myphoto{
    width: 300px; /* Ajuste o tamanho conforme necessário */
    height: 300px; /* Igual ao width para manter a circularidade */
    border-radius: 50%; /* Mantém o formato circular */
    border: solid 3px rgba(255, 255, 255, 0.8); /* Borda branca com opacidade */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Sombra para profundidade */
    object-fit: cover; /* Cobre a área da imagem */
    transition: transform 0.3s;
}

#myphoto:hover {
    transform: scale(1.01); /* Efeito de aumento ao passar o mouse */
}

.rm_title, .app_title{
    margin: 40px 0px 20px 0px;
    font-size: x-large;
    text-decoration: underline;
}

.rm_itens, .app_itens{
    display: flex;
    flex-flow: wrap;
    align-content: center;
    align-items: center;
    margin: 0px 0px 70px 0px;
    padding: 20px;
}

.boost_itens{
    display: flex;
    flex-flow: wrap;
    align-content: center;
    align-items: center;
    margin: 20px 0px 20px 0px;
    padding: 20px;
}


.rm_text, .app_text, .JJ_text{
    text-align: justify;
    margin: 0px 40px 0px 40px;
    font-size: 18px;
    flex: 1 1 400px;
    line-height: 2;
}

#rm_image{
    width: 70%;
    border: solid 1px black;
    margin: 20px 0px;
}

.rm_image{
    width: 60%;
    min-width: 400px;
}


#app_image{
    max-width: 80%;
    height: auto;
    filter: brightness(4);
}
#bt_image{
    max-width: 80%;
    height: auto;
}

.app_image{
    /* margin: 40px 0px; */
}

.boost_image{
    /* margin: 20px 0px; */
}

.johnson_image{
    /* flex: 1; */
    width: 500px;
}

#johnson_image{
    max-width: 70%;
    height: auto;
}

#av_icon{
    margin: 0;
    width: 300px;
    height: 300px;
}

.av_option{
    font-size: 25px;
    text-decoration: underline;
}

.center_form{
    display: grid;
    justify-items: center;
    justify-content: center;
}

.forms {
    display: flex;
    flex-direction: column;
    background: rgba(116, 140, 171, 0.9);
    margin: 5% 10px 2% 10px;
    max-width: 500px;
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 20px;
    backdrop-filter: blur(5px);
    width: 300px;
}

.forms:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Aumentar a sombra no hover */
    transition: box-shadow 0.3s ease; /* Suavizar a transição da sombra */
}

.All_Projects{
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
}

.git_project{
    flex: 50%;
    padding: 30px; 
    box-sizing: border-box;
    border: none;
}

.project_btn {
    display: flex;
    padding: 10px 20px;
    background-color: #3E5C76;
    color: #fff;
    text-decoration: none;
    border: 3px solid #748CAB;
    border-radius: 5px;
    cursor: pointer;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
    max-width: 300px;
    height: 200px;
    transition: transform 0.4s ease, background-color 0.3s ease;
    justify-content: space-around;
}

.project_btn:hover {
    transform: scale(1.05);
    background-color: #4C708B;
}

.project_btn:active {
    transform: scale(0.95);
}

/* .project_btn span {
    margin-left: 10px;
} */
#project_title{
    margin: 10px;
}

#project_desc{
    margin: 10px;
    margin-bottom: 20px;
}

#project_itens{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.tests{
    margin: auto;
    width: 100%;
}

.email_input {
    width: 70%;
    text-align: start;
    padding: 5px;
    background: #dddddd;
    margin: 10px 0px 10px 0px;
}

input, textarea:focus{
    outline: none;
}

#cont_title, #cont_text, #cont_name {
    border: none;
    border-bottom: 1.5px solid #3E5C76;
    font-size: 0.9rem;
    padding: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    background: #fff;
    width: 200px;
    border-radius: 5px;
}

#cont_title:focus, #cont_text:focus, #cont_name:focus {
    outline: none;
    border-bottom: 2px solid #3E5C76;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#cont_title::placeholder, #cont_text::placeholder, #cont_name::placeholder {
    color: #7C93CB;
    opacity: 0.8;
}

#cont_text {
    height: 150px;
    width: 250px;
    resize: none; /* Apenas no textarea */
}


.cont_btn{
    padding: 10px;
    width: 40%;
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: #2c94f7;
    color: white;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
}

.link_btn{
    padding: 10px;
    /* width: 20%; */
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: #2c94f7;
    color: white;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: large;
}

.repos_btn{
    padding: 10px;
    /* width: 20%; */
    font-size: large;
    height: 80px;
    border-radius: 10px;
    outline: none;
    border: none;
    background-color: #2c94f7;
    color: white;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
}

.repos_btn:hover{
    transition: 0.1s;
    transform: scale(1.05,1.05);
}

.link_btn:hover{
    transition: 0.1s;
    transform: scale(1.05,1.05);
}

.cont_btn:hover{
    transition: 0.1s;
    transform: scale(1.05,1.05);
}

.Text_Anim {
    position: absolute;
    z-index: -1;
    font-family: 'Fira Code', monospace;
    font-size: 30px;
}

#anim1{
    top: calc(100vh - 100vh);
    left: -100px;
    color: rgb(90, 240, 90);
    animation: direitaEsquerda 10s ease infinite;
}
#anim2{
    top: calc(100vh - 90vh);
    left: -100px;
    color: rgb(33, 90, 248);
    animation: esquerdaDireita 6s ease infinite;
}
#anim3{
    top: calc(100vh - 80vh);
    left: -100px;
    color: rgb(202, 24, 24);
    animation: direitaEsquerda 14s ease infinite;
}
#anim4{
    top: calc(100vh - 70vh);
    left: -100px;
    color: rgb(114, 31, 190);
    animation: esquerdaDireita 12s ease infinite;
}
#anim5{
    top: calc(100vh - 60vh);
    left: -100px;
    color: rgb(255, 235, 51);
    animation: direitaEsquerda 8s ease infinite;
}
#anim6{
    top: calc(100vh - 50vh);
    left: -100px;
    color: rgb(206, 111, 22);
    animation: esquerdaDireita 9s ease infinite;
}
#anim7{
    top: calc(100vh - 40vh);
    left: -100px;
    color: rgb(74, 248, 161);
    animation: direitaEsquerda 11s ease infinite;
}
#anim8{
    top: calc(100vh - 30vh);
    left: -100px;
    color: rgb(141, 253, 36);
    animation: esquerdaDireita 7s ease infinite;
}
#anim9{
    top: calc(100vh - 20vh);
    left: -100px;
    color: rgb(255, 51, 51);
    animation: direitaEsquerda 15s ease infinite;
}
#anim10{
    top: calc(100vh - 15vh);
    left: -100px;
    color: rgb(196, 42, 188);
    animation: esquerdaDireita 12s ease infinite;
}

@keyframes direitaEsquerda {
    0% {
        transform: translateX(calc(110vw));
    }
    100% {
        transform: translateX(-100px);
    }
}

@keyframes esquerdaDireita {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(calc(110vw));
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.l_link{
    text-decoration: none;
}