HTML {
    width: 100%;
    height: 100%;
    position: fixed;
}

BODY {
    width: 100%;
    height: 100%;
    background-color: #000;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

#preloadContainer{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#box{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 500%;
    height: 500%;
    margin: 0;
    padding: 0;
}

#preloaderBar {
    position: absolute;
    width: 51%;
    height: 51%;

    top:40%;
    left:50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);

    background: url('preloader_bar.png');
    background-position: 0 0;
    background-size: 600% 600%;

    visibility: hidden;
    pointer-events: none;
}

#dotsGray {
    position: absolute;
    width: 51%;
    height: 51%;
    
    top:40%;
    left:50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);

    background-image: url('dots_gray.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;

    visibility: hidden;
    pointer-events: none;
}

#logoPoweredByCulpeck {
    position: absolute;
    width: 45%;
    height: 20%;
    
    top:85%;
    left:50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);

    background-image: url('logo_powered_by_culpeck.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
    
    visibility: hidden;
    pointer-events: none;
}

#percentage {
    position: absolute;
    width: 13%;
    height: 8%;
    
    top:41%;
    left:50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    
    visibility: hidden;
    pointer-events: none;

    color: #00abbd;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.hideObject {
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-name: hideObject;
    animation-timing-function: step-end;
    animation-fill-mode: forwards;
}

.hideObjectDelayed {
    animation-delay: 0.2s;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-name: hideObject;
    animation-timing-function: step-end;
    animation-fill-mode: forwards;
}

@keyframes hideObject {
    0% { opacity: 1.0; -moz-opacity: 1.0; -khtml-opacity: 1.0; filter: alpha(opacity=100); }
    10% { opacity: 0.9; -moz-opacity: 0.9; -khtml-opacity: 0.9; filter: alpha(opacity=90); }
    20% { opacity: 0.8; -moz-opacity: 0.8; -khtml-opacity: 0.8; filter: alpha(opacity=80); }
    30% { opacity: 0.7; -moz-opacity: 0.7; -khtml-opacity: 0.7; filter: alpha(opacity=70); }
    40% { opacity: 0.6; -moz-opacity: 0.6; -khtml-opacity: 0.6; filter: alpha(opacity=60); }
    50% { opacity: 0.5; -moz-opacity: 0.5; -khtml-opacity: 0.5; filter: alpha(opacity=50); }
    60% { opacity: 0.4; -moz-opacity: 0.4; -khtml-opacity: 0.4; filter: alpha(opacity=40); }
    70% { opacity: 0.3; -moz-opacity: 0.3; -khtml-opacity: 0.3; filter: alpha(opacity=30); }
    80% { opacity: 0.2; -moz-opacity: 0.2; -khtml-opacity: 0.2; filter: alpha(opacity=20); }
    90% { opacity: 0.1; -moz-opacity: 0.1; -khtml-opacity: 0.1; filter: alpha(opacity=10); }
    100% { opacity: 0.0; -moz-opacity: 0.0; -khtml-opacity: 0.0; filter: alpha(opacity=0); display: none; }
}
