/* @font-face {
	font-family: 'HKGroteskWide-ExtraBold';
	src: url('./fonts/HKGroteskWide-ExtraBold.woff') format('woff'), url('./fonts/HKGroteskWide-ExtraBold.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
} */

@font-face {
	font-family: 'HKGrotesk-ExtraBold';
	src: url('./fonts/HKGrotesk-ExtraBold.woff') format('woff'), url('./fonts/HKGrotesk-ExtraBold.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

html,
body,
main {
	width: 100%;
	height: 100%;
	color: #001d1d;
	/*color: teal;*/
	overflow: hidden;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
}

strong {
	font-weight: 700;
}

main {
	display: flex;
	justify-content: center;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url(./img/fondecran.png);
}

#conteneur-chargement {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.75);
	z-index: 10000;
}

#chargement {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.chargement {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
}

#conteneur,
#masque {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

#masque {
	background: rgba(255, 255, 255, 0.7);
}

#conteneur {
    display: flex;
    justify-content: center;
    align-items: center;
	flex-wrap: wrap;
	overflow: auto;
}

#contenu {
	max-width: 76em;
	text-align: center;
	padding: 12em 1em 6em;
	margin: auto;
}
#contenu2 {
	max-width: 76em;
	text-align: center;
	padding: 4em 1em 1em;
	margin: auto;
}
#contenu3 {
	max-width: 38em;
	text-align: center;
	padding: 4em 1em 4em;
	margin: auto;
}

#contenu p a {
	text-decoration-line: underline;
	text-decoration-style: dotted;
}

h1 {
	font-family: 'HKGroteskWide-ExtraBold', 'HKGrotesk-ExtraBold', sans-serif;
	font-size: 3em;
	font-weight: 900;
	margin-bottom: 0.85em;
	line-height: 1.4;
}

p {
	font-size: 1.25em;
	font-weight: 400;
	line-height: 1.4;
	margin-bottom: 0.5em;
}

#bouton {
	display: inline-block;
    text-align: center;
	line-height: 1;
    font-size: 1em;
	font-weight: 700;
    text-transform: uppercase;
    padding: 1em 2em;
    border: 2px solid #00ced1;
	border-radius: 2em;
    background: #46fbff;
	cursor: pointer;
    transition: all ease-in 0.1s;
}

#bouton:hover {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	background: #00ced1;
}

#credits {
	width: 100%;
	margin: 0 auto 0.75em;
}

#credits p {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1em;
	text-align: center;
}

#credits p:last-child {
	display: flex;
	justify-content: center;
	align-items: center;
}

#credits p:last-child a {
	margin: 0 5px;
}

#credits .hub {
	font-size: 0;
	cursor: pointer;
}

#hub {
	position: fixed;
	visibility: hidden;
	opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	z-index: 100000;
}

#hub.ouvert {
	visibility: visible;
	opacity: 1;
    animation: fonduEntrant linear 0.1s;
}

@keyframes fonduEntrant {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#hub iframe {
	width: 100%;
    height: 100%;
}

#hub span {
	font-size: 0;
	color: #fff;
	position: absolute;
	top: 15px;
	right: 15px;
	cursor: pointer;
}

.conteneur-modale {
	position: absolute;
    top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
	z-index: 10001;
	background-color: rgba(0, 0, 0, 0.5);
}

.conteneur-modale.ouvert {
	display: flex;
	animation-duration: 0.2s;
  	animation-delay: 0s;
  	animation-name: fonduEntrant;
  	animation-iteration-count: 1;
}

.modale {
	position: relative;
    background: #fff;
	width: 85%;
	max-width: 500px;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
	border-radius: 10px;
}

.modale .conteneur {
    position: relative;
	width: 100%;
	padding: 30px 25px;
	text-align: center;
	overflow: auto;
    height: calc(100% - 30px);
	font-size: 0;
}

.modale .conteneur .message {
	font-size: 18px;
	line-height: 1.5;
}

.modale .contenu {
	width: 100%;
}

.modale .conteneur .actions {
	text-align: center;
	margin-top: 20px;
}

.modale .conteneur .bouton {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	height: 40px;
	line-height: 40px;
	padding: 0 20px;
	cursor: pointer;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
	background: #00ced1;
	border-radius: 5px;
	letter-spacing: 1px;
	text-indent: 1px;
	user-select: none;
	transition: background-color ease-in 0.1s;
}

.modale .conteneur .bouton:hover {
	background: #00acb0;
}

.progression {
	display: none;
	width: 100%;
	padding: 0 20px;
	margin: 0 auto 20px;
	font-size: 0;
	text-align: center;
}

.progression progress {
	width: 100%;
	max-width: 1000px;
	-webkit-appearance: none;
    -moz-appearance: none;
	border: none;
	background-color: #00ced1;
	height: 0.7rem;
	font-size: 0;
	line-height: 1;
}

.progression progress[value]::-moz-progress-bar {
	background-color: #00ced1;
}

.progression progress:not([value])::-moz-progress-bar {
	background-color: #ddd;
}

.progression progress::-webkit-progress-bar {
	background-color: #ddd;
}

.progression progress::-webkit-progress-value {
	background-color: #00ced1;
	transition: 0.2s ease-out;
}

.spinner {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

.spinner div {
	transform-origin: 40px 40px;
	animation: spin 1.2s linear infinite;
}

.spinner div:after {
	content: '';
	display: block;
	position: absolute;
	top: 3px;
	left: 37px;
	width: 5px;
    height: 25px;
	border-radius: 20%;
	background: #00ced1;
}

.spinner div:nth-child(1) {
	transform: rotate(0deg);
	animation-delay: -1.1s;
}

.spinner div:nth-child(2) {
	transform: rotate(30deg);
	animation-delay: -1s;
}

.spinner div:nth-child(3) {
	transform: rotate(60deg);
	animation-delay: -0.9s;
}

.spinner div:nth-child(4) {
	transform: rotate(90deg);
	animation-delay: -0.8s;
}

.spinner div:nth-child(5) {
	transform: rotate(120deg);
	animation-delay: -0.7s;
}

.spinner div:nth-child(6) {
	transform: rotate(150deg);
	animation-delay: -0.6s;
}

.spinner div:nth-child(7) {
	transform: rotate(180deg);
	animation-delay: -0.5s;
}

.spinner div:nth-child(8) {
	transform: rotate(210deg);
	animation-delay: -0.4s;
}

.spinner div:nth-child(9) {
	transform: rotate(240deg);
	animation-delay: -0.3s;
}

.spinner div:nth-child(10) {
	transform: rotate(270deg);
	animation-delay: -0.2s;
}

.spinner div:nth-child(11) {
	transform: rotate(300deg);
	animation-delay: -0.1s;
}

.spinner div:nth-child(12) {
	transform: rotate(330deg);
	animation-delay: 0s;
}

@keyframes spin {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@media screen and (max-width: 359px) {
	#contenu {
		padding: 4em 1em 2em;
	}
	
	#bouton {
		font-size: 0.75em!important;
	}
}

@media screen and (min-width: 360px) and (max-width: 599px) {
	#contenu {
		padding: 5em 1em 2.5em;
	}
}

@media screen and (max-width: 399px) {
	h1 span {
		display: block;
	}
}

@media screen and (max-width: 599px) {
	h1 {
		font-size: 2em;
		margin-bottom: 1em;
	}

	p {
		font-size: 1em;
		margin-bottom: 1.2em;
	}
	
	#bouton {
		font-size: 0.85em;
	}
	
	#credits p {
		font-size: 0.85em;
	}
}

@media screen and (max-width: 599px) {
	#hub span {
		top: 5px;
		right: 5px;
	}
	
	#hub span svg {
		width: 24px;
		height: 24px;
	}
}

@media screen and (max-width: 599px) and (orientation: landscape) {
	#contenu {
		padding: 2em 1em 1.5em!important;
	}
}

@media screen and (min-width: 600px) and (max-width: 820px) and (orientation: landscape) {
	#contenu {
		padding: 3em 1em 1.5em!important;
	}
}

@media screen and (max-width: 820px) and (orientation: landscape) {
	p {
		font-size: 1em!important;
	}
	
	#credits p {
		font-size: 0.85em!important;
		margin-bottom: 0.85em!important;
	}
}

@media screen and (max-width: 1023px) and (orientation: landscape) {
	#contenu {
		padding: 7em 1em 3.5em;
	}
}

@media screen and (max-width: 850px) and (max-height: 500px) {
	h1 {
		font-size: 2em;
		margin-bottom: 1em;
	}

	p {
		font-size: 1em;
		margin-bottom: 1.2em;
	}
	
	#bouton {
		font-size: 0.85em;
	}
	
	#credits p {
		font-size: 0.85em;
	}
}
