@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,800;1,800&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  background-image: url("./assets/pixel\ GIF.gif");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

a {
  text-decoration: none;
}

.bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.icon {
  width: 180px;
  border-radius: 100%;
  background: white;
  box-shadow: 0 0 20px white;
}

.title {
  color: white;
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 1000;
  font-style: italic;
}

.comentario {
  color: white;
  font-family: sans-serif;
}

.links {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.link {
  position: relative;
  width: 60px;
  height: 60px;
  list-style: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.link:hover {
  transform: scale(1.1);
}

.logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.disc_animation {
  display: flex;
  align-items: center;
  width: fit-content;
  transition: width 0.3s ease;
  overflow: hidden;
}

.icon_disc_animation {
  transition: transform 0.3s ease;
}

.discordName {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(0); /* começa escondido */
  transform-origin: left; /* expansão da esquerda */
  background-color: #5865f2;
  color: white;
  padding: 22px 20px 22px 34px;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  font-family: sans-serif;
  font-weight: 500;
  font-size: 14px;
  z-index: -1;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: flex;
}

.disc_animation:hover .icon_disc_animation {
  transform: rotate(360deg);
}

.disc_animation:hover .discordName {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
  left: 30px;
  max-width: 200px;
  border-radius: 0px 50px 50px 0px;
}

.copied-msg {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  background: #333;
  padding: 2px 6px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.show {
  opacity: 1;
}
