/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Blocksy Child Theme
Author: CreativeThemes
Author URI: https://creativethemes.com/
Template: blocksy
Version: 1.0.0
*/

/* --- Preloader Styles --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease-in-out;
}

.preloader img {
    max-width: 300px;
    height: auto;
}

.loading-text {
    font-family: 'Copperplate Gothic Bold', sans-serif;
    font-size: 18px;
    margin-top: 5px;
    color: #333;
    animation: pulse 1.5s infinite;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- Keyframes for Preloader and Logo Animations --- */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- Logo Animation Styles --- */
.logo-breath {
    animation: pulse 1.5s infinite;
}

/* --- Typing Animation Styles --- */
#typing-text {
    font-family: 'Oswald', sans-serif;
}

.typing-container {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    width: 0;
    animation: typing 3s steps(30, end) forwards,
               blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: black; }
}

/* --- Mobile Layout Styles --- */
@media (max-width: 767px) {
    /* The parent container will display its children as a horizontal row */
    .mobile-flex-container {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }

    /* Each child container takes up half the width */
    .mobile-flex-item {
        width: 50% !important;
    }
}