/*
 Theme Name:   Eduma Child
 Theme URI:    https://alfikracademy.local/eduma-child/
 Description:  Child theme for Eduma
 Author:       J. Ahmed
 Author URI:   https://alfikracademy.local
 Template:     eduma
 Version:      1.0
*/

/* Loading screen container */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* your original white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* SVG text stroke animation */
.loading-text text {
    font-size: 52px;
    font-family: 'Poppins', sans-serif; /* Changed to Poppins */
    stroke: #000000;        /* black stroke */
    stroke-width: 0.5px;
    fill: transparent;      /* start transparent */
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawText 3s linear forwards;
}

/* Stroke animation keyframes */
@keyframes drawText {
    to {
        stroke-dashoffset: 0;
        fill: #A0BC3B; /* black fill */
    }
}

* Responsive adjustments */
@media (max-width: 768px) {
    .loading-text {
        font-size: 48px; /* Reduce size on tablets */
    }
}

@media (max-width: 480px) {
    .loading-text {
        font-size: 32px; /* Further reduce on mobile */
    }
}
