html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visivel {
    opacity: 1;
    transform: translateY(0);
}
:root {
    --bg: black;
    --text: white;
    --gray: gray;
    --card-ling: rgba(61, 59, 59, 0.534);
    --card-ling-hover: rgba(78, 77, 77, 0.5);
    --card-bg: rgba(31, 29, 29, 0.699);
    --card-border: rgba(169, 169, 169, 0.637);
    --nav: rgba(0, 0, 0, 0.95);
}
[data-tema="claro"] {
    --bg: #f0f0f0;
    --text: #111;
    --gray: #555;
    --card-ling: rgba(241, 241, 241, 0.8);
    --card-ling-hover: rgba(255, 255, 255, 0.8);
    --card-bg: rgba(224, 224, 224, 0.8);
    --card-border: rgba(0, 0, 0, 0.2);
    --nav: rgba(75, 75, 75, 0.95);
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg, black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading.sumir {
    opacity: 0;
    visibility: hidden;
}
div.loading-content {
    text-align: center;
}
div.loading-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
div.barra-container {
    width: 200px;
    height: 4px;
    background: rgba(122, 122, 122, 0.3);
    border-radius: 10px;
    margin: 0 auto 15px auto;
    overflow: hidden;
}
div.barra {
    height: 100%;
    width: 0%;
    background: blueviolet;
    border-radius: 10px;
    transition: width 0.05s linear;
}
p.loading-texto {
    color: gray;
    font-size: 14px;
}
/**/
/*HEADER*/
/**/
header {
    padding: 1% 3% 1% 3%;
    margin-bottom: 250px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}
div.nome {
    cursor: pointer;
    width: 12.5%;
    text-align: center;
}
div.nome a {
    color: var(--text);
    transition: all 0.3s ease;
    text-decoration: none;
}
div.nome a:hover {
    color: blueviolet;
}
#menuToggle {
    display: none;
    background: none;
    border: 2px solid var(--text);
    color: var(--text);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
}
nav {
    position: absolute;
    top: 25%;
    right: 10%;
}
ul.nav {
    display: flex;
    list-style: none;
    font-size: larger;
    font-family: cursive;
}
ul.nav li a {
    margin: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
}
ul.nav li a:hover {
    color: blueviolet;
}
#toggleTema {
    background: none;
    border: 2px solid var(--text);
    color: var(--text);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 18px;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.3s ease;
}
#toggleTema:hover {
    border-color: blueviolet;
    color: blueviolet;
}
/**/
/*MAIN*/
/**/
/*Apresentação*/
section.principal {
    display: flex;
    justify-content: space-around;
}
div.tam {
    width: 30%;
}
div.apresentacao {
    margin: 0;
    padding: 0 0 0 1%;
}
strong {
    color: blueviolet;
}
div.descritivo {
    padding: 0 0 0 1%;
    width: 80%;
    color: var(--gray);
}
div.crr {
    display: flex;
    justify-content: center;
    width: 75%;
}
div.cr {
    padding: 10px;
    background-color: blueviolet;
    border-radius: 10px;
    width: 40%;
    text-align: center;
    transition: all 0.3s ease;
}
div.cr:hover {
    opacity: 50%;
}
div.cr a {
    text-decoration: none;
    color: var(--text);
}
img.minhaFoto {
    width: 70%;
    border-radius: 50%;
    box-shadow: 0px 0px 10px 5px blueviolet
}
/*SobreMim*/
section.sobre {
    margin-top: 450px;
}
div.tSobre {
    text-align: center;
}
div.sobremim {
    display: flex;
    justify-content: center;
}
div.extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: flex-start;
}
article.textoSobre {
    width: 40%;
    margin-right: 150px;
    color: var(--gray);
}
div.caixaSobreMim {
    border: 2px solid rgba(169, 169, 169, 0.637);
    backdrop-filter: blur(8px);
    padding: 10%;
    border-radius: 20px;
    text-align: center;
    width: 200px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
div.caixaSobreMim:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px blueviolet;
}
div.caixaSobreMim p {
    color: var(--gray);
}
/*Habilidades*/
section.habilidades {
    margin-top: 200px;
}
div.minhasHab {
    text-align: center;
}
div.Hab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
div.listaNome {
    display: flex;
    justify-content: start;
}
div.listaNome h3 {
    padding: 2% 0% 2% 5%;
}
div.listaNome img {
    width: 10%;
    height: 10%;
    margin: 2% 0% 2% 5%;
}
div.caixaHab {
    border: 2px solid rgba(169, 169, 169, 0.637);
    backdrop-filter: blur(8px);
    width: 30%;
    border-radius: 20px;
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 25px;
    transition: all 0.3s ease;
    margin-top: 50px;
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
div.caixaHab:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px blueviolet;
}
div.listaHab {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}
div.listaHab div {
    cursor: pointer;
}
div.lingHab {
    width: 20%;
    text-align: center;
    padding: 3px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: var(--card-ling);
}
div.lingHab:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 7px blueviolet;
    background-color: var(--card-ling-hover);
}
img.lingHabImg {
    width: 50%;
}
/*Projetos*/
section.projetoos {
    margin-top: 200px;
}
div.projetos {
    text-align: center;
}
div.descritivo3 {
    color: var(--gray);
    text-align: center;
}
div.projs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
/*Projs*/
div.caixaProj {
    padding: 20px;
    width: 15%;
    border-radius: 20px;
    border: 2px solid rgba(122, 122, 122, 0.5);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    margin-left: 7.5px;
    margin-right: 7.5px;
    background-color: var(--card-bg);
    border-color: var(--card-border);
    transition: all 0.4s ease;
}
div.caixaProj:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px blueviolet;
}
div.caixaProj.escondido {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
}
div.caixaProj img {
    text-align: center;
    width: 100%;
    border-radius: 20px;
}
div.caixaProj h4 {
    text-align: center;
}
div.filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 30px 0;
}
button.filtro {
    background: none;
    border: 2px solid rgba(122, 122, 122, 0.5);
    color: var(--text);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}
button.filtro:hover {
    border-color: blueviolet;
    color: blueviolet;
}
button.filtro.ativo {
    background-color: blueviolet;
    border-color: blueviolet;
    color: white;
}
div.lingUsad {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
div.ling {
    background-color: rgba(26, 25, 25, 0.5);
    border-radius: 20px;
    border: 2px solid rgba(122, 122, 122, 0.5);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    margin-left: 5px;
    margin-right: 5px;
}
div.ling:hover {
    opacity: 50%;
    cursor: pointer;
}
div.ling h5 {
    margin: 0;
    padding: 10px;
}
div.ver {
    padding: 2%;
    background-color: blueviolet;
    border-radius: 5px;
    width: 50%;
    text-align: center;
    margin-left: 23%;
}
div.ver a {
    text-decoration: none;
    color: white;
}
/*Contato*/
section.contato {
    margin-top: 200px;
}
div.contato {
    text-align: center;
}
div.descritivo2 {
    color: var(--gray);
    text-align: center;
}
.tooltip {
  position: fixed;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}
.tooltip.show {
  opacity: 1;
  transform: translate(-50%, -140%);
}
/*Infos*/
div.info h3 {
    margin-top: 40px;
    text-align: center;
}
div.infos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}
div.caixaCt {
    padding: 20px;
    width: 20%;
    border-radius: 30px;
    border: 2px solid rgba(122, 122, 122, 0.5);
    margin-top: 7.5;
    margin-bottom: 7.5px;
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    border-color: var(--card-border);
}
div.caixaCt:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px blueviolet;
}
div.caixaCt h4 {
    margin: 10px 0 5px 10px;
    font-size: large;
}
div.caixaCt p {
    margin: 5px 0 5px 10px;
    color: var(--gray);
}
div.caixaCt p.copiar {
    margin: 5px 0 5px 10px;
    cursor: pointer;
}
/**/
/*FOOTER*/
/**/
footer {
    padding: 1% 3% 1% 3%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    margin-top: 200px;
}
div.final {
    text-align: center;
}
div.final h5 {
    padding: 5px;
    margin: 0;
}
div.final p {
    padding: 0 0 5px 0;
    margin: 0;
}
/**/
/*TABLET*/
/**/
@media (max-width: 1024px) {
    html {
    scroll-padding-top: 100px;
    }
    /*HEADER-TABLET*/
    header {
        margin-bottom: 120px;
    }
    #menuNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--nav);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }
    #menuNav.aberto {
        right: 0;
    }
    ul.nav {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    #menuToggle {
        display: block;
    }
    /*MAIN-TABLET*/
    /*Apresentação*/
    section.principal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    div.tam {
        width: 80%;
    }
    img.minhaFoto {
        width: 50%;
        margin: 0 auto;
        display: block;
    }
    div.descritivo {
        width: 100%;
        padding: 0;
    }
    div.crr {
        width: 100%;
        justify-content: center;
    }
    /*SobreMim*/
    section.sobre {
        margin-top: 120px;
    }
    div.sobremim {
        flex-direction: column;
        align-items: center;
    }
    article.textoSobre {
        width: 80%;
        margin-right: 0;
        text-align: center;
    }
    div.extras {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }
    div.caixaSobreMim {
        width: 40%;
    }
    /*Habilidades*/
    section.habilidades {
        margin-top: 120px;
    }
    div.caixaHab {
    width: 50%;
    margin-left: 30px;
    margin-right: 30px;
    }
    div.lingHab {
        min-width: 60px;
    }
    /*Projetos*/
    section.projetoos {
        margin-top: 120px;
    }
    div.caixaProj {
        width: 40%;
    }
    /*Contatos*/
    section.contato {
        margin-top: 120px;
    }
    div.caixaCt {
        width: 55%;
    }
    /*FOOTER-TABLET*/
    footer {
        margin-top: 120px;
    }
}
/**/
/*CELULAR*/
/**/
@media (max-width: 768px) {
    html {
    scroll-padding-top: 80px;
    }
    /*HEADER-CELL*/
    header {
        margin-bottom: 100px;
    }
    #menuNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--nav);
        backdrop-filter: blur(15px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
    }
    #menuNav.aberto {
        right: 0;
    }
    ul.nav {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    #menuToggle {
        display: block;
    }
    /*MAIN-CELL*/
    /*Apresentação*/
    section.principal {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    div.tam {
        width: 90%;
    }
    img.minhaFoto {
        width: 60%;
        margin: 0 auto;
        display: block;
    }
    div.descritivo {
        width: 100%;
        padding: 0;
    }
    div.crr {
        width: 100%;
        justify-content: center;
    }
    /*SobreMim*/
    section.sobre {
        margin-top: 80px;
    }
    div.sobremim {
        flex-direction: column;
        align-items: center;
    }
    article.textoSobre {
        width: 90%;
        margin-right: 0;
        text-align: center;
    }
    div.extras {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 30px;
    }
    div.caixaSobreMim {
        width: 40%;
    }
    /*Habilidades*/
    section.habilidades {
        margin-top: 80px;
    }
    div.caixaHab {
    width: 85%;
    margin-left: 15px;
    margin-right: 15px;
    }
    div.lingHab {
        min-width: 60px;
    }
    /*Projetos*/
    section.projetoos {
        margin-top: 80px;
    }
    div.caixaProj {
        width: 70%;
    }
    /*Contatos*/
    section.contato {
        margin-top: 80px;
    }
    div.caixaCt {
        width: 80%;
    }
    /*FOOTER-CELL*/
    footer {
        margin-top: 80px;
    }
}
/**/
/*MOBILE-P*/
/**/
@media (max-width: 480px) {
    html {
    scroll-padding-top: 60px;
    }
    /*HEADER-MOBILE-P*/
    header {
        margin-bottom: 80px;
    }
    #menuNav {
        width: 85%;
    }
    /*MAIN-MOBILE-P*/
    /*Apresentação*/
    section.principal h1 {
        font-size: 1.4rem;
    }
    img.minhaFoto {
        width: 75%;
    }
    div.cr {
        width: 80%;
        padding: 12px;
    }
    /*SobreMim*/
    article.textoSobre {
        width: 95%;
        font-size: 0.95rem;
    }
    div.caixaSobreMim {
        width: 75%;
    }
    /*Habilidades*/
    div.caixaHab {
    width: 92%;
    margin-left: 7px;
    margin-right: 7px;
    }
    div.lingHab {
        min-width: 55px;
    }
    /*Projetos*/
    div.caixaProj {
        width: 88%;
    }
    /*Contatos*/
    div.caixaCt {
        width: 88%;
    }
    /*FOOTER-MOBILE-P*/
}