/*Tous les overlays partagent cette classe */
.overlay {
    position: absolute;
    left:0;
    top:0;
    bottom: 0px;
    right: 0px;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 200;
    overflow: hidden;
    background-color: transparent;
    
    display: flex;
    justify-content: space-around;
    align-items: center;
}
/* Cette classe permet de cacher touts div au départ */
.hidden{
    display: none !important;
}


.fadeIn{
    animation-duration: 0.5s;
    animation-name: animFadeIn;
    animation-iteration-count: 1;
}

/*Animation sur les overlay pour fade in*/
@keyframes animFadeIn {
    from {
        opacity:0;
    }

    to {
        opacity:1;
    }
}

.blurred{
    filter: blur(10px);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -o-filter: blur(10px);
    -ms-filter: blur(10px);
    filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='10');
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

/* Overlays */
.choix {
    font-family: 'AngryBirds-Regular', Helvetica, sans-serif;
    font-size: 2.8em;
    text-decoration: none;
    outline: none;
    border: none;
    color: #000;
    
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    -ms-border-radius: 10px;
    border-radius: 10px;
    
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    /*
    box-shadow: inset 0em 0em 0.5em #000;
    
    background: #0f71ba;
    background: -moz-linear-gradient(top, #3fa4f0 0%, #0f71ba 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3fa4f0), color-stop(100%, #0f71ba));
    background: -webkit-linear-gradient(top, #3fa4f0 0%, #0f71ba 100%);
    background: -o-linear-gradient(top, #3fa4f0 0%, #0f71ba 100%);
    background: -ms-linear-gradient(top, #3fa4f0 0%, #0f71ba 100%);
    background: linear-gradient(to bottom, #3fa4f0 0%, #0f71ba 100%);*/
    
    background: url('../images/boutonChoix.png') no-repeat;
    background-size: 100% 100%;
    width: 27%;
    height: 20%;
}

.choix:hover {
    cursor: pointer;
    
    -ms-transform: scale(1.5,1.5);
    -webkit-transform: scale(1.5,1.5);
    -moz-transform: scale(1.5,1.5);
    -o-transform: scale(1.5,1.5);
    transform: scale(1.5,1.5);
}


/*Overlay FIN */
#oFin{
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#oFin span{
    font-family: 'AngryBirds-Regular', Helvetica, sans-serif;
    font-size: 3em;
    animation-duration: 0.5s;
    animation-name: animFin;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    color: #fff;
    padding-bottom: 1em;
}

/*Overlay FIN 2*/
#oFin2{
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#oFin2 span{
    font-family: 'AngryBirds-Regular', Helvetica, sans-serif;
    font-size: 3em;
    animation-duration: 0.5s;
    animation-name: animFin;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    color: #fff;
    padding-bottom: 1em;
}

/*Overlay FIN END     */

/*Animation sur le mot fin*/
@keyframes animFin {
    from {
        opacity:1;
    }

    to {
        opacity:0;
    }
}
