* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: bold;
}

.colored_title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite;
}

p {
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.typing-container {
    max-width: 800px;
    margin: 40px auto;
    min-height: 350px;
    display: flex;
    justify-content: center;
}

#typing-paragraph {
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.cursor {
    color: #3b82f6;
    font-weight: bold;
    display: inline-block;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.shake-avatar {
    animation: avatarShake 0.6s ease;
}

@keyframes avatarShake {
    0%   { transform: translateX(0) rotate(0deg); }
    10%  { transform: translateX(-10px) rotate(-10deg); }
    20%  { transform: translateX(10px) rotate(10deg); }
    30%  { transform: translateX(-10px) rotate(-10deg); }
    40%  { transform: translateX(10px) rotate(10deg); }
    50%  { transform: translateX(-8px) rotate(-5deg); }
    60%  { transform: translateX(8px) rotate(5deg); }
    70%  { transform: translateX(-5px) rotate(-3deg); }
    80%  { transform: translateX(5px) rotate(3deg); }
    90%  { transform: translateX(-3px) rotate(-2deg); }
    100% { transform: translateX(0) rotate(0deg); }
}

@media (max-width: 768px) {
    .typing-container {
        min-height: 450px;
    }
}