@charset "utf-8";



#motif {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;

}

body.loaded #motif {
    opacity: 1;
    transition-duration: 1000ms;
    transition-property: opacity;
    transition-timing-function: linear;
}



#motif .inner {
    position: absolute;
    left: calc(50% - 1366px / 2 );
    top: calc(50% - 1366px / 2 );
    width: calc(1366px );
    height: calc(1366px );
}




#motif .backs {
    background-color: #D63F3C;
    background-size: cover;
    background-position: center center;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% );
    height: calc(100% );
    overflow: hidden;
}

#motif .backs .back {
    background-size: cover;
    background-position: center center;
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% );
    height: calc(100% );
}

#motif .backs .back .color {
    position: absolute;
    left: 50%;
    top: 50%;
    background-size: 100% 100%;
}


#motif .backs .back .color.green {
    background-image: url(../img/motif/green.png);
}

#motif .backs .back .color.pink {
    background-image: url(../img/motif/pink.png);
}

#motif .backs .back .color.red {
    background-image: url(../img/motif/red.png);
}

#motif .backs .back .color.orange {
    background-image: url(../img/motif/orange.png);
}




#motif .backs .back.scene1 {
    background-image: url(../img/motif/scene1_back.jpg);
}

#motif .backs .back.scene2 {
    background-image: url(../img/motif/scene2_back.jpg);
}

#motif .backs .back.scene3 {
    background-image: url(../img/motif/scene3_back.jpg);
}

#motif .backs .back.scene4 {
    background-image: url(../img/motif/scene4_back.jpg);
}

#motif .backs .back.scene5 {
    background-image: url(../img/motif/scene5_back.jpg);
}

#motif .backs .back.scene6 {
    background-image: url(../img/motif/scene6_back.jpg);
}

#motif .backs .back.scene7 {
    background-image: url(../img/motif/scene1_back.jpg);
}
#motif .backs .back.scene8 {
    background-image: url(../img/motif/scene1_back.jpg);
}







#motif .basearea {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    mix-blend-mode: screen;
    
}

#motif .base {
    position: absolute;
    left: 10px;
    top: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background-color: #fff;
    overflow: hidden;
}

#motif .bubbles {
    position: absolute;
    left: 50%;
    top: 50%;
}

#motif .bubble {
    position: absolute;
    left: 0;
    top: 0;
}

#motif .bubble svg {
    position: relative;

}
/* 
#motif .bubble {
   width: 100px;
   height: 100px;
   border-radius: 100%;
   background-color: #000;
} */







@media print,screen and (min-width: 851px) {

    #motif {
        filter: blur(24px);
    }

    body.loaded #motif {
        filter: blur(0);
        transition-property: filter, opacity;
    }

    #motif .inner {
        left: calc(50% - 1366px / 2 * 0.5 );
        top: calc(50% - 1366px / 2 * 0.5 );
        width: calc(1366px * 0.5);
        height: calc(1366px * 0.5 );
    }

    /* #motif .inner {
        left: calc(50% - 1366px / 2 *1 );
        top: calc(50% - 1366px / 2 * 1 );
        width: calc(1366px * 1);
        height: calc(1366px * 1 );
    }
     */



    #motif .base {
        /* filter: blur(36px) contrast(64); */
        /* filter: blur(16px) contrast(32); */
        filter: blur(24px) contrast(64);

    }

}


@media only screen and (max-width: 850px) {



    #motif {
        top: -10vh;
    }


    #motif .inner {
        /* left: calc(50% - 1366px / 2 * 0.275 );
        top: calc(50% - 1366px / 2 * 0.275 );
        width: calc(1366px * 0.275 );
        height: calc(1366px * 0.275 ); */

        left: calc(50% - 1366px / 2 * 0.25 );
        top: calc(50% - 1366px / 2 * 0.25 );
        width: calc(1366px * 0.25);
        height: calc(1366px * 0.25 );

        /* left: calc(50% - 1366px / 2 * 0.5 );
        top: calc(50% - 1366px / 2 * 0.5 );
        width: calc(1366px * 0.5);
        height: calc(1366px * 0.5 ) */
    }
    

    


    #motif .backs {
        left: 10px;
        top: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    #motif .base {
        /* filter: blur(8px) contrast(16); */

        /* filter: blur(16px) contrast(32); */

        filter: blur(10px) contrast(32);
    }



}