/* General body background and font settings */
body {
    background-color: #f2f2f2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    padding: 30px;
}

/* Main paragraph styling */
.main-paragraph {
    font-size: 18px;
    color: #333;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    width: 60%;
    margin: 20px auto;
    font-variant: small-caps;
}

/* Subheading style with advanced font-variant */
.fancy-heading {
    font-size: 24px;
    font-variant: petite-caps;
    color: #004080;
    margin-bottom: 15px;
}

/* Heading with animation */
.animated-heading {
    font-size: 32px;
    color: #008080;
    transition: transform 0.5s ease;
    animation: slideIn 2s ease-out;
}

/* Transform on hover */
.animated-heading:hover {
    transform: scale(1.1);
}

/* Keyframes for animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Comment: This stylesheet demonstrates text styling, background color, font options, transform, transition, and animation */
