* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-self: center;
  align-items: center;
  background: #03020A;
  color: #e6f7ff;
  font-family: monospace;
}

.profile {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-width: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
  background: radial-gradient(
    ellipse,
    #8c58d159,
    transparent 75%
  );
}

h1 {
    color: #e4c3ff;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #8b5cf6;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #7c3aed;
}

#backGraund {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  
   transform: translate3d(
    var(--move-x, 0px),
    var(--move-y, 0px),
    0
  ) scale(1.5);

  transition: transform 0.15s ease-out;
  will-change: transform;
}

.code-line {
  position: absolute;
  white-space: pre;
  overflow: hidden;
  max-width: 90vw;
  width: 0;
  color: #d400ff;
  opacity: 0;
  font-size: 10px;
  text-shadow: 0 0 8px currentColor;
  animation:
    appear 0.6s ease forwards,
    typing var(--duration) steps(var(--chars)) forwards,
    disappear 2s ease var(--end) forwards;
}

@keyframes appear {
  to { opacity: var(--opacity); }
}

@keyframes typing {
  from { width: 0; }
  to { width: var(--width); }
}

@keyframes disappear {
  to { opacity: 0; }
}

.profile h1 {
  font-size: 50px;
  margin: 10px 0 20px;
  text-shadow: 0 0 25px #bb00ff55;
  font-family: Playfair Display;
}

.profile h1 span {
  color: #e4c3ff;
  animation: blink 1.5s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .code-line,
  .profile h1 span {
    animation: none;
  }

  .code-line {
    opacity: 0.15;
  }
}

.border {
  display: flex;
  flex-direction: column;
  background-color: #d2aaff4c;
  border: 1px solid #e4c3ff;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin-top: 50px;
  max-width: 100vw;
  width: 40vh;
  min-width: 350px;
  min-height: 50px;
}

.stackpanel {
  display: flex;
  flex-direction: row;
}

div img {
  object-fit: contain
}

.border p {
  margin: 0;
  font-size: 16px;
}

.socials {
  margin-top: 10px;
  padding: 0;
}

.socials img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.socials a {
    color: #e4c3ff;
    backdrop-filter: blur(1px);
    text-decoration: none;
    font-size: large;
    font-weight: bold;
    max-width: 100vw;
    border-radius: 10px;
    width: 40vh;
    height: 5vh;    
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
  -webkit-tap-highlight-color: transparent;
}

.socials a:hover {
    color: #ddccff;
    background: rgba(74, 44, 107, 0.3);
}