@import url("https://use.typekit.net/hwt1gmq.css");

@font-face {
	font-family: 'Burger';
	src: url('./fonts/InsaniburgerwithCheese.eot');
	src: url('./fonts/InsaniburgerwithCheese.eot?#iefix') format('embedded-opentype'),
	url('./fonts/InsaniburgerwithCheese.woff2') format('woff2'),
	url('./fonts/InsaniburgerwithCheese.woff') format('woff'),
	url('./fonts/InsaniburgerwithCheese.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root{
	--basicColor1: #E83A55;
	--basicColor2: #EECE4A;
	--basicColor3: #EE974A;
	--basicColor4: #EE554A;
	--basicWhite: #ffff;
	--basicBlack: #171417;
	--basicColorLight: #cccccc;
	--smallRadius: 10px;
	--basicRadius: 30px;
	--defaultSpacing:2rem;
	font-size: 20px;
}

body *, body {
	font-family: "Poppins", sans-serif;
	margin: 0;
	box-sizing: border-box;
}

body section *{
	color: #212A28;
}

body {
	max-width: 1920px;
	margin: 0 auto;
	-webkit-box-shadow: 0px 0px 42px 44px rgba(0,0,0,0.09);
	box-shadow: 0px 0px 42px 44px rgba(0,0,0,0.09);
}

a{
	text-decoration: none;
	font-size: 1em;
	font-weight: 400;
}

p{
	line-height: 1.2em;
	font-weight: 400;
}

.bigSpacing {
	padding: calc(var(--defaultSpacing) * 2)
}

.bigSpacingSide {
	padding: 0 calc(var(--defaultSpacing) * 2)
}

.smallUniformSpacing {
	max-width: 1250px;
	margin: 0 auto;
}

.uniformSpacing {
	max-width: 1500px;
	margin: 0 auto;
}

.bigUniformSpacing{
	max-width: 1800px;
	margin: 0 auto;

}
.bigUniformSpacing{
	max-width: 1920px;
	margin: 0 auto;
}

h1, h2, h3, h4, h5, h6{
	line-height: 1.3;
	font-weight: 400;
}

p, span{
	font-weight: 300;
}

.black {
	font-weight: 900;
}

.bold {
	font-weight: 700;
}

.semiBold, .semiBold * {
	font-weight: 600;
}

.regular {
	font-weight: 400;
}

.medium {
	font-weight: 500;
}

.light {
	font-weight: 300;
}

.extraLight {
	font-weight: 200;
}

.size80 {
	font-size: 4em;
}

.size60 {
	font-size: 3em;
}

.size50 {
	font-size: 2.5em;
}

.size40 {
	font-size: 2em;
}

.size30 {
	font-size: 1.5em;
}

.size20 {
	font-size: 1em;
}

.size15 {
	font-size: 0.75em;
}

.size10 {
	font-size: 0.5em;
}

.upper{
	text-transform: uppercase;
}

.taj{
	text-align: justify;
}

.tac{
	text-align: center;
}

.relative {
	position: relative
}

.bgImg {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.afterFilter, .afterFilter *{
	position: relative;
	z-index: 10;
}

.afterFilter:after{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-color: black;
	opacity: .2;
}

.activeLink {
	font-weight: bold !important;
	color: var(--basicColor1);
}

.colorRed {
	color: var(--basicColor1);
}

.bgRed {
	background-color: var(--basicColor1);
}

.bgYellow{
	background-color: var(--basicColor2);
}

.colorYellow{
	color: var(--basicColor2);
}

.bgOrange {
	background-color: var(--basicColor3);
}

.bgDarkOrange {
	background-color: var(--basicColor4);
}

.colorWhite {
	color: var(--basicWhite);
}

.fillWhite * {
	fill: var(--basicWhite);
}

.bgBlack {
	background-color: var(--basicBlack);
}

.specialFont {
	font-family: "burger";
}

.intro {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	align-items: center;
}

.intro *{
	line-height: 1;
}

.intro .separator {
	width: 12em;
	height: .5em;
	border-radius: 100px;
	border: none;
	margin-top: 1em;
}

.w100{
	width: 100%;
}

.mainLink {
	display: flex;
	width: 100%;
}

.mainLink.center {
	justify-content: center;
}

.mainLink a{
	border-radius: var(--smallRadius);
	padding: 1em 1.75em;
}

/* START SLIDER */
.slider {
	max-width: 1920px;
	margin: 3em auto;
}
.sliderWrapper {
	width: 410px;
	display: flex;
	transition: transform 1s ease-in-out;
	gap: 2em;
}

.sliderSlide {
	width: 410px;
	flex: 0 0 auto;
	box-sizing: border-box;
}
.horizontalScroll{
	overflow: hidden;
}
/* END SLIDER */

/* START MODAL */

.modal {
	display: flex;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	opacity: 0;
	transform: translateY(-100%); /* Départ en dehors de l'écran, vers le haut */
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-content {
	background-color: #fff;
	padding: 2em;
	border-radius: var(--basicRadius);
	width: 60%;
	text-align: center;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 80vh;
}

.modal.show {
	opacity: 1;
	transform: translateY(0);
}

.modal iframe{
	width: 100%;
	height: 100%;
}

.modal h2{
	text-align: start;
	padding-bottom: .5em;
	padding-top: 1em;
}

.modal .close{
	position: absolute;
	top: .5em;
	right: 1em;
	font-size: 1.5em;
	cursor: pointer;
}

/* END MODAL */
@media screen and (max-width: 1200px) {
	:root{
		font-size: 18px;
	}

	.size80 {
		font-size: 3.5em;
	}

	.size60 {
		font-size: 2.5em;
	}

	.size50 {
		font-size: 2em;
	}

	.size40 {
		font-size: 1.5em;
	}

	.size30 {
		font-size: 1.2em;
	}


}



@media screen and (max-width: 800px) {
	:root{
		font-size: 18px;
	}
	.bigSpacing {
		padding: calc(var(--defaultSpacing) * 1.5)
	}
	.bigSpacingSide {
		padding: 0 calc(var(--defaultSpacing) * 1.5)
	}
	
	.size40 {
		font-size: 1.7em;
	}
	
	.size25 {
		font-size: 1.15em;
	}
}

@media screen and (max-width: 700px) {
	.modal-content{
		height: 60vh;
		padding: 1em;
		width: 90%;
	}
	:root{
		font-size: 16px;
	}

	.size80 {
		font-size: 3em;
	}

	.size60 {
		font-size: 2em;
	}

	.size50 {
		font-size: 1.6em;
	}

	.size40 {
		font-size: 1.4em;
	}

	.bigSpacing {
		padding: var(--defaultSpacing)
	}
	.bigSpacingSide {
		padding: 0 var(--defaultSpacing)
	}
	.size40 {
		font-size: 1.5em;
	}
}
