.page-loader {
    content: '';
    background: -moz-linear-gradient(-65deg, var(--primary-color), var(--secondary-color) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, var(--primary-color)), color-stop(100%, var(--secondary-color)));
    background: -webkit-linear-gradient(-65deg, var(--primary-color) 0, var(--secondary-color) 100%);
    background: -o-linear-gradient(-65deg, var(--primary-color) 0, var(--secondary-color) 100%);
    background: -ms-linear-gradient(-65deg, var(--primary-color) 0, var(--secondary-color) 100%);
    background: linear-gradient(154deg, var(--primary-color) 0, var(--secondary-color) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='var(--primary-color)', endColorstr='var(--secondary-color)', GradientType=1);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
}

.page-loader>.custom-preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* sugar cube */

.page-loader>.custom-preloader>span {
    position: relative;
}

.page-loader>.custom-preloader>span:before, .page-loader>.custom-preloader>span:after {
    content: '';
    position: relative;
    display: block;
}

.page-loader>.custom-preloader>span:before {
    content: '\f2e7';
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: spinner 2.5s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 5px;
}

.page-loader span:after {
    animation: spinner-shadow 2.5s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
    bottom: -30px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
}

@keyframes spinner {
    50% {
        border-radius: 50%;
        background: #ffffff;
        transform: scale(0.5) rotate(360deg);
    }
    100% {
        background: #ffffff;
        transform: scale(1) rotate(720deg);
    }
}

@keyframes spinner-shadow {
    50% {
        transform: scale(0.5);
        background-color: rgba(0, 0, 0, 0.1);
    }
}

/* sugar cube */

/* 3d cube */

.scene {
    width: 100px;
    height: 100px;
    perspective: 400px;
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-50px);
    transition: transform 1s;
    animation: spinCube 4s linear infinite;
}

.cube__face {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid #6F6F6F;
    line-height: 100px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.cube__face--front {
    background: hsla( 0, 0%, 100%, 0.5);
}

.cube__face--right {
    background: hsla( 0, 0%, 100%, 0.5);
}

.cube__face--back {
    background: hsla(0, 0%, 100%, 0.5);
}

.cube__face--left {
    background: hsla(0, 0%, 100%, 0.5);
}

.cube__face--top {
    background: hsla(0, 0%, 100%, 0.5);
}

.cube__face--bottom {
    background: hsla(0, 0%, 100%, 0.5);
}

.cube__face--front {
    transform: rotateY( 0deg) translateZ(50px);
}

.cube__face--right {
    transform: rotateY( 90deg) translateZ(50px);
}

.cube__face--back {
    transform: rotateY(180deg) translateZ(50px);
}

.cube__face--left {
    transform: rotateY(-90deg) translateZ(50px);
}

.cube__face--top {
    transform: rotateX( 90deg) translateZ(50px);
}

.cube__face--bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

@keyframes spinCube {
    0% {
        transform: translateZ(-100px) rotateX( 0deg) rotateY( 0deg);
    }
    100% {
        transform: translateZ(-100px) rotateX(360deg) rotateY(360deg);
    }
}

/* 3d cube */

/* clouds */

#clouds {
    padding: 100px 0;
    background: #c9dbe9;
    background: -webkit-linear-gradient(top, #c9dbe9 0%, #fff 100%);
    background: -linear-gradient(top, #c9dbe9 0%, #fff 100%);
    background: -moz-linear-gradient(top, #c9dbe9 0%, #fff 100%);
}

/*Time to finalise the cloud shape*/

.cloud {
    width: 200px;
    height: 60px;
    background: #fff;
    border-radius: 200px;
    -moz-border-radius: 200px;
    -webkit-border-radius: 200px;
    position: relative;
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background: #fff;
    width: 100px;
    height: 80px;
    position: absolute;
    top: -15px;
    left: 10px;
    border-radius: 100px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    -moz-transform: rotate(30deg);
}

.cloud:after {
    width: 120px;
    height: 120px;
    top: -55px;
    left: auto;
    right: 15px;
}

/*Time to animate*/

.x1 {
    -webkit-animation: moveclouds 15s linear infinite;
    -moz-animation: moveclouds 15s linear infinite;
    -o-animation: moveclouds 15s linear infinite;
    animation: moveclouds 15s linear infinite;
}

/*variable speed, opacity, and position of clouds for realistic effect*/

.x2 {
    left: 200px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.6;
    /*opacity proportional to the size*/
    /*Speed will also be proportional to the size and opacity*/
    /*More the speed. Less the time in 's' = seconds*/
    -webkit-animation: moveclouds 25s linear infinite;
    -moz-animation: moveclouds 25s linear infinite;
    -o-animation: moveclouds 25s linear infinite;
    animation: moveclouds 25s linear infinite;
}

.x3 {
    left: -250px;
    top: -200px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.8;
    /*opacity proportional to the size*/
    -webkit-animation: moveclouds 20s linear infinite;
    -moz-animation: moveclouds 20s linear infinite;
    -o-animation: moveclouds 20s linear infinite;
    animation: moveclouds 20s linear infinite;
}

.x4 {
    left: 470px;
    top: -250px;
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    transform: scale(0.75);
    opacity: 0.75;
    /*opacity proportional to the size*/
    -webkit-animation: moveclouds 18s linear infinite;
    -moz-animation: moveclouds 18s linear infinite;
    -o-animation: moveclouds 18s linear infinite;
    animation: moveclouds 18s linear infinite;
}

.x5 {
    left: -150px;
    top: -150px;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.8;
    /*opacity proportional to the size*/
    -webkit-animation: moveclouds 20s linear infinite;
    -moz-animation: moveclouds 20s linear infinite;
    -o-animation: moveclouds 20s linear infinite;
    animation: moveclouds 20s linear infinite;
}

@keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }
    100% {
        margin-left: -1000px;
    }
}

@-webkit-keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }
    100% {
        margin-left: -1000px;
    }
}

@-moz-keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }
    100% {
        margin-left: -1000px;
    }
}

@-o-keyframes moveclouds {
    0% {
        margin-left: 1000px;
    }
    100% {
        margin-left: -1000px;
    }
}

/* clouds */
