@use "../abstracts/mixins";
@use "../abstracts/variables";

.loadingScreen{
    position: fixed;
    z-index: 1000;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;

    &::before{
        content: "";
        position: absolute;
        z-index: 0;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #232323;
    }

    &_inner{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    &_pct{
        position: relative;
        text-align: center;
        color: variables.$cPrimary;
        font-family: variables.$ffC;
        @include mixins.fontSize(350,200);
        letter-spacing: -0.05em;
        padding: 8vh 0;
        width: 600px;
        // border-top: 2px solid $cLight;
        // border-bottom: 2px solid $cLight;

        @include mixins.respondTo('xs'){
            width: 90%;
            @include mixins.fontSize(140,140);
        }

        &_icon{
            position: absolute;
            top: 8vh; right: 100%; 
            transform: scale(0.8);
            color: variables.$cLight;
        }
    }

    &_progress{
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 10px;
        transform: scaleX(0);
        transform-origin: center left;
        background: variables.$cPrimary;
    }
}