﻿
.background {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: center;
    justify-items: center;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background-image: linear-gradient(to bottom right, white 0%, #b9e6fa 60%);
    opacity: 0.9;
    height: 100lvh;
}

    .background img {
        position: absolute;
        top: 0;
        inset-inline-end: 0;
        width: 100%;
        height: 100lvh;
        object-fit: cover;
        transform-origin: center;
        opacity: 0.7;
    }



.bottom-1 {
    /*    animation: float 6s infinite;
*/
}

.bottom-right-1 {
    /*    animation: scale 2s infinite infinite;
*/
}

.bottom-right-2 {
    /*    animation: scale 8s ease-in-out infinite;
*/
}
/*
.bottom-right-3 {
    animation: scale 10s ease-in-out infinite;
}*/

.top-right-1 {
/*    animation: float 5s infinite;
*/}

.top-left-1 {
    /*    animation: float 12s ease-in-out infinite;
*/
    z-index: 2;
}

.top-left-2 {
    /*    animation: scale 14s ease-in-out infinite;
*/
}

.bottom-left-1 {
    /*    animation: fade 15s linear infinite;
*/
    opacity: 0.6 !important;
}

.bottom-left-2 {
/*    animation: fade 7s infinite;
*/}

.bottom-left-3 {
    /*    animation: fade 7s infinite;
*/
}

.ball-1 {
    /*    animation: fade 9s ease-in-out infinite;
*/
}

.ball-2 {
    /*    animation: scale 11s ease-in-out infinite;
*/
    opacity: 0.3!important;
}

.ball-3 {
    /*    animation: float 6s infinite;
*/
}

.rectangle {
    /*    animation: scale 9s linear infinite;
    opacity: 0.3;*/
    opacity: 0.5 !important;
}



@media (prefers-reduced-motion: reduce) {
    .bg-img {
        animation: none;
    }
}



@media (max-width: 567px) {

    .bottom-right-1,
    .bottom-right-2,
    .top-left-1,
    .top-left-2,
    .bottom-left-1,
    .ball-1,
    .ball-2,
    .ball-3,
    .rectangle {
        display: none;
        animation: none;
    }

    .bottom-1,
    .bottom-left-3,
    .bottom-right-3,
    .bottom-left-2,
    .top-right-1 {
        animation: none;
    }
}
