* {
  user-select: none;
  box-sizing: border-box;
}

body {
  background: url("../images/dfbackground.webp") no-repeat center center fixed;
  background-color: #1b1b1b;
  background-size: cover;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}


header{
  opacity: 0;
  transform: translateX(-100px);
  animation: esquerda 1s ease forwards;
  background-color: red;
  border-radius: 20px;
  width: 50%;
  height: 80px;
  display: flex;
  justify-content: center;
 margin-top: 20px;
 align-items: center;
  position: relative;
  top: 0;
  left: 25%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
   

}
ul{
  display: flex;
  gap: 15px;
  list-style: none;

}
ul li a{
text-decoration: none;
color: white;
border-radius: 10px;
padding: 8px;
transition: 0.12s;

}
ul li a:hover{
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  
}

#linkhome{
   background: rgba(114, 114, 114, 0.15);
  backdrop-filter: blur(15px);
}



.cards {
  display: flex;
  justify-content: center;
  align-items: center; /* ← adicionado */
  margin-top: 100px;
  padding: 0 10px; /* ← evita estourar na lateral */
}


.card1 {
  opacity: 0;
  transform: translateX(-100px);
  animation: esquerda 1s ease forwards;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  width: 100%; /* ← melhor responsivo */
  max-width: 700px;
  border-radius: 24px;
  padding: 20px;
  text-align: center;
}



/* TEXTOS */
.card1 h1 {
  margin: 10px 0;
  font-size: 1.5rem;
  color: rgb(224, 224, 224); /* ← faltava, podia sumir */
}

.card1 h2 {
  color: rgb(184, 183, 183);
  font-size: 16px;
  margin: 5px 0;
}





/* FOOTER */
.social2 {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; 
}

.social2 img {
  margin-top:10px;
  width:34px;
  height: 34px;
  filter: brightness(0) saturate(100%) invert(67%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(105%) contrast(90%);
  transition: 0.3s;
}

.social2 img:hover {
  transform: scale(1.2);
}

footer {
  background: rgb(27, 27, 27);
  padding: 12px;
  margin-top: 100px;
  font-size: 14px;
  position: relative;
}

footer p{
  color: #aaa;
  text-align: center;
}

footer a{
  text-decoration: none;
  color: #aaa;
}

footer a:hover{
  color: #8a8a8a;
}

#finfo{
  position: absolute;
  right: 500px;
  top: 12px;
  width: 150px;
  text-align: center;
}

#fcontato{
  position: absolute;
  left: 500px;
  top: 12px;
  width: 150px;
  text-align: center;
}


hr {
  width: 80%;
  max-width: 300px;
  margin: 20px auto;
  border: none;
  height: 1px;
  background: #929090;
}





@keyframes esquerda{
    to{
        opacity: 1;
        transform: translateX(0);
    }
}



/* RESPONSIVO */
@media (max-width: 768px) {
  .cards {
    margin-top: 50px;
  }



   header{
  width: 90%;
  margin-left: -155px;
}
footer {
    margin-top: 150px;
    padding: 35px 30px;
  }

  #finfo,
  #fcontato {
    position: static;
    width: 100%;
    text-align: center;
    margin: 30px 0;
  }

  #termos {
    margin-top: 18px;
    line-height: 1.7;
  }

  hr {
    width: 70%;
    margin: 25px auto;
  }

  .social2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 12px;
  }

  .social2 img {
    width: 38px;
    height: 38px;
    margin-top: 0;
  }

  footer p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media(max-width: 390px){
  header{
  width: 97%;
  margin-left: -92px;
}

footer {
    margin-top: 120px; /* ajuste conforme necessário */
    padding: 25px 15px;
  }

  #finfo,
  #fcontato {
    position: static;
    width: 100%;
    text-align: center;
    margin: 20px 0;
  }

  #termos {
    margin-top: 15px;
    line-height: 1.6;
  }

  hr {
    width: 90%;
    margin: 20px auto;
  }

  .social2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
  }

  .social2 img {
    width: 30px;
    height: 30px;
    margin-top: 0;
  }

  footer p {
    font-size: 13px;
    line-height: 1.6;
  }
}

@media(max-width: 480px){
 header{
  width: 90%;
  margin-left: -95px;
}
footer {
    margin-top: 120px;
    padding: 30px 24px;
  }

  #finfo,
  #fcontato {
    position: static;
    width: 100%;
    text-align: center;
    margin: 25px 0;
  }

  #termos {
    margin-top: 18px;
    line-height: 1.7;
  }

  hr {
    width: 85%;
    margin: 25px auto;
  }

  .social2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 12px;
  }

  .social2 img {
    width: 36px;
    height: 36px;
    margin-top: 0;
  }

  footer p {
    font-size: 14px;
    line-height: 1.7;
  }

}


@media(max-width: 440px){
  header{
  width: 97%;
  margin-left: -103px;
}

.cardgh{

  margin-left: 21px;
}
 footer {
    margin-top: 120px;
    padding: 28px 22px;
  }

  #finfo,
  #fcontato {
    position: static;
    width: 100%;
    text-align: center;
    margin: 24px 0;
  }

  #termos {
    margin-top: 16px;
    line-height: 1.6;
  }

  hr {
    width: 88%;
    margin: 22px auto;
  }

  .social2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 10px;
  }

  .social2 img {
    width: 34px;
    height: 34px;
    margin-top: 0;
  }

  footer p {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media(max-width: 420px){
  header{
  width: 97%;
  margin-left: -98px;
}

.cardgh{

  margin-left: 10px;
}
footer {
    margin-top: 120px;
    padding: 28px 20px;
  }

  #finfo,
  #fcontato {
    position: static;
    width: 100%;
    text-align: center;
    margin: 25px 0;
  }

  #termos {
    margin-top: 18px;
    line-height: 1.6;
  }

  hr {
    width: 90%;
    margin: 22px auto;
  }

  .social2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 12px;
  }

  .social2 img {
    width: 34px;
    height: 34px;
    margin-top: 0;
  }

  footer p {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media(max-width: 400px){
  header{
  width: 97%;
  margin-left: -92px;
}

.cardgh{
width: 97%;
  margin-left: 6px;
}
footer {
    margin-top: 120px;
    padding: 25px 18px;
  }

  #finfo,
  #fcontato {
    position: static;
    width: 100%;
    text-align: center;
    margin: 22px 0;
  }

  #termos {
    margin-top: 15px;
    line-height: 1.6;
  }

  hr {
    width: 90%;
    margin: 20px auto;
  }

  .social2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
  }

  .social2 img {
    width: 32px;
    height: 32px;
    margin-top: 0;
  }

  footer p {
    font-size: 13px;
    line-height: 1.6;
  }
}

