* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
body{
    font-family: 'Poppins', sans-serif;
    background-color: #260041;
}

header{
    background-color: #0a0a0a;
    width: 100%;
    height: 8vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px; 
    padding-right: 32px;
}

.botao{
    background-color: #FFD700;
    border-radius: 15px;
    padding: 8px 16px;
}
.botao:hover {
    background: #fff;
    color: #260041;
    border: 2px solid #FFD700;
    border-radius: 20px;
}
.container1{
    background-image: url('./Imagens/Capa.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.titulo1{
    color: #ffffff;
    margin-top: 0;
    font-size: 40px;
}

.titulo2{
    color: #FFD700;  
    margin-top: 20px;          
    font-size: 18px;           
    width: 60%;              
    margin-left: auto;         
    margin-right: auto;        
    white-space: nowrap;       
    overflow: hidden;         
    animation: typing 4s steps(50), blink 0.75s step-end infinite;
}
@keyframes typing {
    from { width: 0; }
    to { width: 50%; }
}
.texto1 {
    color: #D9D9D9;
    margin-top: 20px;
    font-size: 18px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Courier New', monospace;
}

.botoes{
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.botao2{
    background-color: #FFD700;
    color: #260041;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s;
    border-radius: 5px;
}

.botao2:hover{
    background: #fff;
    color: #260041;
    border: 2px solid #FFD700;
    border-radius: 20px;
}

.links-imagens{
    display: flex;
    gap: 20px;
    justify-content: center; 
    align-items: center;
    margin-top: 25px;
    

}
.contatos{
    display:flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}
.sobre-mim {
    position: relative;
    overflow: hidden;
    background-color: #260041; 
    padding-bottom: 60px;
}


.sobre-mim::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    background-image: 
        radial-gradient(#FFD700 2px, transparent 1px),
        radial-gradient(#FFD700 2px, transparent 1px),
        radial-gradient(#FFD700 3px, transparent 2px);
    background-size: 150px 150px, 200px 200px, 300px 300px;
    animation: estrelas 60s linear infinite;
    z-index: 0;
    opacity: 0.8;
}

@keyframes estrelas {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: 500px 1000px, -800px -600px, 600px -400px; }
}


.sobre-mim img,
.titulo-sobre-mim,
.texto-sobre-mim {
    position: relative;
    z-index: 1;
}

.sobre-mim img { 
    margin-top: 35px; 
    width: 18%; 
    height: 50vh; 
    border-radius: 50px; 
    display: flex; 
    margin-left:auto; 
    margin-right:auto; 
    border: solid 5px #FFD700; 
    box-shadow: 0px 0px 25px rgba(255, 215, 0, 0.6); 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sobre-mim img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0px 0px 40px rgba(255, 215, 0, 1);
}

.titulo-sobre-mim { 
    color: #FFD700; 
    margin-top: 35px; 
    font-size: 28px; 
    text-align: center; 
    font-weight: bold;
    text-shadow: 0px 0px 12px rgba(255, 215, 0, 0.8);
    animation: brilhoTexto 3s ease-in-out infinite alternate;
}
@keyframes brilhoTexto {
    from { text-shadow: 0px 0px 6px rgba(255, 215, 0, 0.6); }
    to { text-shadow: 0px 0px 16px rgba(255, 215, 0, 1); }
}

.texto-sobre-mim { 
    color: #D9D9D9; 
    margin-top: 20px; 
    font-size: 18px; 
    width: 80%; 
    margin-left: auto; 
    margin-right: auto; 
    text-align: center; 
    line-height: 1.6;
}
.habilidades {
  background: #260041;
  padding: 80px 20px;
  color: #FFD700;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.Habilidades h1 {
  font-size: 2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.Habilidades h2 {
  font-size: 1em;
  margin-bottom: 30px;
  color: #D9D9D9;
}

.principal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
}

.card {
  margin-top: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 20px;
  width: 120px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px #FFD700;
  margin-bottom: 10px;
}

.card img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}

.card span {
  font-size: 0.95em;
  font-weight: 500;
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.card:hover img {
  transform: scale(1.2) rotate(10deg);
}


.container {
    background-color: #260041;
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;      
    max-width: 1400px;
    width: 100%;
    animation: fadeIn 1s ease forwards;
}


.Projetos{
    align-items: flex-start;
    margin-top: 30px;  
    font-size: 30px;
    color:#FFD700;

}

.Galeria {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    margin-bottom: 20px;
}

.Galeria .item:last-child {
    grid-column: 1 / -1;     
    justify-self: center;    
    max-width: 350px;        
    width: 100%;             
}

.item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: scaleUp 0.8s ease forwards;
    position: relative;
    display: flex;
    flex-direction: column; 
    height: 100%;  
}

.item:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) scale(1.03);

}


.item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;  
    display: block;
    transition: transform 0.4s ease;
    flex-grow: 1;
}

.item:hover img {
    transform: scale(1.05);
}


.portfolio-link {
  text-decoration: none; 
  color: inherit;       
  display: flex;         
  flex-direction: column; 
  height: 100%;           
}


.legenda {
    margin-top: auto; 
    color: #ffffff;
    padding: 12px;
    font-size: 1.1rem;
    text-align: center;
    background: linear-gradient(45deg, #FFD700, #B8860B);
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #FFD700;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.footer {
  background: linear-gradient(135deg, #260041, #4b0066);
  color: #D9D9D9;
  font-family: 'Arial', sans-serif;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-content p {
  margin: 10px 0;
  font-size: 18px;
}

.footer-content a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.footer-content a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #FFD700;
  transition: width 0.3s;
  margin-top: 3px;
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 14px;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}
@media (max-width: 1024px) {
    .titulo1 {
        font-size: 32px;
    }
    .titulo2 {
        font-size: 16px;
        width: 80%;
    }
    .texto1 {
        width: 80%;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    header {
        justify-content: center; 
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
    }
    .botao {
        font-size: 14px;
        padding: 6px 12px;
        
    }
    .titulo1 {
        font-size: 28px;
    }
    .titulo2 {
        font-size: 15px;
        width: 90%;
        white-space: normal; 
        animation: none;    
    }
    .texto1 {
        font-size: 15px;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .titulo1 {
        font-size: 24px;
    }
    .titulo2 {
        font-size: 14px;
        width: 95%;
    }
    .texto1 {
        font-size: 14px;
        width: 95%;
    }
    .header {
        display: none;
    }
    .botao {
       display: none;
    }
}
@media (max-width: 768px) {
    .sobre-mim img {
        width: 60%;     
        max-width: 180px;
    }
    .titulo-sobre-mim {
        font-size: 24px;
    }
    .texto-sobre-mim {
        font-size: 16px;
        width: 90%;
    }
    .botoes {
        gap: 10px;         
        flex-wrap: nowrap; 
        overflow-x: auto;  
    }
    .botao2 {
        font-size: 14px;
        padding: 8px 12px; 
        flex-shrink: 0;    
    }
}

@media (max-width: 480px) {
    .sobre-mim img {
        width: 60%;     
        max-width: 250px;
    }
    .titulo-sobre-mim {
        font-size: 28px;
    }
    .texto-sobre-mim {
        font-size: 15px;
        width: 95%;
        line-height: 1.4;
    }
}
@media (max-width: 768px) {
  .footer-content p {
    font-size: 16px;
  }
  .footer-bottom p {
    font-size: 13px;
  }
  .footer-divider {
    width: 60px;
  }
}

