@import url("https://fonts.googleapis.com/css?family=Crete+Round|Source+Sans+Pro");
/* /\/\/\/\/\ VARIABLES /\/\/\/\/\ */
/* /\/\/\/\/\ ACCORDEON /\/\/\/\/\ */
*, *:after, *:before {
  box-sizing: border-box; }

html {
  font-family: "Source Sans Pro"; }

@keyframes appear {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }
main {
  width: 100vw;
  height: 100vh; }

.accordeon {
  width: 100%;
  height: 100%;
  /* overflow: hidden;
  Contenu rogne est aucune barre de defilement affichee */ }

ul {
  width: 100%;
  height: 100%;
  display: table;
  /* Comportement tableau, donc la cest ul = conteneur */
  table-layout: fixed;
  /* Permet davoir des tailles fixes de colonnes meme si le contenu depasse */ }
  ul li {
    width: 10%;
    height: 100vh;
    display: table-cell;
    /* Montre les li comme les cellules d'un tableau, cad en colonnes */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 400ms ease;
    cursor: pointer; }
    ul li .background {
      display: block;
      position: relative;
      overflow: hidden;
      padding: 20px; }
      ul li .background h1 {
                /*position: absolute;
                bottom: 150px;

                display: inline-block;
                width: 200px;
                height: calc(10% - 40px);
                line-height: calc(10% - 40px);
                transform: rotate(-90deg);

                font-family: $ft-title;
                font-size: 3em;
                text-transform: uppercase;*/
        font-family: "Source Sans Pro";
        font-size: 2.5em;
        text-transform: uppercase;
        margin-bottom: 0.5em;
        position: absolute;
        left: 50%;
        bottom: 15%;
        display: block;
        width: 100%;
        white-space: nowrap;
        transform: translate3d(-50%, -50%, 0); }
        ul li .background h1 span {
          display: block;
          transform: rotate(-90deg); }
      ul li .background .wrap-item {
        height: calc(100vh - 40px);
        /* On enleve padding de la div background */
        display: block;
        text-decoration: none;
        overflow: hidden; }
        ul li .background .wrap-item .infos {
          opacity: 0;
          margin: 100px auto; }
        ul li .background .wrap-item h2 {
          font-family: "Source Sans Pro";
          font-size: 2em;
          margin-bottom: 0.5em; }
        ul li .background .wrap-item .cadre {
          width: 130px;
          transform: rotate(-5deg);
          text-align: center;
          border: 3px solid #FFF;
          margin-top: 25px;
          padding: 15px; }
          ul li .background .wrap-item .cadre a {
            display: inline-block;
            transform: rotate(5deg); }
          ul li .background .wrap-item .cadre a:hover {
            text-shadow: 0px 0px 5px #FFF; }
  ul .active {
    width: 60%; }
    ul .active h1 {
      display: none;
      opacity: 0; }
    ul .active .background .wrap-item .infos {
      width: 80%;
      opacity: 1;
      animation: appear 3s ease;
      /* 3s permet a la div de se redimensionner en % avant que le texte napparaisse */ }
      ul .active .background .wrap-item .infos p {
        line-height: 1.4; }
  ul .intro.active p {
    padding-right: 15px; }

/* ----- ONGLET PAR ONGLET ----- */
.intro {
  background-image: url("../img/intro3.gif"); }
  .intro .background {
    background-color: rgba(77, 77, 77, 0.8);
    color: #FFF; }
    .intro .background h1 {
      color: #f2f2f2; }
    .intro .background .cadre {
      border-color: #f2f2f2 !important; }

.circu {
  background-image: url("../img/chapitre1.jpg"); }
  .circu .background {
    background-color: rgba(242, 243, 190, 0.8); }
    .circu .background h1 {
      color: #8F8E6A; }
    .circu .background .cadre {
      border-color: #8F8E6A !important; }
    .circu .background a:hover {
      text-shadow: 0px 0px 5px #8F8E6A !important; }

.front {
  background-image: url("../img/chapitre2.jpg"); }
  .front .background {
    background-color: rgba(129, 188, 164, 0.9);
    color: #FFF; }
    .front .background h1 {
      color: #a3d3f2; }
    .front .background .cadre {
      border-color: #a3d3f2 !important; }

.schengen {
  background-image: url("../img/chapitre3.jpg"); }
  .schengen .background {
    background-color: rgba(191, 78, 40, 0.85);
    color: #FFF; }
    .schengen .background h1 {
      color: #ec754a; }
    .schengen .background .cadre {
      border-color: #ec754a !important; }

/* ----- VIDEO ----- */
ul .background .video-intro {
  display: none; }
ul .intro.active .video-affiche {
  position: relative; }
  ul .intro.active .video-affiche .video-intro {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; }
    @media (max-width: 800px) {
      ul .intro.active .video-affiche .video-intro {
        height: 100%; } }
    ul .intro.active .video-affiche .video-intro .video-js {
      width: 100%;
      height: 100vh; }
      @media (max-width: 800px) {
        ul .intro.active .video-affiche .video-intro .video-js {
          height: 100%; } }
      ul .intro.active .video-affiche .video-intro .video-js .vjs-big-play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%); }
  ul .intro.active .video-affiche .wrap-item {
    opacity: 0; }

/* /\/\/\/\/\ ACCORDEON | MEDIA QUERIES /\/\/\/\/\ */
@media (max-width: 800px) {
  main {
    width: 100vw;
    height: 100%; }

  .accordeon {
    width: 100%;
    height: 100%;
    /* overflow: hidden;
    Contenu rogne est aucune barre de defilement affichee */ }

  ul {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; }
    ul li {
      width: 100vw;
      height: 10%;
      overflow: hidden; }
      ul li .background {
        padding: 0;
        height: 100%; }
        ul li .background h1 {
          margin-bottom: 0;
          text-align: center;
          transform: none;
          height: 100%;
          bottom: 0%;
          left: 0%;
          font-size: 2em;
          display: flex;
          flex-direction: column;
          justify-content: center; }
          ul li .background h1 span {
            transform: none;
            height: auto; }
        ul li .background .wrap-item {
          height: 100%; }
          ul li .background .wrap-item .infos {
            width: 100%;
            height: 100%;
            margin: 20px auto;
            animation: none;
            /*video {max-width: 100%;
                margin-bottom: 0.5em;
            }
            
            p {padding: 0;
                width: 100%;
            }*/ }
            ul li .background .wrap-item .infos h2 {
              text-align: center; }
            ul li .background .wrap-item .infos p {
              padding-right: 0;
              font-size: 0.9em; }
            ul li .background .wrap-item .infos .cadre {
              margin-left: auto;
              margin-right: auto; }
    ul .active {
      width: 100vw;
      height: 70%;
      overflow: hidden; } }
.intro .background .infos {
  width: 100%; }

@media (max-width: 400px) {
  ul {
    height: 125vh; } }
