*{
    scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

.text-justify{
    text-align:justify;
}

section{
    padding: 64px;
}
.progress{
    height: 16px;
}

header {
  position: relative; 
}

.logo-topo {
  position: absolute;
  top: 10px;       
  right: 1300px;     
  width: 180px;    
  height: auto;    
  z-index: 10;     
}

#sobre{
  margin-top: 0px;  
  padding-top: 10px;
}

.carousel-item img {
  width: 100%;
  max-width: 1200px;   
  transition: transform 0.6s ease, box-shadow 0.6s ease;
   
}

.carousel-item img:hover {
  transform: scale(1.1); 
  z-index: 10;
}

#projetos {

  margin-top: 0px;
  padding-top: 40px;

}

#habilidades {

  margin-top: 0px;
  padding-top: 40px;

}
#curriculo {

  margin-top: 0px;
  padding-top: 15px;

}


#contato ul {
    display: flex;             
    justify-content: center;   
    gap: 20px;                 
    padding: 0;
    margin: 20px 0;
    list-style: none;         
}

#contato ul img {
  width: 60px;               
  height: auto;
  object-fit: cover;         
  border-radius: 10px;      
  background-color: black;   
  padding: 5px;              
  border: 3px solid #24f08d;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}


#contato ul img:hover {
  transform: scale(1.1); 

}

.curriculo {
  width: 60%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #24f08d;
  transition: transform 0.4s ease, box-shadow 0.4s ease; 
}


.curriculo:hover {
  transform: scale(2.0); 

}

.primeiro{
  max-width: 1800px;
}

h5 {
  font-family:'Montserrat';
  text-align: center;
  padding: 5px;
  font-weight: bold;
  color: #9a27d0;
}

h6 {
  font-family:'Montserrat';
  text-align: center;
  padding: 5px;
  font-weight: bold;
  color: #ffffff;

}

p{
  font-family:'Montserrat';
  color: #ffffff;
  /*font-weight: bold;*/
  font-size: 18px;
  text-align: center;
  padding: 5px;
}

nav ul li a {
  font-family: 'Montserrat';
  font-size: 20px;
  font-weight: bold;
  color: #9a27d0 !important; 
  text-decoration: none;
  transition: color 0.3s; 
  cursor: pointer;       
}

nav ul li a:hover,
.sidenav a:hover {
  color: #24f08d !important; 
}

nav ul li a.active,
.sidenav a.active {
  color: #24f08d  !important; 
}


.black {
  background-color: black;
}


section {
  scroll-margin-top: 100px; 
  background-color: black; 
}

@media (max-width: 600px) {
  section {
    scroll-margin-top: 64px; 
  }
}

footer {
    font-family: 'Montserrat'; 
    background-color: black;  
    color: white;             
    text-align: center;       
    padding: 15px 0;         
}


#contato ul img.logo-fatec {
  width: 100px !important;
  height: auto !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 10px auto;
  display: block;
}

.botao-pdf {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: normal;
  transition: 0.3s;
      border: 1px solid #24f08d;
}

.botao-pdf:hover {
  background-color: #000000;
}

.projetos-imagens {
  display: flex;
  flex-wrap: wrap;           
  gap: 20px;                 
  justify-content: center;   
  margin-top: 20px;
  
}

.projetos-imagens img {
  width: 140px;               
  height: auto;               
  border-radius: 10px;        
  padding: 5px;               
  transition: transform 0.3s ease;
  
}

.projetos-imagens img:hover {
  transform: scale(1.05);    
}


.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8); 
  overflow: auto;
}


.modal-conteudo {
  background: black;
  border: 2px solid #24f08d;
  border-radius: 10px;
  width: 95%;
  max-width: 800px;
  margin: 100px auto; 
  padding: 20px;
  color: white;
  text-align: center;
}
.modal:target {
  display: block;
}


.modal-conteudo img {
  width: 85%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.fechar {
  color: #24f08d;
  float: right;
  font-size: 28px;
  text-decoration: none;
}

#modal1 .modal-conteudo p {
  font-size: 18px;     
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;    
    font-weight: normal;
    
    
}

.botao-pdf-modal {
  display: block;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  text-align: center;
  margin: 5px auto 0 auto;
  border: 1px solid #24f08d;
  width: 150px; 
}
.botao-pdf-modal:hover {
  background-color: #000000;  
} 

#modal2 .modal-conteudo p {
  font-size: 18px;     
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;    
    font-weight: normal;
    
}

#modal3 .modal-conteudo p {
  font-size: 18px;     
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;    
    font-weight: normal;
}

#modal4 .modal-conteudo p {
  font-size: 18px;     
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;    
    font-weight: normal;
}

#modal5 .modal-conteudo p {
  font-size: 18px;     
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;   
    font-weight: normal;
}

#modal6 .modal-conteudo p {
  font-size: 18px;    
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;    
    font-weight: normal;
}

#modal7 .modal-conteudo p {
  font-size: 18px;    
  line-height: 1.0;    
  text-align: justify; 
  margin-top: 10px;    
    font-weight: normal;
}

#extras .projetos-imagens img {
  border: 2px solid #24f08d;
  border-radius: 10px;
  padding: 3px;
}


.animacao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 60px 8%;
  overflow: hidden;
}


.imagem-esquerda {
  width: 50%;
  animation: slideLeft 6s ease-in-out infinite alternate;
  text-align: left;
}


.imagem-esquerda img {
  width: 100%;
  max-width: 700px;  
  border-radius: 12px;
}


.imagem-direita {
  width: 50%;
  animation: slideRight 6s ease-in-out infinite alternate;
  text-align: right;
}


.imagem-direita img {
  width: 100%;
  max-width: 700px;   
  border-radius: 12px;
}


@keyframes slideLeft {
  0% {
    transform: translateX(-120px) scale(0.95); 
  }
  50% {
    transform: translateX(0) scale(1.07); 
  }
  100% {
    transform: translateX(-120px) scale(0.95);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(120px) scale(0.95);
  }
  50% {
    transform: translateX(0) scale(1.07);
  }
  100% {
    transform: translateX(120px) scale(0.95);
  }
}

.mapa-container {
  width: 90%;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 10px;
  overflow: hidden;


}


.btn-topo {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #000000;
  color: #9a27d0;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 10%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  z-index: 999;
  display: none; 
   border: 1px solid #24f08d;
}

.btn-topo:hover {
  background-color: #000000;
  transform: scale(1.1);
}



/* Tamanho do carousel */
.carousel.carousel-slider {
  width: 100% !important;
  height: 350px !important; /* ajuste se quiser */
  margin: 0 auto;
  overflow: hidden;
}

/* Força cada slide a ocupar toda a área */
.carousel .carousel-item {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* Ajusta a imagem dentro do slide */
.carousel .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain; /* troque por cover se quiser preencher */
}