/* GERAL */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}

html{
  scroll-padding-top: 3rem;
  scroll-behavior: smooth;
}

body{
  background-image: url(https://pedrorigolon.github.io/portfolio/video-imagens/webp/background/bg-outerwilds.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-color: black;
  overflow-x: hidden; /* Previne scroll horizontal */
}

@keyframes brilho {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.btn-primary {
  animation: 3.4s linear infinite brilho;
  font-weight: 500;
  background-image: linear-gradient(45deg, #A81CC1, #5143E9, #A81CC1, #5143E9);
  background-size: 400% 100%;
  color: white;
  border: none;
  transition: transform 0.5s; /* Aplica transição apenas ao transform */
}

.btn-primary:hover {
  transform: scale(1.05);
  border: none;
  
}

.btn-primary:active{
  background-image: linear-gradient(45deg, #6c137c, #2f2788, #6c137c, #2f2788);
  color: rgb(151, 151, 151);
}

.shadow-box{
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.39);
}

.text-status{
  color: rgb(0, 121, 0);
  font-weight: 700;
  font-size: larger;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 30px;
  text-align: center;
  
}

.p-about{
  text-align: justify;

}

#certificates, #knowledge{
  background-image: url(https://pedrorigolon.github.io/portfolio/video-imagens/webp/background/bg-galaxia.webp);
  background-repeat: none;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}


/* SOBRE */   




#div_about{
  margin-top: 80vh;
  min-height: 100vh;
  overflow-x: hidden; /* Previne scroll horizontal */
}

#row_about{
  margin-bottom: 2.2rem;

}

#foto{
  border-radius: 20px;

  width: 300px;
}

#headline_about{
justify-self: center;
}


span.main_headline{
  font-weight: 700;
    animation: 3.4s linear infinite brilho;
    background-image: linear-gradient(45deg, #A81CC1, #5143E9, #A81CC1, #5143E9);
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    will-change: background-position;
}


#content_about{
  margin-top: 10vh;
  
}

.btn-about{
  width: 100%;

}



/* DIV CONHECIMENTOS */    
#knowledge{
  min-height: 100vh;
}


#row2_knowledge div{
  height: 7rem;
}

#knowledge picture img{
  width: 23%;
}

#knowledge picture img#img_mongodb{
  width: 60%;
}

/* CARROSEL SWIPER */  



#certificates{
  min-height: 100vh;
}



.swiper {
  min-height: 70vh;
  display: grid;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #ffffff28;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 60%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important; /* Define a cor dos botões como branco */
}

.swiper-pagination-bullet {
    background-color: white !important; /* Bolinhas inativas */
}

.swiper-pagination-bullet-active {
    background-color: white !important; /* Bolinha ativa */
}

.slide-custom{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;      
  gap: 3.5rem;  


}

.carousel-img{
  justify-self: center;
  align-self: center;
  background-color: white;
  padding: 5%;
}

.btn-custom1{
  background-color: rgb(33, 81, 136);
  color: white;
  border-color: rgb(33, 81, 136);
}

.btn-custom2{
  background-color: white;
  color: rgb(20, 20, 100);
  font-weight: 500;
  border-color: white;
}

.btn-custom3{
  background-color: white;
  color: rgb(240, 0, 0);
  font-weight: 500;
  border-color: white;
}

.btn-custom4{
  background-color: white;
  color: rgb(0, 0, 0);
  font-weight: 500;
  border-color: white;
}

/* PROJETOS */

#projects{
min-height: 100vh;
}


.div-project{
height: 300px;
background-size:cover;
background-repeat: no-repeat;
background-position: 100% 0;
transition: background-position 5s ease-in-out;
}

.div-project1{
  background-image: url(../../video-imagens/projeto1.png);

}

.div-project2{
  background-image: url(../../video-imagens/projeto-2.png);

}

.div-project3{
  background-image: url(../../video-imagens/projeto-3.png);

}

.div-project:hover{

background-position: 100% 100%;
}

.container-black{
  background-color: rgba(0, 0, 0, 0.514);
  height: 100%;
  height: 100%; 
  position: relative;
}
/* contato */

#contact{
min-height: 100vh;
}

.contact-full{
background-color: rgba(255, 255, 255, 0.644);
}

.container-forms{
  width: 100%; 
  max-width: 350px;
  min-height: 400px;
}

#result{
  background-color: aliceblue; 
  border-radius: 20px; 
  margin-top: 10px; 
  text-align: center;
}

.h-captcha{
  display: grid;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

.visible {
  margin-top: 1.5rem;
  display: block;
}

/* RESPONSIVIDADES EXTRAS */




@media screen and (max-width: 370px) {
    #knowledge picture img{
      width: 40%;
    }

}

@media screen and (max-width: 420px) {
    .h-captcha {
      transform: scale(0.90);
     
    }
    
  }

@media screen and (min-width: 992px) {
  #row2_knowledge div{
  height: 9rem;
}
.swiper-slide img {
  width: 40%;

}


}