/* Typographie
....................................................................................
 */

@font-face {
	font-family: 'sangbleu empire';
	font-weight: bold;
	src: url('https://ms-studio.net/fonts/sangbleu/Empire-Bold-WebS.woff2') format('woff2'),
		 url('https://ms-studio.net/fonts/sangbleu/Empire-Bold-WebS.woff') format('woff');
}

@font-face {
	font-family: 'sangbleu empire';
	font-weight: normal;
	src: url('https://ms-studio.net/fonts/sangbleu/Empire-Medium-WebS.woff2') format('woff2'),
	url('https://ms-studio.net/fonts/sangbleu/Empire-Medium-WebS.woff') format('woff');
}

@font-face {
	font-family: 'sangbleu sunrise';
	font-weight: normal;
	src: url('https://ms-studio.net/fonts/sangbleu/Sunrise-Livre-WebS.woff2') format('woff2'),
	url('https://ms-studio.net/fonts/sangbleu/Sunrise-Livre-WebS.woff') format('woff');
}


h1, h2,
.sans-serif {
	font-family: "sangbleu empire", helvetica, sans-serif;

}

h2 {
	font-weight: normal;

}

body, p,
.serif {
	font-family: "sangbleu sunrise", helvetica, sans-serif;

}

.highlight {
/*  color: #fff;
  -webkit-text-stroke: 0.5px; -moz-text-stroke: 0.5px; text-stroke: 0.5px; 
  text-shadow:
   -1px -1px 0 #4f12b1,  
    1px -1px 0 #4f12b1,
    -1px 1px 0 #4f12b1,
     1px 1px 0 #4f12b1;
     min-width: 800px;*/
}


/* Eléments de base
....................................................................................
 */

body {
	height: 100vh;
	margin: 0;
	overflow-x: hidden;
}

a,
a:visited,
.texte {
  color: #4f12b1;
}

.image {
	background-color: white;
	text-align: center;
}

.image img  {
  object-fit: contain;
  max-width: 100%;
  max-height: 100vh;
  margin: auto;
}

.texte {
	background-color: white;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 2em;
  position: relative;
}

.phrase {
  font-size: 2em; /* 32px */
  margin: auto;
	padding: 1em 0;
}

.phrase,
.illustration {
  opacity: 0;
  transition: all 0.7s ease-in-out;
}




/* Intro - écran de démarrage
....................................................................................
 */

@keyframes mouvement {
  0%   {
    left: -60px;
    left:-11vmax;
    opacity: 0;
  }
  50%   {
    opacity: 0.6;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.circle {
  width: 50px;
  height: 50px;
  left: -60px;
  left: -11vmax;
  background-color: white;
  opacity: 0;
  position: absolute;
  animation-name: mouvement;
  animation-duration: 5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  border-radius: 50%;
}

.circle:nth-child(odd) {
  animation-duration: 7s;
}

.circle:nth-child(3n+3) {
  animation-duration: 10s;
}

#intro {
  position: absolute;
  background-color: #4f12b1;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
}

#frame {
	position: absolute;
	height: 100vh;
	width: 100%;
	top: 0;
	right: 100vw;
}

#canvas {
	width: 100%;
	height: 100%;
	transition: opacity 1s ease-in-out;
}

.transparent {
	opacity : 0;
}

.button {
	background-color: rgba(255,255,255,0.3);
	color: #4f12b1;
	padding: 0.7em 1em;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 2em;
	position: absolute;
	right: calc(50vw - 6.3em);
	top: calc(50vh - 1.5em);
	transition: all 0.2s ease-in-out;
}

.button:hover {
	background-color: rgba(255,255,255,0.7);
	transform: scale(1.1);
	color: #4f12b1;
}

/* menu
....................................................................................
 */

.retirer, 
.infos {
	display: block;
	background-color: rgba(255,255,255,0.5);
	background-image: url('../picto/picto-fleche.svg');
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: 50%;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.infos {
	background-image: url('../picto/picto-info.svg');
	background-size: 100%;
	background-position: 0;
}

/* Message d'alerte Time Out
....................................................................................
 */

.timeout {
  position: absolute;
  text-align: center;
  border-radius: 25px;
  background-color: #4f12b1;
  width: calc(100% - 4em);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.timeout p {
  color: white;
  max-width: 15em;
  margin: 0 auto;
  padding: 1em;
  
}


/* about
....................................................................................
 */

.close-me {
 	display: block;
 	background-color: rgba(255,255,255,0.5);
 	background-image: url('../picto/picto_close.svg');
   width: 3rem;
   height: 3rem;
   position: absolute;
   top: 10px;
   right: 10px;
   border-radius: 50%;
   background-repeat: no-repeat;
   background-size: 50%;
   background-position: 50%;
   font: 0/0 a;
   text-shadow: none;
   color: transparent;
   z-index: 10;
   cursor: pointer;
 }

.close-me:hover {
    background-color: rgba(255,255,255,0.8);
  }

.about-text .close-me {
  position: fixed;
}

.about .texte {
	display: block;
  max-width: 800px;
  margin:auto;
}

.video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
  border-bottom: 1.5em solid #fff;
}

@media screen and (min-width: 970px) {
	.video { 
		padding-bottom: 500px; 
		padding-top: 0px;
	}
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 80vh;
}

.team {
	display: flex;
	flex-wrap: wrap;
}

.team li {
	list-style: none;
	display: inline-flex;
	flex: 1 1;
  padding: 2em;
}

.team img {
	height: 100px;
  width: auto;
}

/* Sharing Buttons
....................................................................................
https://sharingbuttons.io/
 */

.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--tumblr {
  background-color: #35465C;
  border-color: #35465C;
}

.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active {
  background-color: #222d3c;
  border-color: #222d3c;
}
