/* PRELOADER */

@font-face {
    font-family: MartaBold;
    src: url("/static/fonts/Marta_Bold.otf");
    font-display: swap;
}

.preloader {
    background-image: url("/static/img/preloader/wood-background.jpg");
    background-size: contain;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9999;
}


#myBar {
    font-size: 35em;
    color: #ffffff;
    backface-visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    width: 100vw;
    /* height: 52vh; */
    line-height: 100vh;
    text-align: center;
    z-index: 2;
    background-color: #f6edcd;
    background-image: url(/static/img/preloader/wood-background.jpg);
    background-repeat: repeat;
    transition-delay: 100ms;
    width: 100%;
    height: 100vh;
    position: fixed;
    padding: 0 0;
    font-family: MartaBold, Georgia, serif;
    font-weight: 900;
}

#myBar:before {
    content: '';
    position: fixed;
    top: -10px;
    background-position-y: 0;
    width: 100%;
    z-index: 3;
    height: 50%;
    left: 0;
    right: 0;
    margin: auto;
    background-image: url("/static/img/assets/top-frame.png");
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: contain;
}


#myBar:after {
    content: '';
    position: fixed;
    bottom: -10px;
    background-position-y: 0;
    width: 100%;
    z-index: 3;
    height: 50%;
    left: 0;
    right: 0;
    margin: auto;
    background-image: url("/static/img/assets/top-frame.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: center;
    transform: rotate(180deg);
}

#myProgress img {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.hide-preloader {
    display: none;
}

@media screen and (max-width: 1440px){
    #myBar {
        font-size: 25em;
    }

}
