/* Reset and Box-Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body Styles */
body {
    background: linear-gradient(135deg, #835b9b, #493157);
    font-family: 'Roboto', sans-serif;
    color: #edf398;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container for Content */
.container {
    background: #835b9b;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1s ease-in;
}

/* Header Styles */
header h1 {
    font-weight: 900;
    text-align: center;
    font-size: 2.5rem;
    color: #ff6363;
    margin-bottom: 20px;
}

/* Name Card Styles */
.name-card {
    background: #a259cc;
    border: 1px solid #ffb3b3;
    border-radius: 8px;
    margin: 10px 0;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0;
    transform: translateY(10px);
}

.name-card.show {
    opacity: 1;
    transform: translateY(0);
}

title {
    text-align: center;
    width:100%;
    clear:both;
    margin: 50%;
    display: block;
}

/* Button Styling */
button {
    display: block;
    margin: 20px auto;
    background-color: #ff6363;
    color:  #edf398;
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #ff4c4c;
    transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .name-card {
        font-size: 1rem;
    }
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}