@keyframes size {
    from {
        transform: scale(0.25);
    }
    to {
        transform: scale(1);
    }
}
@keyframes color1 {
    0%, 10% {
        left: -100%;
    }
    20%, 80% {
        left: 0%;
    }
    90%, 100% {
        left: -100%;
    }
}
@keyframes color2 {
    0%, 15% {
        left: -100%;
    }
    25%, 75% {
        left: 0%;
    }
    85%, 100% {
        left: -100%;
    }
}
@keyframes color3 {
    0%, 20% {
        left: -100%;
    }
    30%, 70% {
        left: 0%;
    }
    80%, 100% {
        left: -100%;
    }
}

#main_loader {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #000;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: opacity 0.5s;
    transition-delay: 0.5s;
}
#main_loader.done {
    opacity: 0;
}
#logo_container {
    margin: auto;
    position: absolute;
    overflow: hidden;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 320px;
    height: 320px;
    text-align: center;
    transform: scale(0.25);
}
#main_loader.loaded #logo_container {
    animation: size 0.5s linear;
    transform: none;
}
#logo_bg_container {
    width: 100%;
    height: 100%;
    background: #000;
}
#main_loader.loaded #logo_bg_container {
    background: #595959;
}
#logo_loader {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
}
.effect_logo {
    background: #FFF;
    position: absolute;
    width: 320px;
    height: 70px;
    left: -100%;
    top: 0px;
    transition: left 1s;
    z-index: 1;
}
#effect_logo_2 {
    top: 125px;
}
#effect_logo_3 {
    top: 250px;
}
#main_loader.loaded .effect_logo {
    animation-name: color1;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
}
#main_loader.loaded #effect_logo_2 {
    animation-name: color2;
}
#main_loader.loaded #effect_logo_3 {
    animation-name: color3;
}