@font-face {
  font-family: 'Minecraft';
  src: url('fonts/Minecraftia.ttf') format('truetype');
}

body,
html {
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-family: 'Minecraft', Arial, sans-serif;
  color: #ffffff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /*background: url('bg.jpg') no-repeat center center fixed;*/
  background-color: black;
  background-size: cover;
}

#container {
  width: 600px;
  max-width: 1000px;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 1s ease;
}

#container.show {
  opacity: 1;
  transform: translateY(0);
}

.profile img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  display: block;
  transition: transform 3.3s ease;
}

.social-links img {
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.social-links a:hover img {
  transform: scale(1.1);
}

@keyframes rainbow-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

#rainbow-text {
  font-size: 20px;
  font-weight: bold;
  background: linear-gradient(90deg, violet, indigo, blue, green, yellow, orange, red, violet);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 400% 400%;
  animation: rainbow-animation 5s ease infinite;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

#overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

#Black {
  color: black;
  height: 0px;
}