/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}


/* Text container styles */
.text-container {
    text-align: center;
    margin-top: 15px;
}

.rotating-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: #888888;
    min-height: 1.5rem;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    overflow: hidden;
}

/* Rolling text animation */
.text-rolling-out {
    transform: translateY(-100%);
    opacity: 0;
}

.text-rolling-in {
    transform: translateY(100%);
    opacity: 0;
}

.text-visible {
    transform: translateY(0);
    opacity: 1;
}

/* Illustration styles */
.illustration-container {
    margin: 40px 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.illustration {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    transition: transform 0.3s ease;
}

.illustration:hover {
    transform: scale(1.02);
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .rotating-text {
        font-size: 1rem;
    }
    
    .illustration {
        max-height: 300px;
    }
    
    .container {
        padding: 15px;
    }
    
    .content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .rotating-text {
        font-size: 0.9rem;
    }
    
    .illustration {
        max-height: 250px;
    }
}

/* Loading animation for the page */
body {
    animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}