/********** Setting the fonts section ***************/

html {
    height : 100%;
}

body {
    margin : 0; 
    height : 100%;
    font-family: 'lobster';
    color: #ffffff;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #53639B;

    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1001;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #7B9EF8;

        -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
        animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #2E3D7C;

        -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
          animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
    }

    @-webkit-keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }
    @keyframes spin {
        0%   { 
            -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(0deg);  /* IE 9 */
            transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
        }
        100% {
            -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: rotate(360deg);  /* IE 9 */
            transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
        }
    }

    #loader-wrapper .loader-section {
        position: fixed;
        top: 0;
        width: 51%;
        height: 100%;
        background: #1D213A;
        z-index: 1000;
        -webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: translateX(0);  /* IE 9 */
        transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
    }

    #loader-wrapper .loader-section.section-left {
        left: 0;
    }

    #loader-wrapper .loader-section.section-right {
        right: 0;
    }

    /* Loaded */
    .loaded #loader-wrapper .loader-section.section-left {
        -webkit-transform: translateX(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(-100%);  /* IE 9 */
                transform: translateX(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
                transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }

    .loaded #loader-wrapper .loader-section.section-right {
        -webkit-transform: translateX(100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateX(100%);  /* IE 9 */
                transform: translateX(100%);  /* Firefox 16+, IE 10+, Opera */

-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);  
        transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    }
    
    .loaded #loader {
        opacity: 0;
        -webkit-transition: all 0.3s ease-out;  
                transition: all 0.3s ease-out;
    }
    .loaded #loader-wrapper {
        visibility: hidden;

        -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
            -ms-transform: translateY(-100%);  /* IE 9 */
                transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

        -webkit-transition: all 0.3s 1s ease-out;  
                transition: all 0.3s 1s ease-out;
    }
    
    /* JavaScript Turned Off */
    .no-js #loader-wrapper {
        display: none;
    }
    .no-js h1 {
        color: #222222;
    }



.flexBackground {
	position : fixed;
	height : 100%;
	width : 100%;
	background-color : #000;
	background: url(../images/bg-opt.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
	z-index : -1;
	top : 0;
	left : 0;
}

.flexBackground canvas {
	position : relative;
}


.container {
   	height : 100%;
	width : 100%;
    text-align: center;
    position: fixed;
}

#el {max-width: 100%; display: block;}

.title {font-size: 2.5vw; margin-top: 3vh;}

.baseline {
    font-size: 4vw;
    bottom: 28vh; 
    position: fixed;
    font-family: 'Codystar', cursive; 
    text-shadow: 0px 0px 20px #000; 
    font-weight: bold;
    width: 100%;
    text-align: center;
  -webkit-animation-name: opacity;
  -webkit-animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-name: opacity;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}


footer {
    background: url(../images/montagne-blanche.png) no-repeat top center;
    background-size: cover;
    bottom: 0px;
    width: 100%;
    padding-top: 12vh;
    padding-bottom: 5vh;
    position: absolute;
}

.wrapper {position: relative; text-align: center; padding: 0% 2%; font-size: 1.95vw;}

#logo {opacity: 0; max-width: 100%; display: block; margin: 0px auto; width: 560px;max-width: 100%;}
#logo img {max-width: 100%;}
#logo a {
    color: #1A1C2F;
    text-decoration: none;
    font-family: 'Open Sans', Arial, Verdana, sans-serif;
    margin: 20px 0px 0px;
    font-weight: 700;
    line-height: 120%;
    display: block;
}


@-webkit-keyframes opacity {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}



@media screen and (max-width: 749px) {
    
    .title {font-size: 5.5vw; margin-top: 10vh;}
    
    footer {
        background: url(../images/montagne-blanche.png) no-repeat top center;
        background-size: cover;
        padding-top: 10vh;
        padding-bottom: 8vh;
    }
    
    #el {
        top: 18vh !important;
    }

    .baseline {
         font-size: 5vw;
         bottom: 40vh; 
    }
    
    #logo a {
        font-size: 6vw;
        text-align: center;
    }
    
    .wrapper {font-size: 6vw;}
    #voeux {display: none;}
    #voeux-fixe {
        display: block;
        position: relative; 
        display: block;
        margin: 0px auto;
        color: #53639B;
        overflow: hidden;
    }
      
}


@media screen and (min-width: 750px) {
    #logo a {
        font-size: 1.75vw;
        text-align: left;
    }
    
    #voeux-fixe {
        display: none;
    }  
    
    #voeux {
        opacity: 0; 
        position: relative; 
        display: block;
        margin: 0px auto;
        color: #53639B;
        overflow: hidden;
        height: 60px;
    }

    .content {
      position: absolute;
      height: 160px;
      overflow: hidden;
      line-height: 64px;
      color: #53639B;
      /*width: 590px;
      margin-left: -295px;*/
        transform: translateX(-50%);
        left: 50%;
    }

    .content__container {
      font-weight: 600;
      overflow: hidden;
      height: 64px;
      padding: 0 10px;
    }

    .content__container__text {
      display: inline;
      float: left;
      margin: 0;
    }
    .content__container__list {
      margin-top: 0;
      padding-left: 12vw;
      text-align: left;
      list-style: none;
      -webkit-animation-name: change;
      -webkit-animation-duration: 10s;
      -webkit-animation-iteration-count: infinite;
      animation-name: change;
      animation-duration: 10s;
      animation-iteration-count: infinite;
    }

    .content__container__list__item {
      line-height: 64px;
      margin: 0;
    }

    @-webkit-keyframes change {
      0%, 12.66%, 100% {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
      }
      16.66%, 29.32% {
        -webkit-transform: translate3d(0, -25%, 0);
                transform: translate3d(0, -25%, 0);
      }
      33.32%,45.98% {
        -webkit-transform: translate3d(0, -50%, 0);
                transform: translate3d(0, -50%, 0);
      }
      49.98%,62.64% {
        -webkit-transform: translate3d(0, -75%, 0);
                transform: translate3d(0, -75%, 0);
      }
      66.64%,79.3% {
        -webkit-transform: translate3d(0, -50%, 0);
                transform: translate3d(0, -50%, 0);
      }
      83.3%,95.96% {
        -webkit-transform: translate3d(0, -25%, 0);
                transform: translate3d(0, -25%, 0);
      }
    }

}