html, body {
    height: 100%;
}

body {
    background-image: url('../img/background.svg');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    #loading-frame,
    body {
        background: #ebf0ea !important;
    }
}

.background-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
}

#loading-frame {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    background-image: url('../img/background.svg');
    background-size: cover;
    opacity: 1;
    transition: opacity 0.25s 3s;
    -webkit-transition: opacity 0.25s 1.25s;
    -moz-transition: opacity 0.25s 1.25s;
    -o-transition: opacity 0.25s 1.25s;
}

#loading-img {
    width: 160px;
    height: 160px;
    background-image :url('../img/loading.png');
    background-size: contain;
    /*filter: brightness(85%) contrast(200%);*/
    opacity: 0.8;
    transition: opacity 0.25s 2.8s;
    -webkit-transition: opacity 0.25s 1s;
    -moz-transition: opacity 0.25s 1s;
    -o-transition: opacity 0.25s 1s;
    animation: loader 10s linear infinite;
}

@keyframes loader {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
        -moz-transform: rotate(359deg);
        -ms-transform: rotate(359deg);
    }
}

#loading-frame.loaded, #loading-frame.loaded #loading-img {
    opacity: 0;
    pointer-events: none;
}

.background-frame {
    position: absolute;
    background-image: url('../img/footer.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.background-frame.top-left {
    width: 35%;
    min-width: 350px;
    top: 0;
    left: 0;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.background-frame.bottom-right {
    width: 40%;
    min-width: 400px;
    bottom: 0;
    right: 0;
}

@keyframes wind {
    0% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg);
        -moz-transform: rotate(4deg);
        -ms-transform: rotate(4deg);
    }
    50% {
        -webkit-transform: rotate(-4deg);
       transform: rotate(-4deg);
       -moz-transform: rotate(-4deg);
       -ms-transform: rotate(-4deg);
    }
    100% {
        -webkit-transform: rotate(4deg);
       transform: rotate(4deg);
       -moz-transform: rotate(4deg);
       -ms-transform: rotate(4deg);
    }
}

.background-flower {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    /*filter: brightness(85%) contrast(200%);*/
}

.background-flower.top-right {
    width: 50%;
    min-width: 500px;
    top: -20px;
    right: -20px;
    transform-origin: 100% 0%;
    -webkit-transform-origin: 100% 0%;
    -moz-transform-origin: 100% 0%;
    -ms-transform-origin: 100% 0%;
    background-image: url('../img/flower.png');
    animation: wind 20s ease-out infinite;
}

.background-flower.bottom-left {
    width: 40%;
    min-width: 400px;
    bottom: -20px;
    left: -20px;
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    background-image: url('../img/flower-1.png');
    animation: wind 16s ease-out 1s infinite;
}

.video-player {
    position: relative;
    width: 60%;
    max-width: 1200px;
    min-width: 320px;
    margin: 0 10%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

video {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    visibility: visible;
    object-fit: cover;
}

@media all and (max-width: 999px) {
    .video-player {
        width: 100%;
    }
}