
body {
    font-family: 'Poppins';
    background-color: #964650;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

#content {
    width: 90%;
    max-width: 440px;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in 0.4s; /* Aparece suavemente após o loader */
    display: none; /* Mantenha isso */

}


.titulo {
    margin: 0;
    font-size: clamp(1rem, 4vw, 1.5rem); /* Texto responsivo */
    background-color: #DDD7D7;
    color: #964650;
    border-radius: 70px;
    width: 100%; 
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.up-text {
    margin: 0;
    font-size: clamp(1.5rem, 5vw, 2rem); /* Texto responsivo */
    color: #DDD7D7;
    font-size: clamp(1.2rem, 4vw, 1.5rem); /* Texto responsivo */
    margin-bottom: 40px;
}


.foto-manu {
    width: 12rem;
    max-width: 80%;
    height: auto;
    border-radius: 50%;
    margin: 0 30px; /* Distância fixa entre nomes e foto */
    display: block;
    flex-shrink: 0; /* Impede que a imagem reduza */
}

h2, p, ul {
    width: 100%; /* Agora todos usam a mesma largura do content-wrapper */
    text-align: center;
    color: #DDD7D7;
    margin: 10px 0; /* Espaçamento consistente */
    padding: 0;
}

ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* Centraliza os itens da lista */
}

a {
    background-color: #DDD7D7;
    color: #964650;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    padding: 12px 25px;
    display: inline-block;
    font-size: clamp(1rem, 4vw, 1.1rem);
    min-width: 180px;
    text-align: center;
    transition: all 0.3s ease;
}


.select {
    font-size: clamp(0.9rem, 3vw, 1.1rem); /* Texto responsivo */
}

/* HTML: <div class="loader"></div> */
#loader {
    width: fit-content;
    font-size: 40px;
    line-height: 1.5;
    font-family: system-ui,sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #0000;
    -webkit-text-stroke: 1px #DDD7D7;
    background:
      radial-gradient(1.13em at 50% 1.6em,#DDD7D7 99%,#0000 101%) calc(50% - 1.6em) 0/3.2em 100% text,
      radial-gradient(1.13em at 50% -0.8em,#0000 99%,#DDD7D7 101%) 50% .8em/3.2em 100% repeat-x  text;
    animation: l9 2s linear infinite;
  }
  #loader:before {
    content: "Loading";
  }
  @keyframes l9 {
    to {background-position: calc(50% + 1.6em) 0,calc(50% + 3.2em) .8em}
  }



  #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #964650;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    z-index: 1;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;

}


.fade-out {
    opacity: 0;
    transform: scale(0.98);
}


#content.show {
    opacity: 1;
}

.name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

/*
.side-name {
    font-family: 'Poppins', sans-serif;
    color: #DDD7D7;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    min-width: 100px;
}*/
.side-name {
    color: #DDD7D7;
    font-weight: 700;
    visibility: hidden; /* Esconde inicialmente */
    min-width: 340px; /* Espaço reservado para os nomes */
    font-size: 6rem;
    font-family: 'Dancing Script', cursive; /* Experimente outras opções abaixo */
    white-space: nowrap;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);


}

.side-name.active {
    visibility: visible; /* Mostra quando começar a animação */
}



@keyframes typing {
    from { width: 0 }
    to { width: auto }
}

/* Efeito cursor piscando */
@keyframes blink {
    50% { border-color: transparent }
}

.about-me{
    max-width: 800px; /* Largura máxima do conteúdo */
    margin: 0 auto; /* Centraliza na tela */
    padding: 0 5%; /* Margens laterais responsivas */
    text-align: justify; /* Texto justificado */
    text-justify: inter-word; /* Melhora a justificação */
    hyphens: auto;
    font-size: 1.2rem;

}

/* Media queries para ajustes responsivos */
@media (min-width: 1200px) {
    .about-me {
        max-width: 900px;
        padding: 0 10%; /* Margens maiores em telas grandes */
    }
}

.name{
    font-weight: bold;
}



.imagens {
    position: relative; /* Permite posicionamento absoluto dos filhos */
    width: 100%;
    max-width: 800px; /* Ajuste conforme necessário */
    margin: 0 auto; /* Centraliza o container */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo para a foto do CIMATEC (frente) */
.foto-cimatec {
    position: relative; /* Mantém no fluxo normal mas acima da foto-caminho */
    z-index: 2; /* Garante que fique na frente */
    width: 70%; /* Ajuste conforme necessário */
    max-width: 600px; /* Limite máximo de largura */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opcional: sombra */
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

/* Estilo para a foto do caminho (fundo) */
.foto-caminho {
    position: absolute; /* Posiciona absolutamente em relação ao container */
    z-index: 1; /* Fica atrás da foto-cimatec */
    width: 170%; /* Mais larga que a foto da frente */
    height: auto;
    opacity: 0.8; /* Opcional: reduz opacidade para efeito visual */
    filter: blur(1px); /* Opcional: leve desfoque */
    object-fit: cover; /* Garante que cubra o espaço */
}

.previews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.preview-wrapper {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex; /* Adicionado */
    flex-direction: column; /* Adicionado */
}

.preview-wrapper iframe {
    width: 100%;
    height: 300px;
    border: none;
    background: #f5f5f5;
}

.preview-caption {
    text-align: center;
    padding: 12px;
    background: #f9f9f9;
    margin: 0;
    font-weight: 500;
    width: 100%; /* Garante que ocupa toda a largura */
    box-sizing: border-box; /* Inclui padding na largura total */
}

/* Responsividade - Empilha em telas menores */
@media (max-width: 992px) {
    .preview-wrapper {
        flex: 100%;
        min-width: 100%;
    }
}
.contato-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* Espaço entre os itens */
    flex-wrap: wrap; /* Para responsividade */
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 10px; /* Espaço entre a logo e o texto */
}

.logo {
    width: 24px; /* Ajuste conforme necessário */
    height: 24px;
}





@media (max-width: 768px) {
    .about-me {
        padding: 0 8%; /* Margens um pouco menores em tablets */
    }
    .foto-cimatec {
        width: 90%;
    }
    
    .foto-caminho {
        width: 130%;
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .about-me {
        padding: 0 5%; 
        text-align: left; 
    }
    .foto-cimatec {
        width: 95%;
    }
    
    .foto-caminho {
        width: 140%;
    }
    header {
        border-radius: 40px; 
        padding: 15px;
    }
    
    .foto-manu {
        width: 12rem; 
    }
    
    a {
        padding: 10px 20px; 
    }
}







h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.section-container {
    background-color: #A89294;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.section-container:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-me, 
.technical-skills, 
.soft-skills, 
.projects-section {
    color: #2D2D2D; 
}

ul {
    padding: 0;
    margin: 0;
}

.previews-container {
    background-color: transparent;
    padding: 0;
}

.preview-wrapper {
    background-color: #DDD7D7;
}

.preview-caption a {
    background-color: transparent;
    color: #964650;
    padding: 0;
    min-width: auto;
}