/* mudando o background pra teste do link */

body {
  background-color: black;
  color: rgb(255, 255, 255);
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  flex-direction: column;
  color: rgb(149, 181, 187);
}
h2 {
  font-size: 32px;
  font-weight: normal;
}

h1 {
  font-size: 70px;
  font-weight: normal;
  color: rgb(149, 181, 187);
  transition: font-size 0.7s ease;
  opacity: 1;
  cursor: pointer;
}
h1:hover {
  font-size: 85px;
  font-weight: normal;
  color: rgb(149, 181, 187);
  transition: font-size 0.7s ease, text-shadow 0.7s ease;
  text-shadow: 0px 0px 50px white;
}

h1.class {
  opacity: 0;
  transition: opacity 0.5s ease;
}
#sobremim {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  color: white;
}
.invisivel {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

#sobremim.visivel {
  font-size: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centraliza verticalmente */
  align-items: center; /* centraliza horizontalmente */
  text-align: justify;
  position: fixed; /* fixa o bloco no centro da tela */
  top: 50%; /* move pro meio vertical */
  left: 50%; /* move pro meio horizontal */
  transform: translate(-50%, -50%); /* centraliza de verdade */
  width: 90%; /* margem lateral confortável */
  max-width: 900px; /* limita pra não ficar muito largo */
  height: auto; /* deixa a altura do conteúdo natural */
  z-index: 1;
  opacity: 1;
  pointer-events: all;
  color: white;
  transition: opacity 2s ease;
  white-space: normal;
  line-height: 1.6;
}

#texto2 {
  font-size: 35px;
}

.social-icons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px; /* espaço entre os ícones */
  opacity: 0;
  transition: opacity 1s ease;
}

.social-icons.mostrar {
  opacity: 1;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px; /* tamanho do contêiner */
  height: 70px;
}

.social-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* mantém proporção da imagem */
  filter: brightness(0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover suave */
.social-icons img:hover {
  filter: brightness(1) invert(1);
  transform: scale(1.1);
}

/* esconde scroll do HTML */
html {
  scrollbar-width: none; /* Firefox */
}

/* esconde scroll do BODY */
body {
  scrollbar-width: none; /* Firefox */
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/*   MOBILE REFINADO (até 768px) */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  header {
    height: 90vh;
    padding: 0 20px;
    text-align: center;
  }

  h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  h1:hover {
    font-size: 42px;
  }

  h2 {
    font-size: 20px;
    margin-top: 10px;
  }

  #sobremim.visivel {
    font-size: 18px;
    padding: 0 25px;
    text-align: center;
    white-space: normal;
    line-height: 1.6;
  }

  #texto1 {
    max-width: 90%;
    margin: 0 auto;
  }

  #texto2 {
    font-size: 20px;
    margin-top: 20px;
  }

  .social-icons {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
  }

  .social-icons img {
    width: 100%;
    height: 100%;
    filter: brightness(0.8);
    transition: all 0.3s ease;
  }

  .social-icons img:hover {
    filter: brightness(1.2) invert(1);
    transform: scale(1.1);
  }
}
