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

body, html {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Dark background */
}

.name-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Ensure text is centered */
    height: 100%;
    animation: fadeInUp 2s ease forwards;
}

h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #f0f0f0; /* Light color for the text */
    letter-spacing: 0.1rem;
    line-height: 5rem; /* Adjusted line height */
    transform: scale(0.8);
    animation: scaleUp 1.5s ease-in-out forwards;
}

/* Fade in with upward movement */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scaling up animation */
@keyframes scaleUp {
    0% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive design for smaller devices */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem; /* Reduce font size on smaller screens */
        line-height: 3rem; /* Adjust line height for better spacing */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem; /* Further reduce font size for mobile screens */
        line-height: 2.5rem; /* Adjust line height for mobile */
    }
}
