*{
  user-select: none;
  box-sizing: border-box;
}

html{
    color-scheme: dark;
}



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{
  
  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);
   opacity: 0;
  transform: translateX(-100px);
  animation: esquerda 1s ease forwards;

}
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);
}

#manu{
    position: fixed;
    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);
}





/* CONTAINER */
.cards {
  display: flex;
  justify-content: center;
  align-items: center; /* ← adicionado */
  margin-top: 100px;
  padding: 0 10px; /* ← evita estourar na lateral */
}

/* CARD */
.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;
}

/* FOTO PERFIL */
.card1 img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 20px auto;
  display: block;
  transition: 0.3s;
}

.card1 img:hover {
  transform: scale(1.1);
}

/* TEXTOS */
.card1 h1 {
  margin: 10px 0;
  font-size: 1.5rem;
  color: white; /* ← faltava, podia sumir */
}

.card1 h2 {
  color: white;
  font-size: 16px;
  margin: 5px 0;
}

.card1 #span1 {
  font-size: 12px;
  color: #ddd; 
}

.card1 .span2{
  font-size: 12px;
  color: #ddd;
  position: relative;
  top: -22px;
}
.card1 #span3{
  font-size: 12px;
  color: #ddd;
  position: relative;
  top: -22px;
}

.card1 #span4{
  font-size: 10px;
  color: #ddd;
margin-top: -100px;
 
}

/* ICONES SOCIAIS */
.social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; 
}

.social img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.social img:hover {
  transform: scale(1.2);
}



.spotify-card{
   opacity: 0;
  transform: translateX(-100px);
  animation: esquerda 1s ease forwards;
    display:flex;
    align-items:center;
    gap:15px;
    background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
    padding:15px;
    border-radius:24px;
    width:350px;
    position: relative;
    left: 770px;
    top: 35px;
}

.spotify-card img{
    width:70px;
    height:70px;
    border-radius:8px;
}

.spotify-card h3{
    margin:0;
    color:white;
    font-size:16px;
}

.spotify-card p{
    margin-top:5px;
    color:#aaa;
}

.spotify-status{
    display:block;
    font-size:12px;
    font-weight:600;
    color:#ffffff; /* verde Spotify */
    margin-bottom:4px;
    letter-spacing:1px;
}


.spotify-progress{
    width:100%;
    height:4px;
    background:#222;
    border-radius:999px;
    overflow:hidden;
    margin-top:8px;
}

#spotify-progress-bar{
    width:0%;
    height:100%;
    background:#1DB954;
    transition:width .5s linear;
}

.spotify-times{
    display:flex;
    justify-content:space-between;
    font-size:11px;
    color:#888;
    margin-top:4px;
}


.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;
  }

  .player {
    width: 96%;
  }

  header{
  width: 90%;
  margin-left: -155px;
}

.spotify-card{
  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: 390px){
  header{
  width: 97%;
  margin-left: -92px;
}

nav li a{
  margin-left: -30px;
  gap: 10px
}

.spotify-card{
  left: 40px;
  
}
  footer {
    margin-top: 120px;
    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;
}
.spotify-card{
  left: 70px;
  
}
  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;
}

.spotify-card{
  left: 45px;
  
}
 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;
}
.spotify-card{
  left: 35px;
  
}
 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;
}
.spotify-card{
  left: 25px;
  
}
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;
  }
}

