/*Efeitos de elementos deslizando na tela*/
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.slide-in-left.appear,
.slide-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}

/*Banner Bem vindo */
.banner {
  position: relative;
  width: 100%;
  height: 500px;
   background-image: url('../image/image_banner/banner_home.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax aqui */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
}

.banner-dica {
  position: relative;
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* escurece o fundo */
  z-index: 1;
}

.conteudo-banner {
  position: relative;
  z-index: 2; 
}

.logo-fake {
  font-size: 10rem;
  font-weight: bold;
  color: #ffff;
  text-shadow: 0 0 10px #ffffff;
}
.banner-title {
  font-size: 3rem;
  font-family: 'Title', Arial, sans-serif;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.banner-subtitle {
  font-size: 1.4rem;
  color: #f0f0f0;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
}


.welcome_boost > h1{
    text-align: center;
    width: 95%;
    color: white;
    margin-top: 20px;
    font-size: 3rem;
    font-family: 'Title', Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    display: none;
}

.container_welcome{
    width: 95%;
    margin: auto;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 30px;
}
.container_welcome > p{
    width: 40%;
    height: 400px;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    line-height: 40px;
}

.image_container{
    width: 45%;
    height: 400px;
    border-radius: 10px;
}

.image_container > img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.678);
}

.container_about{
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.container_about > h1{
    text-align: center;
    color: white;
    font-size: 3rem;
    font-family: 'Title', Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}
.image_about{
    width: 88%;
    height: auto;
    margin: auto;
    border-radius: 10px;
}

.image_about > img{
    width: 100%;
    height: 100%; 
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.678);
}

.container_about > p{
    width: 88%;
    padding: 10px;
    font-size: 1.5rem;
}
  
/*Propaganda Newsletter*/
.card_formulario {
  width: 100%;
  max-width: 700px;
  height: 350px;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: transform 0.3s ease;
  text-align: center;
  overflow: hidden;
}

.card_formulario:hover {
  transform: scale(1.03);
}

.card_formulario a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 2rem;
}

.card_formulario_content h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #333;
}

.card_formulario_content p {
  font-size: 1rem;
  color: #555;
  margin: 1rem 0;
}

.botao_card_formulario {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.botao_card_formulario:hover {
  background-color: #0056b3;
}



/* Responsivo para tablets (largura até 1024px) */
@media (max-width: 1100px) {
  .container_welcome {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  .container_welcome img{
    width: 100%;
  }
  .image_container{
    margin-top: 30px;
  }
  #second_image{
    display: none;
  }

  .container_welcome > p,
  .image_container {
    width: 95%;
    height: auto;
  }

  .container_about > p {
    width: 95%;
    text-align: center;
  }

  .image_about {
    width: 95%;
    height: auto;
  }

.card_formulario {
    width: 90%;
    height: 400px;
  }
}

/*Responsivo celular*/
@media (max-width: 460px){
  .banner{
    display: none;
  }
  .welcome_boost > h1{
    display: inherit;
}
  .container_welcome {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }
  .container_welcome img{
    width: 100%;
  }
  .image_container{
    margin-top: 50px;
  }
  #second_image{
    display: none;
  }
  .container_welcome >h1 {
    font-size: 2rem;
  }

  .container_welcome > p,
  .image_container {
    width: 95%;
    height: auto;
    font-size: 24px;
  }
  #second_image{
    display: none;
  }
  .container_about > p {
    width: 95%;
    text-align: center;
  }

  .image_about {
    width: 95%;
    height: auto;
  } 
   .card_formulario {
    height: auto;
    padding: 1rem;
  }

  .card_formulario h1 {
    font-size: 2rem;
    padding: 0 1rem;
    word-wrap: break-word;
  }

  .card_formulario_content h3 {
    font-size: 1.2rem;
  }

  .card_formulario_content p {
    font-size: 0.9rem;
  }

  .botao_card_formulario {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
  }
  
}