@import url('../basic.css');

#the-preloader-element .typing-effect_preloader-template,
#the-preloader-element .typing-cursor_preloader-teffect {
    font-size: 16px;
    line-height: 1;
    font-family: monospace;
}

.typing-effect_preloader-template {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    color: #3498db;
    animation: typing_effect_preloader_animation 4.5s steps(25) infinite;
}

.typing-cursor_preloader-teffect {
    display: inline-block;
    color: #3498db;
    font-weight: bold;
    margin-left: 2px;
    font-size: 16px;
    line-height: 1;
    animation: te_cursor_preloader_animation 1s step-end infinite alternate;
}

@keyframes typing_effect_preloader_animation {
    0% { 
        max-width: 0; 
    }
    20% { 
        max-width: 100%; 
    }
    80% { 
        max-width: 100%; 
    }
    90% { 
        max-width: 0; 
    }
    100% { 
        max-width: 0; 
    }
}

@keyframes te_cursor_preloader_animation {
    50% { 
        opacity: 0; 
    }
}

@media (max-width: 580px) {
    #the-preloader-element .typing-effect_preloader-template{
        font-size: 2.55vh;
    }
    #the-preloader-element .typing-cursor_preloader-teffect{
        font-size: 2.55vh;
    }
}

@media (max-width: 480px) {
    #the-preloader-element .typing-effect_preloader-template{
        font-size: 2.25vh;
    }
    #the-preloader-element .typing-cursor_preloader-teffect{
        font-size: 2.25vh;
    }
}

@media (max-width: 420px) {
    #the-preloader-element .typing-effect_preloader-template{
        font-size: 2vh;
    }
    #the-preloader-element .typing-cursor_preloader-teffect{
        font-size: 2vh;
    }
}

@media (max-width: 370px) {
    #the-preloader-element .typing-effect_preloader-template{
        font-size: 1.6vh;
    }
    #the-preloader-element .typing-cursor_preloader-teffect{
        font-size: 1.6vh;
    }
}