@import url(http://fonts.googleapis.com/css?family=Capriola);

@font-face {
  font-family: 'AngryBirds-Regular';
  src: url('../fonts/AngryBirds-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/AngryBirds-Regular.woff') format('woff'),
       url('../fonts/AngryBirds-Regular.ttf')  format('truetype'),
       url('../fonts/AngryBirds-Regular.svg#AngryBirds-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
}

::selection { background: transparent; color:inherit; }
::-moz-selection { background: transparent; color:inherit; }

html {
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
    
    /*
    margin: 0 auto;
    width: 100%;
    height: 100%;*/
}

body {
    font-family: Helvetica, sans-serif;
    font-size: 1em;
    background: url('../images/back.jpg') repeat;
    margin: 2% auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

header {
    display: flex;
    align-items: flex-end;
    margin: 0 auto;
    width: 67.192%; /*1280px*/
}

#container-accueil {
    margin: 0 auto;
    width: 67.192%; /*1280px*/
    height: 100%;
    position: relative;
}

#image-tonix-prison{
    width: 100%;
    height: 720px;
    background: url('../images/background.jpg') no-repeat;
    background-size: 100%;
    position: relative;
}

#container-personnages {
    margin: 0 auto;
    width: 67.192%;
    height: 720px;
    background: url('../images/test.png') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#container-equipe {
    margin: 0 auto;
    width: 67.192%;
    height: 720px;
    background: url('../images/realisation/back-E4.jpg') no-repeat;
    background-size: 100% 100%;
    position: relative;
}

#container-video {
    margin: 0 auto;
    width: 67.192%;
    height: 720px;
    background: #000;
    position: relative;
}

#container-video:hover {
    cursor: pointer;
}


#logo {
    margin: 0 auto;
    z-index: 10;
    display: flex;
    width: 50%;
    justify-content: flex-start;
}

#logo img{
    width: 100%;
    height: 100%;
}

#logo a {
    list-style: none;
    outline: none;
    text-decoration: none;
    color: #fff;
}

#logo a:hover {
    cursor: pointer;
}


/***************** Menu *******************/
#menu,
#menu ul,
#menu ul li,
#menu ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    outline: none;
    display: flex;
    position: relative;
    font-family: Capriola, Helvetica, sans-serif;
}
#menu {
    width: 50%;
    height: 59px;
    justify-content : flex-end;
    overflow: hidden;
}

#menu #bg-one,
#menu #bg-two,
#menu #bg-three,
#menu #bg-four {
    position: absolute;
    bottom: 0;
    width: 100%;
    
    -moz-border-bottom-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -o-border-bottom-left-radius: 3px;
    -ms-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
    
    -moz-border-bottom-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -o-border-bottom-right-radius: 3px;
    -ms-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
#menu #bg-one {
    width: 542px;
    height: 10px;
    background: #0f71ba;
}
#menu #bg-two {
    width: 542px;
    height: 59px;
    z-index: 2;
    background: url('images/bg.png');
}
#menu #bg-three {
    bottom: 4px;
    width: 542px;
    height: 55px;
    z-index: 3;
    background: #222222;
    background: -moz-linear-gradient(top, #555555 0%, #222222 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #555555), color-stop(100%, #222222));
    background: -webkit-linear-gradient(top, #555555 0%, #222222 100%);
    background: -o-linear-gradient(top, #555555 0%, #222222 100%);
    background: -ms-linear-gradient(top, #555555 0%, #222222 100%);
    background: linear-gradient(to bottom, #555555 0%, #222222 100%);
}
#menu #bg-four {
    bottom: 4px;
    width: 540px;
    height: 55px;
    z-index: 4;
    background: url('images/bg.png');
}
#menu ul {
    height: 59px;
}
#menu ul li {
    float: left;
    margin-right: 1px;
    z-index: 5;
    
    -moz-border-top-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    -o-border-top-left-radius: 3px;
    -ms-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
    
    -moz-border-top-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -o-border-top-right-radius: 3px;
    -ms-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
    
}
#menu ul li a {
    padding: 24px 30px 20px 30px;
    margin-bottom: 4px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #eeeeee;
    font-size: 15px;
    text-decoration: none;
    outline: none;
}
#menu ul li:first-child,
#menu ul li:first-child > a {
    -moz-border-bottom-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -o-border-bottom-left-radius: 3px;
    -ms-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
#menu ul li:hover,
#menu ul li.active {
    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%);
}
#menu ul li a:hover,
#menu ul li.active > a {
    background: url('images/bg.png');
    color: #ffffff;
}

/***************** Bouton *******************/
#boutonCommencer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#btnCom {
    /*margin-bottom: 68px;*/
    text-decoration: none;
    outline: none;
    opacity: 0.5;
    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

#btnCom:hover {
    cursor: pointer;
    opacity: 1;
    
    -ms-transform: scale(1.2,1.2);
    -webkit-transform: scale(1.2,1.2);
    -moz-transform: scale(1.2,1.2);
    -o-transform: scale(1.2,1.2);
    transform: scale(1.2,1.2);
}

/***************** Notre équipe *******************/
#wrapper-equipe{
    margin:0;
    padding: 0;
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: 67.192%;
    height: 720px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

#contenu-equipe {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    -o-border-radius: 100px;
    -ms-border-radius: 100px;
    border-radius: 100px;
}

#haut {
    width: 80%;
    height: 45%;
    margin-top: 6em;
}

#bas {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}

.polaroid-equipe {
    position: relative;
  
    border: solid #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px; 
}

.polaroid-equipe:hover {
    border: solid #0f71ba;
}

.polaroid-equipe img {
    width: 100%;
    
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px; 
}
 
.polaroid-equipe p {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 0px;
    font: 400 18px/1 'AngryBirds-Regular', cursive;
    color: #fff;
}

#contenu-equipe h2{
    color: #000;
    font-family: 'AngryBirds-Regular', Helvetica, sans-serif;
    font-size: 3.5em;
    margin: 0;
    padding: 0.3em;
}

#equipe-texte {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#equipe-texte li{
    color: #000;
    font-family: Capriola, Helvetica, sans-serif;
    margin: 0;
    padding: 0.1em 0;
    font-size: 2em;
}

/***************** Personnages *******************/
#wrapper-perso{
    margin:0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
}

#gauche {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

#droite {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.polaroid-perso {
    position: relative;
    width: 81.25%;
    
    border: solid #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px; 
}

.polaroid-perso:hover {
    border: solid #0f71ba;
}

.polaroid-perso img {
    width: 100%;
    
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px; 
}
 
.polaroid-perso p {
    position: absolute;
    text-align: center;
    width: 100%;
    bottom: 0px;
    font: 400 18px/1 'AngryBirds-Regular', cursive;
    color: #fff;
}

#centre {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contenu-perso {
    width: 100%;
    height: 60%;
    background: url('../images/personnages/txt-P.jpg') no-repeat;
    background-size: 100% 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -o-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    
    
    -webkit-box-shadow: 3px 3px 3px #777;
    -moz-box-shadow: 3px 3px 3px #777;
    box-shadow: 3px 3px 3px #777;
}

#contenu-perso h2 {
    color: #0f71ba;
    font-family: 'AngryBirds-Regular', Helvetica, sans-serif;
    font-size: 3.5em;
    margin: 0;
    padding-top: 1em;
    padding-bottom: 0.3em; 
}

#photoJaison:hover, #photoJulio:hover, #photoAlex:hover, #photoRegis:hover, #photoTonix:hover, #photoBobby:hover, #photoLouis:hover, #photoAssassin:hover {
    cursor: pointer;
}

#perso-texte {
    color: #000;
    font-family: Capriola, Helvetica, sans-serif;
    margin: 0;
    padding: 0 3.8em;
    font-size: 1.5em;
}

/***************** Synopsis *******************/
#wrapper-synopsis {
    margin-top: 1em;
    padding: 0;
    width: 100%;
    height: 100%;
    padding: 1em 0;
    min-width: 100%;
    min-height: 100%;
    text-align: center;
    
    background: url('../images/test2.png') no-repeat;
    background-size: 100% 100%;
    
    /*background: #222222;
    background: -moz-linear-gradient(top, #555555 0%, #222222 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #555555), color-stop(100%, #222222));
    background: -webkit-linear-gradient(top, #555555 0%, #222222 100%);
    background: -o-linear-gradient(top, #555555 0%, #222222 100%);
    background: -ms-linear-gradient(top, #555555 0%, #222222 100%);
    background: linear-gradient(to bottom, #555555 0%, #222222 100%);*/
    
    /*display: flex;
    flex-direction: column;*/
}

#wrapper-synopsis h2  {
    color: #000;
    font-family: 'AngryBirds-Regular', Helvetica, sans-serif;
    font-size: 3.5em;
    margin: 0;
    padding-top: 0.5em;
}

#wrapper-synopsis p {
    color: #000;
    font-family: Capriola, Helvetica, sans-serif;
    margin: 1em 1.5em;
    font-size: 1.8em;
}

/***************** Pied de page *******************/
footer {
    margin: 0 auto;
    width: 100%;
    height: auto;
}

#copyrights {
    font-size: 0.7em;
    text-align:  center;
    color: #fff;
    font-family: Capriola, Helvetica, sans-serif;
}