@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Syne:wght@400..800&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --cor-principal: #141414;
    --cor1: #007EA7;
    --cor2: #00A8E8;
    --cor3: #82846D;
    --cor-extra: #f6e7d8;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #141414;
    color: #fff;
    margin: 0;
    padding: 0;
}

.header {
    font-family: "Syne", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--cor-extra);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 0;
    margin-bottom: 20px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--cor-principal);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.219);
}

.header p {
    margin: 0;
    margin-left: 10%;
    font-size: 1.4em;
    text-shadow: 0 0 10px var(--cor-extra);
}

.header nav {
    display: flex;
    gap: 50px;
    margin-right: 9em;
}

.header nav a {
    color: var(--cor-extra);
    text-decoration: none;
}

.header nav a:hover {
    color: var(--cor3);
    text-shadow: 0 0 7px var(--cor-extra);
    transition-duration: 0.4s;
}

.inicio {
    font-family: "Work Sans", sans-serif;
}

.primeira-parte {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin-top: 10%;
}

.apresentacao-nome {
    margin: 0;
    gap: 0;
    padding: 0;
}

.apresentacao-nome h2 {
    color: var(--cor3);
    font-weight: normal;
    font-size: 22px;
    margin-bottom: -1px;
    margin-left: 2px;
}

.apresentacao-nome h1 {
    font-size: 5em;
    margin: 0;
    margin-right: 2.3em;
}

.apresentacao-nome p#desenvolvedor {
    color: rgb(158, 158, 158);
    margin-top: 10px;
    margin-left: 2px;
    font-size: 32px;
    display: inline-block;
    border-bottom: 0.4px solid white;
    padding-bottom: 20px;
}

.apresentacao-nome p#desenvolvedor > strong {
    color: var(--cor-extra);
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.747);
}

.apresentacao-nome p#faculdade {
    font-size: 20px;
    margin: 0 40px 15px 4px;
    white-space: pre-wrap;
    word-break: break-all;
    width: 395px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.imagem-inicio img {
    border-radius: 50%;
    box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.514);
    margin-top: -23px;
}

.icones-social i {
    text-decoration: none;
    font-size: 30px;
    width: 35px;
    height: 35px;
    margin: 0px 45px 0px 4px;
    color: #fff;
}

.icones-social i:hover {
    color: var(--cor3);
    transition-duration: 0.4s;
}

.sobre-mim {
    background-color: #303030;
    margin-top: 50px;
    padding-bottom: 20px;
    font-family: "Work Sans", serif;
}

.texto-sobre {
    margin: 20px;
    padding: 15px;
    display: inline-block;
    border-bottom: 2px solid rgb(97, 97, 97);
    padding-bottom: 30px;
}

.texto-sobre h1 {
    color: var(--cor1);
    font-weight: normal;
    font-size: 2em;
    margin-bottom: 5px;
    text-shadow: 0px 0px 10px var(--cor2);
}

.texto-sobre p {
    font-size: 19px;
    gap: 15px;
    padding-bottom: 10px;
    line-height: 1.4;
}

.botao-curriculo {
    display: flex;
    justify-content: center;
}

.botao-curriculo button {
    color: #ffffff;
    font-family: "Syne", serif;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0px 0px 7px rgba(255, 255, 255, 0.411);
    margin-top: 5px;
    background-color: transparent;
    width: 200px;
    height: 50px;
    border: 0.4px solid var(--cor1);
    
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.botao-curriculo button > i {
    padding-left: 5px;
}

.botao-curriculo button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--cor1);
    transition: width 0.7s ease;
    z-index: -1;
}

.botao-curriculo button:hover::before {
    width: 100%;
}

.botao-curriculo button:hover {
    color: #ffffff;
    transition: color 0.2s ease;
    box-shadow: 0px 0 10px var(--cor2);
}

.meus-conhecimentos {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 30px 5% 20px 5%;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.301);
    border-radius: 30px;
}

.conhecimentos {
    flex: 1;
    position: relative;
    padding: 20px;
    margin: 2px;
    width: 200px;
    text-align: center;
}

.conhecimentos img {
    width: 30px;
    height: 30px;
}

.conhecimentos > picture > img{
    width: 45px;
    height: 45px;
}

.conhecimentos h2 {
    font-family: "Work Sans", serif;
    font-weight: 500;
    color: var(--cor-extra);
    font-size: 1.5em;
    margin: 10px 0;
}

.conhecimentos hr {
    border: 0;
    height: 4px;
    background-color: var(--cor-extra);
    margin: 12px 0 20px;
    border-radius: 2px;
}

.borda-vertical {
    width: 1px;
    background-color: var(--cor-extra);
    align-self: stretch;
    box-shadow: 0px 0px 7px  var(--cor-extra);
}

.conhecimentos p {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    padding: 8px 25px 8px 25px;
}

.conhecimentos p img {
    width: 20px;
    height: auto;
}

.tooltip-text {
    visibility: hidden;
    width: 180px;
    background-color: #1d1d1d;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8em;
    z-index: 1;
}

.conhecimentos p:hover {
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.438);
    transition-duration: 0.5s;
}

.conhecimentos p:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.164);
}

.conhecimentos p img {
    width: 30px;
    height: 30px;
}

.todos-projetos > h3 {
    font-family: "Work Sans", serif;
    font-size: 3em;
    font-weight: 300;
    text-align: center;
}

.projeto {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background-color: #303030;
    border-radius: 10px;
    margin: 5% 20% 15px 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.projeto img {
    width: 545px;
    height: auto;
    border-radius: 10px;
}

.projeto .conteudo-projeto {
    color: #ffffff;
    max-width: 600px;
}

.projeto .conteudo-projeto h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.projeto .conteudo-projeto p {
    font-size: 16px;
    margin-bottom: 10px;
}

.projeto .conteudo-projeto .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.projeto .conteudo-projeto .tags span {
    background-color: #555;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.projeto .conteudo-projeto .botao {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--cor1);
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.projeto .conteudo-projeto .botao:hover {
    background-color: var(--cor2);
}

.projeto:nth-child(3) {
    display: flex;
    flex-direction: row-reverse;
    margin: 3% 10px 15px 20%;
    gap: 20px;
}

.secao-contato {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    margin: 50px 0; 
}

.titulo-secao {
    font-weight: 300;
    position: relative;
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
}

.titulo-secao::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 140px;
    height: 8px;
    background-color: var(--cor1);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--cor2);
    opacity: 0.8;
    transition: width 0.4s ease-in-out;
}

.titulo-secao:hover::after {
    width: 190px; 
}

.secao-contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 50px 0;
}

.titulo-secao {
    font-size: 2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.formulario-contato {
    margin-top: 30px;
    background-color: #303030;
    width: 100%;
    width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.486);
}

.formulario-contato label {
    font-size: 1em;
    color: #ffffff;
    width: auto;
}

.formulario-contato input,
.formulario-contato textarea {
    width: 96%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid black;
    background-color: #f1f1f1;
    color: black;
    font-size: 1em;
}

.formulario-contato button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: white;
    font-family: "Syne", serif;
    color: black;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario-contato button:hover {
    background-color: white;
    box-shadow: 0 0 10px white;
    transition-duration: 0.7s;
}

.asterisco {
    color: var(--cor3);
    font-weight: bold;
    margin-left: 2px;
}

.footer {
    background-color: #1a1a1a;
    border-radius: 30px 30px 0 0;
    border-top: 0.4px solid #303030;
    padding: 40px 20px;
    color: #ffffff;
    font-family: "Work Sans", sans-serif;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.377);
}

.footer-container {
    max-width: 800px;
    margin: auto;
}

.footer .frase {
    font-size: 1.4em;
    color: #e0e0e0;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer .linha {
    border: none;
    height: 1px;
    width: 80%;
    background: linear-gradient(90deg, transparent, #707070, transparent);
    margin: 20px auto;
}

.footer .copyright {
    font-size: 0.9em;
    color: #c0c0c0;
    margin: 8px 0;
}

.footer .criador {
    font-size: 1em;
    color: var(--cor1);
    font-weight: 600;
}

.footer .criador span {
    color: var(--cor2);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

@media (max-width: 1520px) {
    .projeto {
        padding: 20px;
    }

    .projeto:nth-child(3) {
        padding: 20px;
    }
}

@media (max-width: 1470px) {
    .header p {
        margin-left: 5%;
    }
}

@media (max-width: 1020px) {
    .projeto {
        flex-direction: column;
        margin: 5% auto;
        max-width: 88%;
        gap: 25px;
    }

    .projeto:nth-child(3) {
        flex-direction: column;
        margin: 5% auto;
        max-width: 88%;
        gap: 25px;
    }
}

@media (max-width: 1170px) {
    .imagem-inicio img {
        margin-top: 25px;
        display: flex;
    }
}

@media (max-width: 794px) {
    .header p {
        margin-left: 10px;
    }

    .header nav {
        margin-right: 3em;
    }

    .imagem-inicio img {
        max-width: 300px;
    }

    .meus-conhecimentos {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }
    
    .borda-vertical {
        display: none;
    }
    
    .conhecimentos {
        max-width: 70%;
        margin: 0 auto;
        padding: 10px;
        text-align: center;
    }

    .todos-projetos > h3 {
        font-size: 2.5em;
    }

    .projeto img {
        width: 100%;
        max-width: 350px;
    }

    .projeto .conteudo-projeto h3 {
        font-size: 20px;
    }

    .projeto .conteudo-projeto p {
        font-size: 14px;
    }

    .projeto .conteudo-projeto .tags span {
        font-size: 13px;
    }

    .projeto .conteudo-projeto .botao {
        font-size: 14px;
        padding: 8px 16px;
    }

    .titulo-secao {
        font-size: 1.5em;
    }

    .formulario-contato {
        width: 80%;
        padding: 20px;
        gap: 10px;
    }

    .formulario-contato input,
    .formulario-contato textarea {
        width: auto;
        gap: 15px;
        padding: 8px;
        font-size: 1em;
    }

    .formulario-contato button {
        width: auto;
        font-size: 0.9em;
        margin: 15px 1px 10px 1px;
        padding: 8px;
    }

    @media (max-width: 650px) {
        .header p {
            margin: 0;
            margin-right: 25px;
            font-size: 1.1em;
        }

        .header nav {
            font-size: 15px;
            gap: 15px;
            margin-right: 3em;
        }

        .primeira-parte {
            margin-top: 10%;
        }
        
        .apresentacao-nome {
            margin: 10px;
        }

        .apresentacao-nome h2 {
            margin-top: 30px;
            font-size: 16px;
        }

        .apresentacao-nome h1 {
            font-size: 3em;
        }

        .apresentacao-nome p#desenvolvedor {
            font-size: 20px;
        }

        .apresentacao-nome p#faculdade {
            font-size: 16px;
            margin: 0 5% 20px 4px;
            width: auto;
        }

        .imagem-inicio img {
            width: 290px;
            margin: 20px 0 10px 0;
            display: flex;
            justify-content: center;
        }
    }

    @media (max-width: 350px) {
        .icones-social i {
            font-size: 30px;
            width: 35px;
            height: 35px;
            margin: 0px 40px 0px 4px;
        }

        .apresentacao-nome p#faculdade {
            font-size: 13px;
            margin: 0 25px 20px 4px;
            line-height: 17px;
            width: auto;
        }
    }
}