@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	src: url(../fonts/montserrat-latin-400-normal.woff2) format('woff2'), url(../fonts/montserrat-latin-400-normal.woff) format('woff');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 500;
	font-stretch: 100%;
	src: url(../fonts/montserrat-latin-500-normal.woff2) format('woff2'), url(../fonts/montserrat-latin-500-normal.woff) format('woff');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Clash Royale";
	src: url("../fonts/ClashRoyale.ttf");
}

html,
body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

body {
	font-family: "Montserrat", sans-serif;
	color: #fff;
	background: #13609a;
}

a {
	color: #aaaaff;
}

.navbar {
	position: fixed;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 70px;
	background: #1f1f1f;
	color: #fff;
	transition: all 0.3s ease-in-out;
}

.navbar.transparent {
	background: transparent;
	color: #1f1f1f;
}

.navbar h1,
.navbar ul {
	padding: 0 5%;
}

.navbar h1 a {
	text-decoration: none;
	color: inherit;
}

.navbar ul {
	display: flex;
	flex-direction: row;
	list-style-type: none;
}

.navbar ul li {
	position: relative;
	margin-left: 15px;
}

.navbar ul li a {
	color: inherit;
	text-decoration: none;
}

.navbar ul li:after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background: currentColor;
	transition: all 0.2s ease-in-out;
}

.navbar ul li:hover:after {
	width: 100%;
}

main h2 {
	text-decoration: underline;
}

.wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: start;
}

section {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 5%;
}

section div {
	width: 50%;
}

section img,
section iframe {
	display: block;
	width: 50%;
	margin: 2rem auto;
	border: none;
}

/* info-bulle */
span[data-tooltip] {
	position: relative;
	color: #ccc;
	cursor: help;
	text-decoration: underline dotted;
}

span[data-tooltip]:before {
	content: attr(data-tooltip);
	position: absolute;
	top: 100%;
	left: 0;
	width: max-content;
	max-width: 20vw;
	padding: 5px;
	background: #1f1f1f;
	color: #fff;
	font-size: 0.8rem;
	border-radius: 5px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s ease-in-out;
	z-index: 20;
}

span[data-tooltip]:hover:before {
	opacity: 1;
	visibility: visible;
}

@media screen and (max-width: 768px) {
	.navbar {
		height: 100px;
		flex-direction: column;
		justify-content: center;
	}

	.navbar h1,
	.navbar ul {
		padding: 0;
	}

	.navbar h1 {
		margin: 0px;
	}

	span[data-tooltip]:before {
		max-width: 50vw;
	}

	.hero .bg {
		bottom: 0;
	}

	section {
		flex-direction: column;
		top: 0;
	}

	/* sections impaires */
	.sections section:nth-child(even) {
		flex-direction: column-reverse;
	}

	section div {
		width: 100%;
	}
}