html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-image: url(background.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-clip: border-box;
    background-position: bottom;
    background-size: cover;
    background-color: #000E29;
}

#logo {
    position: fixed;
    height: 12vh;
    left: 50vw;
    top: 12vh;
    fill: #fff;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#container {
    background-color: #0000007f;
    position: fixed;
    height: 80vh;
    width: 90vw;
    left: 50%;
    top: 12vh;
    border-radius: 2vh;
    backdrop-filter: blur(2vh);
    -webkit-backdrop-filter: blur(2vh);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    font-family: "JetBrains Mono", monospace;
    gap: 3vh;
}

.name {
    font-weight: 800;
    font-size: clamp(28px, 6vw, 64px);
    letter-spacing: 0.02em;
    min-height: 1.2em;
    line-height: 1.2em;
}

.medium {
    font-weight: 600;
    font-size: clamp(16px, 3.2vw, 32px);
    opacity: 0.95;
    min-height: 1.2em;
    line-height: 1.2em;
}

.small {
    font-weight: 500;
    font-size: clamp(14px, 2.4vw, 22px);
    opacity: 0.9;
    min-height: 1.2em;
    line-height: 1.2em;
}

.cursor::after {
    content: "";
    display: inline-block;
    width: 0.12em;
    height: 1em;
    margin-left: 0.08em;
    vertical-align: -0.2em;
    background: currentColor;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.dots::after {
  content: '';
  animation: dots 4s steps(4, end) 6.4s infinite;
}

@keyframes dots {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}
