@import url("https://use.typekit.net/hwt1gmq.css");

:root{
	--basicColor1: #5398DB;
	--basicColor2: #3C3C3B;
	--basicWhite: #ffff;
	--basicBlack: #000000;
	--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;
	line-height: 1.4;
}

p{
	font-weight: 400;
}

.bigSpacing {
	padding: calc(var(--defaultSpacing) * 2)
}

.bigSpacingSide {
	padding: 0 calc(var(--defaultSpacing) * 2)
}

.bigSpacingTopBottom {
	padding: calc(var(--defaultSpacing) * 2) 0
}

.smallUniformSpacing {
	max-width: 1200px;
	margin: 0 auto;
}

.uniformSpacing {
	max-width: 1500px;
	margin: 0 auto;
}

.bigUniformSpacing{
	max-width: 1920px;
	margin: 0 auto;
}

h1, h2, h3, h4, h5, h6{
	line-height: 1.4;
	font-weight: 400;
}

p, span{
	font-weight: 400;
	line-height: 1.4;
}

.italic {
	font-style: italic;
}

.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;
}

.size60 {
	font-size: 3em;
}

.size40 {
	font-size: 2em;
}

.size30 {
	font-size: 1.5em;
}

.size27 {
	font-size: 1.35em;
}

.size25 {
	font-size: 1.25em;
}

.size20 {
	font-size: 1em;
}

.size15{
	font-size: 0.75em;
}

.bgLightBlack {
	background-color: var(--basicColor2);
}

.colorPurple, .colorPurple * {
	color: var(--basicColor1);
}

.bgPurple{
	background-color: var(--basicColor1);
}

.fillPurple path{
	fill: var(--basicColor1);
}

.colorBlack, .colorBlack *{
	color: var(--basicBlack);
}

.bgBlack{
	background-color: var(--basicBlack);
}

.fillBlack{
	fill: var(--basicBlack);
}

.colorWhite, .colorWhite *{
	color: var(--basicWhite);
}

.bgWhite{
	background-color: var(--basicWhite);
}

.fillWhite{
	fill: var(--basicWhite);
}

.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;
}

.w100{
	width: 100%;
}

.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: var(--basicColor1);
	opacity: .6;
}

.afterFilter.black:after {
	background-color: var(--basicBlack);
	opacity: .3;
}

.activeLink {
	text-decoration: underline var(--basicColor1);
	text-underline-offset: 0.5em;
}

.mainLink a {
	display: flex;
	padding: .75em 1em;
	width: fit-content;
}

/* START SLIDER */
.slider {
	max-width: 1920px;
}
.sliderWrapper {
	width: 400px;
	display: flex;
	transition: transform 1s ease-in-out;
}

.sliderSlide {
	width: 400px;
	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;
}

/* END MODAL */

@media screen and (max-width: 1400px) {
	.modal-content{
		width: 90%;
		padding: 1em;
	}
}

@media screen and (max-width: 1200px) {
	:root{
		font-size: 18px;
	}

	.bigSpacing {
		padding: var(--defaultSpacing)
	}
	.bigSpacingSide {
		padding: 0 var(--defaultSpacing)
	}

	.size60 {
		font-size: 2em;
	}

}

@media screen and (max-width: 800px) {
	.bigSpacing {
		padding: calc(var(--defaultSpacing) * 1.5)
	}
	.bigSpacingSide {
		padding: 0 calc(var(--defaultSpacing) * 1.5)
	}
}



@media screen and (max-width: 700px) {
	
	:root{
		font-size: 16px;
	}
	
	.bigSpacing {
		padding: var(--defaultSpacing)
	}
	.bigSpacingSide {
		padding: 0 var(--defaultSpacing)
	}
	
	.size60 {
		font-size: 1.5em;
	}
	
	.size40 {
		font-size: 1.5em;
	}
	
	.size30 {
		font-size: 1.4em;
	}
	
	.size27 {
		font-size: 1.3em;
	}
	
	.size25 {
		font-size: 1.2em;
	}
	
	.modal-content{
		height: 60vh;
		padding: 1em;
	}
	
}
