/* css doc*/

@font-face {
  font-family: 'raleway';
  src: url('../font/Raleway/Raleway-Italic-VariableFont_wght.ttf');
}
@font-face {
  font-family: 'nunito';
  src: url('../font/Nunito/Nunito-Italic-VariableFont_wght.ttf');
}
*{
    box-sizing: border-box;margin: 0; text-decoration: none;
}

body, html{
    width: 100%;
    height: 100%;
    font-family:  raleway, nunito;
    font-size: 16px;
    color: #2c282b;
    scroll-behavior: smooth;
}
nav{
    width: 100%;
    height: 60px;
    background-color: #2c282b;
    text-align: right;
    position: fixed;
    z-index: 100;
}
nav a{
    color: #f0f8ff;
    display: inline-block;
    padding: 20px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: 0.2s;
}
nav a:hover{
    color: #f52bce;
}
header {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  padding-top: 60px; 
}

header img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* preenche bem no desktop */
  object-position: center;
  display: block;
}
section{
    width: 100%;
    height: 90%;
    padding-top: 5%;
}

.titulo{
    text-align: center;
    font-family: nunito;
    font-size: 40px;
    padding: 8px;
}
.barra{
    width: 5%;
    border-bottom: 2px solid #f52bce;
    margin: auto;
}
.subtitulo{
    text-align: center;
    font-family: raleway;
    font-size: 20px;
    margin-top: 1%;
}
#sobre article {
    width: 80%;
    max-width: 1200px;
    margin: 3% auto 0 auto;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.imgsobre {
    border-radius: 50%;
    width: 280px;
    height: 280px;
    object-fit: cover;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.conteudo-texto {
    flex-grow: 1;
}

.nome {
    font-family: nunito;
    font-size: 28px;
    color: #f52bce;
    margin-bottom: 5px;
    font-weight: bold;
}

.cargo {
    font-family: raleway;
    font-size: 16px;
    color: #2c282b;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.paragrafo {
    font-family: raleway;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}
#habilidades {
    height: 80%;
    padding-bottom: 5%;
    padding-top: 8%;
}

.habilidades-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    gap: 40px;
}

.habilidade-grupo {
    flex-basis: 45%; 
}

.habilidade-grupo h3 {
    font-family: nunito;
    color: #f52bce;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #2c282b;
    padding-bottom: 5px;
}

.habilidade-item p {
    font-family: raleway;
    font-weight: bold;
    margin-bottom: 5px;
}

.barra-externa {
    background-color: #e0e0e0;
    border-radius: 5px;
    height: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.barra-interna {
    background-color: #f52bce;
    height: 100%;
    width: 0;
    transition: width 1.5s ease-out;
}
#portfolio {
    height: 72%;
    min-height: 100vh;
    padding-bottom: 5%;
    background-color: #f7a0e6; 
}

.portifolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

.projeto-card {
    display: block; 
    position: relative;
    overflow: hidden; 
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease; 
}

.projeto-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.projeto-card img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    display: block;
    transition: opacity 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 43, 206, 0.85); 
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.projeto-card:hover .overlay {
    opacity: 1; 
}

.projeto-titulo {
    font-family: nunito;
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
}

.projeto-categoria {
    font-family: raleway;
    font-size: 16px;
    font-weight: 300;
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 20px;
}
footer {
    background-color: #2c282b;
    color: #f0f8ff;
    font-family: raleway;
}

.footer-conteudo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 60px 5%;
    max-width: 1200px;
    margin: auto;
    border-bottom: 1px solid rgba(240, 248, 255, 0.1);
}

.footer-coluna {
    width: 25%;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-coluna h3,
.footer-coluna h4 {
    color: #f52bce;
    font-family: nunito;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-coluna p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-coluna a {
    display: block;
    color: #f0f8ff;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-coluna a:hover {
    color: #f52bce;
}

.footer-coluna a i {
    margin-right: 8px;
}

.footer-copyright {
    text-align: center;
    padding: 20px 5%;
    font-size: 13px;
    background-color: #1a1719;
}

.footer-copyright p {
    margin: 5px 0;
}
.separador-decorativo-dinamico {
    width: 100%;
    height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}

.forma-principal {
    width: 120px;
    height: 120px;
    background-color: rgba(245, 43, 206, 0.9);
    position: absolute;
    transform: rotate(45deg);
    box-shadow: 0 0 30px rgba(245, 43, 206, 0.8);
    animation: rotacaoFlutuante 8s infinite ease-in-out;
}

.forma-secundaria {
    width: 50px;
    height: 50px;
    background-color: rgba(245, 43, 206, 0.6);
    border-radius: 50%;
    position: absolute;
    top: 20%;
    left: 15%;
    animation: movimentoRapido 4s infinite linear alternate;
}

@keyframes rotacaoFlutuante {
    0% { transform: translate(0, 0) rotate(45deg); opacity: 0.8; }
    33% { transform: translate(50px, -30px) rotate(60deg); opacity: 1; }
    66% { transform: translate(-50px, 30px) rotate(30deg); opacity: 0.7; }
    100% { transform: translate(0, 0) rotate(45deg); opacity: 0.8; }
}

@keyframes movimentoRapido {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}
.separador-2 {
    background-color: #fff;
    height: 400px;
    overflow: visible;
}

.forma-um-2 {
    width: 150px;
    height: 150px;
    border: 3px solid rgba(245, 43, 206, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    animation: giroLento 15s infinite linear;
}

.forma-dois-2 {
    width: 70px;
    height: 70px;
    background-color: rgba(245, 43, 206, 0.7);
    position: absolute;
    top: 30%;
    left: 30%;
    animation: rotacaoFlutuacaoMedia 8s infinite ease-in-out alternate;
}

.forma-tres-2 {
    width: 30px;
    height: 30px;
    background-color: #f52bce;
    border-radius: 50%;
    position: absolute;
    bottom: 10%;
    right: 5%;
    animation: movimentoRapidoFundo 5s infinite linear;
}

@keyframes giroLento {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotacaoFlutuacaoMedia {
    0% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-25px); }
    100% { transform: rotate(0deg) translateY(0px); }
}

@keyframes movimentoRapidoFundo {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, 50px); }
}