
:root {
  /* largeur de ton container */
  --container-width: 622px;
  --half-container: calc(var(--container-width) / 2);
}

html{ height:100%;}

/* fonts definitions */

@font-face {
	font-family: 'Abril Fatface';
	font-style: normal;
	font-weight: 400;
	src: url(../fonts/abril-fatface-regular.ttf);
}


/* body defs */

body{
	min-height: 100%;
	display: flex;
	flex-direction: column;
	font-family: 'Roboto';
	line-height: normal;
	letter-spacing: 0px;
	text-align: center;
	background-color: #FFA300;
	/*padding: 84px 0 0 0;*/
	position:relative;
	overflow: auto;
	overflow-x:hidden;
	background-image:url(../assets/fond.png);
	background-repeat:no-repeat;
	background-size: cover; /*100% 100%*/
}


.container{
	max-width: 622px;
	display: flex;
	flex-direction: column;
	align-self: center;
	background-color: #fff;
	border-radius: 15px;
	margin-bottom:100px;
	position:relative;
	margin-top:45px;
}



/* text defs */

.text-title{
	color: #000;
	font-size: 32px;
	font-weight: 700;
}

.text-std{
	color: #4b4b4b;
	font-size: 14px;
	font-weight: 400;
}
.text-formats{
	color: #4b4b4b;
	font-size: 12px;
	font-weight: 400;
}
.text-footer{
	color: #000;
	font-size: 10px;
	font-style: italic;
	font-weight: 400;
}


.warning{
	color: #e32213;
	font-size: 12px;
	font-weight: 700;
}

.link{
	text-decoration: underline;
}

.bold{
	font-weight: 600;
}


.btn{
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	width: 149px;
	display: flex;
	justify-content: center;
	align-self: center;
	color: #fff;
	font-size: 25px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0px;
	text-align: center;
	background-color: #006b52;
	padding: 8px 16px 7px 16px;
	border-radius: 40px;
}
.btn:hover,.btn:active{
	filter:brightness(1.3);
}


/* group rate */

.group-rate{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	align-self: center;
	font-weight: 700;
}

.group-rate .stars{
	width: 146px; height: 26px;
	flex-shrink: 0;
}

.group-rate .group-rate-text{
	align-self: stretch;
	color: #000;
	font-size: 20px;
}

.group-rate .group-rate-btn{
	margin-left: 1px;
	width: 235px;
	display: flex;
	justify-content: center;
	color: #fff;
	font-size: 25px;
	font-style: normal;
	letter-spacing: 0px;
	text-align: center;
	background-color: #006b52;
	padding: 6px 14px 9px 14px;
	border-radius: 40px;
}
.group-rate .group-rate-btn:hover{
	filter:brightness(1.3);
}






/* footer */

a:hover{
	text-decoration: underline;
}

.footer{
	display: flex;
	align-items: flex-start;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	background-color: #000;
	padding: 21px 5%;
	font-style:normal;
	margin-top:auto;
	justify-content:center;
	width:100%;
}

.footer a{
	margin:0 30px;
}

.footer .separator{
	margin-left: 0;
	color: #fff;
	font-size: 10px;
	font-weight: 400;
}

@media(max-width:740px){
	.footer{
		flex-direction: column;
		align-items:center;
		gap:9px;
	}
	.footer .separator{ display:none;}
}


/* decorations */

.deco-left{
	position: absolute; z-index: -1; top: 45px; pointer-events: none; bottom: 45px;
	left: calc(50vw - var(--half-container));
	transform: translateX(calc(-100% - 35px));
}

.deco-left .bloc-femme{
	height:100%; max-width: fit-content;
}

.deco-right{
	position: absolute; top:45px; z-index: -1; pointer-events: none; bottom: 45px;
	left: calc(50vw + var(--half-container));
}

.deco-right .bloc-homme{
	height:100%; max-width: fit-content;
}


/* modal */


.modal-container{
	position: fixed; z-index: 1000; top: 0; left: 0; right: 0; bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.65);
	display:none;
}

.modal-error{
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background-color: #fff;
	padding: 31px 18px 34px 18px;
	border: 2px solid #008043;
	max-width:400px;
	width:100%;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	margin-left:5%; margin-right:5%;
	display:none;
}

.modal-error .btn-close{
	position: absolute; top: 17px; right: 18px; 
}
.modal-error .btn-close:hover{
	transform: scale(1.1);
	filter:brightness(1.3);
}
.modal-error .btn-close object{
	rotate: 180deg;
	transform-origin: 50% 50%;
	height: 15px;
	pointer-events: none;
}

.modal-error .title{
	margin-right: 12px;
	font-size: 24px;
	font-weight: 500;
	line-height: normal;
}

.modal-error .desc{
	margin-top: 22px;
}

.modal-error .btn-modal{
	margin-left: -12px;
	width: 120px;
	display: flex;
	flex-direction: column;
	align-self: center;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.125;
	margin-top:20px;
}
.modal-error .btn-modal:hover{
	filter:brightness(1.3);
}

.modal-error .btn-modal .fermer{
	position: relative; z-index: 1;
	display: flex;
	justify-content: center;
	flex-shrink: 0;
	font-style: normal;
	letter-spacing: 0px;
	text-align: center;
	background-color: #008043;
	padding: 13px 13px 11px 13px;
	border-radius: 3px;
}

.modal-error .btn-modal .rectangle{
	margin-top: -39px;
	height: 42px;
	flex-shrink: 0;
	background-color: #006025;
	border-radius: 3px;
}
.modal-error .subtitle{
	font-weight:600;
	margin-top:8px;
}
.modal-error ul{
	text-align:left;
	margin-top:4px;
	margin-left:20px;
}
.modal-error ul li{
	list-style-type: disc;
}

.modal1{
	padding: 31px 32px 21px 32px;
	max-width:400px;
}

.visuel-top-mobile{ 
	display:none;
	left:50%; top:-173px;
	transform:translateX(-50%);
	position:absolute;
	/*max-width:436px;*/
	max-height:210px;
	margin:0 auto;
}

.header-mobile{
	width:100%;
	display:none;
	background-color: #F5F5F5;
}
.header-mobile object{
	width:100%;
	max-width:640px;
	margin-left:auto; margin-right:auto;
}



/* responsive */

@media(max-width:1370px){
	body{
		padding:0;
		gap:0;
	}
	.deco-left{ display:none;}
	.deco-right{ display:none;}
	body::before{
		/*background-position:50% calc(-25vw + 100px);*/
		content: '';
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 110%;
		z-index:-2;
		background-image:url(../assets/fond.png);
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		background-position: center top
	}
	.visuel-top-mobile{ display:block; }
	.header-mobile{ display:block;}
	.container{
		margin-top:189px;
		margin-bottom:23px;
		margin-left:5%; margin-right:5%;
	/*	padding-top:112px !important;*/
	}
	.logos-top{ display:none;}
	.footer{
		font-size:10px;
	}
}


@media(max-width:680px){
	
	.container .text-footer{
		margin-top:8px !important;
		font-size:9px;
	}
	.desktop-space{
		line-height:1pt;
	}
	/* texts */
	.text-title{
		font-size:24px;
	}
	.text-std{
		font-size:12px;
	}
}
