* {
  
  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);
  
}

#linkprojetos{
   background: rgba(114, 114, 114, 0.15);
  backdrop-filter: blur(15px);

}

#manu{
    position: fixed;
    
  z-index: 9999;
    top: 20px;
    right: 20px;

    background: #ff3b3b;
    color: white;

    padding: 14px 20px;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 500;

    opacity: 0;
    transform: translateX(100px);

    transition: all 0.4s ease;

    pointer-events: none;

    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#manu.show{
    opacity: 1;
    transform: translateX(0);
}

.cardgh{
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
    width: 400px;
    height: 80px;
    margin-top: 30px;
    margin-left: 750px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  opacity: 0;
  transform: translateX(-100px);
  animation: esquerda 1s ease forwards;
}

.cardgh h3{
  color: rgb(197, 196, 196);
}


.cards{
    opacity: 0;
  transform: translateX(-100px);
  animation: esquerda 1s ease forwards;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 80px;
    
}
.card a{
  list-style: none;
  text-decoration: none;
}
.card{
 
    background-color: #fff;
    width: 250px;
    height: 330px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  transition: 0.3s;
}
.card:hover{
  cursor:pointer;
  transform: scale(1.2);
}


.card img{
    border-radius: 12px 12px 0 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.card h1{
    display: flex;
    font-size: 1.0rem;
    justify-content: center;
    color: white;
}


.card h2{
  display: flex;
  justify-content: center;
  align-items: center;
    position: relative;
    left: 1px;
    top: -10px;
    font-size: .6rem;
    color: #ccccccaa;
}
.card .h22{
  margin-top: -10px;
}

/* 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: 700px;
  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;
    flex-direction: column;
        align-items: center;
        gap: 25px; 
  }

 header{
  width: 90%;
  margin-left: -149px;
}

.cardgh{

  margin-left: 205px;
}
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: 480px){
   header{
  width: 97%;
  margin-left: -110px;
}

.cardgh{

  margin-left:40px;
}
 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: 390px){
  header{
  width: 97%;
  margin-left: -92px;
}


.cardgh{
width: 96%;
  margin-left: 9px;
}
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: 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;
  }
}



