/* **************** File name: logo.css **************** */

.logo {
    position: fixed;
    top: 20px; /* Distance from the top of the viewport */
    left: 30px; /* Distance from the left of the viewport */
    font-size: 24px; /* Size of the logo */
    color: var(--clr-txt-1); /* Consistent color variable */
    font-weight: bold; /* Ensures visibility */
    z-index: 1050; /* Above most content */
}

.logo span {
    opacity: 0; /* Start with hidden letters */
    display: inline-block; /* Each letter aligned inline */
    transform-origin: center center; /* Center the scaling origin */
    animation: fadeIn 0.8s ease forwards, pulse 3s ease-in-out infinite 1s; /* Fade in and then start pulsing */
}

/* ---- Keyframes for fadeIn Animation ---- */
@keyframes fadeIn {
    to { opacity: 1; }
}

/* ---- Keyframes for subtle pulsing effect with size change ---- */
@keyframes pulse {
    0%, 100% {
        opacity: 0.05;
        transform: scale(0.8); /* Normal size */
    }
    50% {
        opacity: 0.6; /* Slightly lower opacity for smoothness */
        transform: scale(1.1); /* Very subtle enlargement */
    }
}

/* ---- Animation Delays for Each Letter ---- */
.logo span:nth-child(1) { animation-delay: 0.5s; }
.logo span:nth-child(2) { animation-delay: 0.6s; }
.logo span:nth-child(3) { animation-delay: 0.7s; }
.logo span:nth-child(4) { animation-delay: 0.8s; }
.logo span:nth-child(5) { animation-delay: 0.9s; }
.logo span:nth-child(6) { animation-delay: 1s; }



/* ++++++++++++++++ file end here ++++++++++++++++ /*