/* CSS DOCUMENT */

/* NOEL */
#snow-container,
#guirlande,
#santa,
#sapin-gauche,
#sapin-droite
{
    pointer-events:none;
}

#snow-container
{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:5;
}

.snowflake
{
    position:fixed;

    color:#ffcc00;

    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 15px #ffd700,
        0 0 25px #ffd700;

    font-weight:bold;

    animation:snowfall linear infinite;
}

@keyframes snowfall
{
    from
    {
        transform:translateY(-20px);
    }

    to
    {
        transform:translateY(110vh);
    }
}

#sapin-gauche
{
    position:fixed;
    left:0;
    bottom:0;
    width:120px;
    z-index:6;
}

#sapin-droite
{
    position:fixed;
    right:0;
    bottom:0;

    width:150px;

    z-index:-1;

    pointer-events:none;

    opacity:0.85;
}

#santa
{
    position: fixed;
    left: -350px;
    bottom: 30px;
    width: 250px;
    z-index: 15;
}

@keyframes santaRide
{
    from
    {
        left:-350px;
    }

    to
    {
        left:110%;
    }
}

#guirlande
{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    text-align:center;
    z-index:20;
    padding:10px 0;
}

.ampoule
{
    display:inline-block;
    width:14px;
    height:14px;
    border-radius:50%;
    margin:0 15px;
    animation:blink 1s infinite alternate;
}

.rouge { background:#ff0000; }
.verte { background:#00cc00; }
.bleue { background:#0099ff; }
.jaune { background:#ffff00; }

@keyframes blink
{
    from
    {
        opacity:0.4;
    }

    to
    {
        opacity:1;
        box-shadow:0 0 15px currentColor;
    }
}

/* NOUVEL AN */

#bonne-annee
{
    position:fixed;
    top:15%;
    left:50%;

    transform:translateX(-50%);

    font-size:48px;
    font-weight:bold;
    color:#FFD700;

    z-index:100;
    pointer-events:none;

    text-shadow:
        0 0 10px #ffffff,
        0 0 20px #FFD700,
        0 0 40px #FFD700;

    animation:
        pulseBonneAnnee 3s ease-in-out infinite,
        glowBonneAnnee 2s linear infinite;
}

@keyframes pulseBonneAnnee
{
    0%
    {
        transform:translateX(-50%) scale(1);
    }

    50%
    {
        transform:translateX(-50%) scale(1.08);
    }

    100%
    {
        transform:translateX(-50%) scale(1);
    }
}

@keyframes glowBonneAnnee
{
    0%
    {
        text-shadow:
            0 0 10px #ffffff,
            0 0 20px #FFD700,
            0 0 40px #FFD700;
    }

    50%
    {
        text-shadow:
            0 0 15px #ffffff,
            0 0 30px #FFD700,
            0 0 60px #FFD700,
            0 0 80px #FFA500;
    }

    100%
    {
        text-shadow:
            0 0 10px #ffffff,
            0 0 20px #FFD700,
            0 0 40px #FFD700;
    }
}

.firework
{
    position:fixed;
    z-index:50;
    pointer-events:none;

    animation:explode 2s linear forwards;
}

@keyframes explode
{
    from
    {
        transform:scale(0);
        opacity:1;
    }

    to
    {
        transform:scale(5);
        opacity:0;
    }
}

/*************************************************
 *  BANDEAU HALLOWEEN
 *************************************************/
#bandeau_halloween
{
    position:fixed;
    top:15%;
    left:50%;
    transform:translateX(-50%);    z-index: -1;
}

/*************************************************
 * CITROUILLES
 *************************************************/

#citrouille-gauche
{
    position:fixed;
    bottom:0;
    left:0;
    width:140px;
    z-index:-1;
    pointer-events:none;
    filter:
        drop-shadow(0 0 10px orange)
        drop-shadow(0 0 20px darkorange);
}

#citrouille-droite
{
    position:fixed;
    bottom:0;
    right:0;
    width:140px;
    z-index:-1;

    pointer-events:none;

    filter:
        drop-shadow(0 0 10px orange)
        drop-shadow(0 0 20px darkorange);
}

/*************************************************
 * SORCIERE
 *************************************************/

#wizard
{
    position:fixed;
    top:120px;
    left:-450px;
    width:250px;
    z-index:25;
    pointer-events:none;
}

/*************************************************
 * CHAUVES SOURIS
 *************************************************/

.bat
{
    position:fixed;
    left:-150px;
    z-index:20;
    opacity:.9;
    pointer-events:none;
}

/*************************************************
 * ANIMATIONS
 *************************************************/

@keyframes spiderMove
{
    0%
    {
        top:-120px;
    }

    40%
    {
        top:120px;
    }

    60%
    {
        top:120px;
    }

    100%
    {
        top:-120px;
    }
}

@keyframes witchRide
{
    from
    {
        left:-450px;
    }

    to
    {
        left:110%;
    }
}

@keyframes batFlight
{
    from
    {
        left:-150px;
    }

    to
    {
        left:110%;
    }
}

@keyframes batFlap
{
    0%
    {
        transform:scaleY(1);
    }

    50%
    {
        transform:scaleY(0.8);
    }

    100%
    {
        transform:scaleY(1);
    }
}

/*************************************************
 *  BANDEAU 14 Juillet
 *************************************************/
#banniere_14_juillet
{
    position: fixed;
    top: 12%;
    left: 50%;

    transform:translateX(-50%);    
    z-index: -1;
    
}
/*************************************************
 *  Drapeau Français animé
 *************************************************/
#drapeau_gauche
{
    position: fixed;
    top: 15%;
    left: 17%;
    z-index: -1;
    height: 20%;
}

#drapeau_droite
{
    position: fixed;
    top: 15%;
    right: 10%;
    z-index: -1;
    height: 20%;
}

/*************************************************
 * Ballons
 *************************************************/
.ballon
{
    position:fixed;
    bottom:0;
    left:100px;
    width:150px;
    z-index: 99999;
    animation:ballonMonte 15s linear forwards;
}

@keyframes ballonMonte
{
    from
    {
        bottom:0;
    }

    to
    {
        bottom:120vh;
    }
}

/*************************************************
 * PAQUES
 * LAPINS
 *************************************************/

#lapin-gauche
{
    position:fixed;
    left:270px;
    bottom: 50px;
    width:140px;
    z-index:-1;
    pointer-events:none;
}

#lapin-haut
{
    position:fixed;
    right: 175px;
    top: 125px;
    width:140px;
    z-index:-1;
    pointer-events:none;    
}

/*************************************************
 * OEUFS
 *************************************************/
#oeuf-droite
{
    position:fixed;
    right: 185px;
    bottom: 50px;
    width:140px;
    z-index:-1;
    pointer-events:none;    
}

#bandeau_paques
{
    position:fixed;
    top:-35px;
    left:50%;
    transform:translateX(-50%);    
    z-index: -1;
    pointer-events:none;
}

/*************************************************
 * CLOCHE
 *************************************************/
#cloche
{
    position:fixed;
    top:120px;
    left:-450px;
    width:150px;
    z-index:25;
    pointer-events:none;
}


@keyframes AnimationCloche
{
    from
    {
        left:-450px;
    }

    to
    {
        left:110%;
    }
}

/*************************************************
 * 1ER MAI
 *************************************************/
#muguet-gauche
{
    position:fixed;
    left: 260px;
    bottom: 100px;
    width: 185px;
    z-index:-1;
    pointer-events:none;    
}


#muguet-haut-droite
{
    position:fixed;
    right: 185px;
    top: 130px;
    width:185px;
    z-index:-1;
    pointer-events:none;    
}
