/*
Theme Name: HappyAsso Theme
Author: Paco Delmote
Author URI: https://www.pacodelmote.com
Version: 1.0.0
*/
@font-face {
	font-family: Urbanist;
	src: url("./fonts/Rubik-VariableFont_wght.ttf");
	font-display: swap;
}

:root {
	--color-dark: #0d0d0d;
	--color-text: #212121;
	--color-1: #4442e4;
	--color-2: #ff5c4e;
	--color-3: #ffcc68;
	--color-4: #fcbecd;
	--color-5: #6664e4;
	--color-bg: #4442e4;
	--color-bg-light: #eeeeee;
	--max-width: 1200px;
	--col-gap: 2em;
	--box-shadow: 18px 17px 6px 5px rgba(0, 0, 0, 0.22);
	--box-shadow-border: 0 0 0 5px var(--color-1), 0 0 0 14px #fff, 18px 17px 6px 5px rgba(0, 0, 0, 0.22);
	--text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.30);
}

*,
::after,
::before {
	box-sizing: border-box
}

* {
	margin: 0;
}

body,
html {
	height: 100%;
	min-height: 100vh;
	font-family: Urbanist, sans-serif;
}

canvas,
img,
picture,
svg,
video {
	display: block;
	max-width: 100%
}

button,
input,
select,
textarea {
	font: inherit
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	overflow-wrap: break-all;
}

a {
	color: inherit;
	text-decoration: inherit;
}

ul,
li {
	padding: 0;
	margin: 0;
	list-style: none;
}

body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	color: var(--color-dark);
	font-family: var(--main-font), sans-serif;
	font-weight: 450;
	background-color: var(--color-bg);
}

h1 {
	font-size: 3em;
	line-height: 1em;
}

h2 {
	font-size: 2em;
	line-height: normal;
}

h3 {
	font-size: 1.2em;
}

p {
	font-size: 1.1em;
	color: var(--color-1);
	z-index: 10;
}

.spacer {
	width: 100%;
	height: 1em;
	display: block;
}

p svg {
	display: inline-block;
	vertical-align: top;
}

.quote,
.item-list,
.price-container {
	z-index: 5;
}

/****************************************************************************/
/************************************	END Rules		*********************/
/************************************	START Header	*********************/
/****************************************************************************/
#header,
.highlight-menu,
#logo,
#logo span.underline::after {
	transition: all 0.2s;
}

#header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 2em 3.8em;
	background-color: var(--color-bg);
	z-index: 100;
	color: #fff;
}

#header.scrolled {
	background-color: #fff;
	color: #4442e4;
	padding: 1.1em 3.8em;
	box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.15);
}

#header.scrolled #logo span.underline::after {
	background-color: var(--color-1);
}

#header.scrolled .highlight-menu {
	color: #fff;
	background-color: var(--color-1);
	padding: 0.3em 0.8em;
}

#logo {
	font-size: 2em;
	font-weight: 700;
	align-self: center;
}

#logo span.underline {
	position: relative;
}

#logo span.underline::after {
	content: "";
	background-color: #fff;
	height: 3px;
	border-radius: 2px;
	width: 100%;
	position: absolute;
	bottom: 1px;
	left: 0px;
}

#logo span.soft {
	font-weight: 400;
	font-size: 0.9em;
	padding-left: 0.1em;
}

#menu {
	display: flex;
	flex-direction: row;
	column-gap: 1.8em;
	font-size: 1.4em;
	font-weight: 600;
	align-items: center;
}

#menu a {
	position: relative;
}

#menu a.underlined::after {
	content: "";
	position: absolute;
	background-color: #fff;
	height: 3px;
	width: 0%;
	border-radius: 3px;
	transition: all 0.4s ease;
	bottom: 0;
	left: 0;
}

#header.scrolled #menu a.underlined::after {
	background-color: var(--color-1);
}

#menu a.underlined:hover::after {
	width: 100%;
}

.highlight-menu {
	color: var(--color-1);
	background-color: #fff;
	padding: 0.4em 0.8em;
	border-radius: 1em;
}

#header-spacer {
	height: 6em;
}

/*#icons-resp {
	display: none;
	width: 48px;
	height: 48px;
	position: relative;
}
#icons-resp svg {
	fill: #fff;
}
#header.scrolled svg {
	fill: var(--color-1);
}

#menu-open, #menu-close {
	position: absolute;
	top: 0;
	left: 0;
	transition: all 0.3s ease;
}
#menu-close {
	display: none;
}
#menu-open {
	display: block;
}
#icons-resp.isopen #menu-open {
	display: none;
}
#icons-resp.isopen #menu-close {
	display: block;
}*/
/****************************************************************************/
/************************************	END Header		*********************/
/************************************	START Body		*********************/
/****************************************************************************/
/*#background {
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	opacity: 0.1;
}*/
section {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 4em 1.5em;
	overflow-x: clip;
}

.container {
	position: relative;
	display: flex;
	flex-direction: column;
	row-gap: 2.8em;
	width: 100%;
	max-width: var(--max-width);
	background-color: var(--color-bg-light);
	padding: 3em 3em;
	box-shadow: 15px 14px 15px 5px rgba(0, 0, 0, 0.20);
	align-items: center;
}

.bgdot {
	background-image: url(./medias/bg_hero.png);
	background-repeat: repeat;
}

.transp {
	background: none;
	box-shadow: none;
	padding: 0 3em;
}

#hero-container {
	position: relative;
	display: flex;
	flex-direction: row;
	column-gap: 2em;
	width: 100%;
	max-width: var(--max-width);
	background-color: var(--color-bg-light);
	padding: 1em;
	height: 550px;
	box-shadow: 15px 14px 15px 5px rgba(0, 0, 0, 0.20);
	/*	overflow: hidden;*/
}

#hero-left {
	width: 85%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}

#hero-right {
	width: 110%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 1.5em;
	padding: 1em 0;
	z-index: 10;
}

#hero-pic {
	background-image: url(./medias/hero.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	width: 70%;
	padding-top: 85%;
	border-top-left-radius: 35px;
	border-bottom-right-radius: 35px;
	box-shadow: var(--box-shadow-border);
	transform: rotate(-3deg);
}

#hero-pic-mobile {
	display: none;
	background-image: url(./medias/hero-mobile.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	width: 80%;
	padding-top: 50%;
	border-top-left-radius: 35px;
	border-bottom-right-radius: 35px;
	box-shadow: var(--box-shadow-border);
	transform: rotate(-3deg);
	margin: 1em 0;
}

#wave-1,
#wave-2 {
	position: absolute;
	z-index: 3;
	transition: all ease;
	fill: var(--color-5);
}

#wave-1 {
	top: 1%;
	left: -0.2%;
}

#wave-2 {
	bottom: 12%;
	right: -4%;
	transform: rotate(90deg);
}

h1 {
	color: var(--color-1);
	font-size: 4.5em;
	font-weight: 800;
	padding: 0;
}

h2 {
	color: #fff;
	font-size: 2.8em;
	font-weight: 800;
	padding-bottom: 1em;
	text-align: center;
	text-shadow: var(--text-shadow);
}

h4 {
	font-size: 1.1em;
}

p span,
li span {
	font-weight: 550;
	position: relative;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: var(--color-2);
}

/*p span::after, li span::after {
	content: "";
	position: absolute;
	background-color: var(--color-2);
	height: 2px;
	width: 100%;
	border-radius: 3px;
	transition: all 0.4s ease;
	bottom: -1px;
	left: 0;
}*/
.bouton {
	padding: 0.7em 0.6em;
	background-color: var(--color-1);
	font-size: 1.2em;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.02em;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	width: fit-content;
	box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.2);
	transition: all ease 0.2s;
}

.bouton:hover {
	transform: scale(1.03);
	box-shadow: 4px 4px 6px 0px rgba(0, 0, 0, 0.2);
}

.hero-right-content {
	max-width: 80%;
	text-align: justify;
}

.hero-right-content p {
	color: var(--color-2);
}

/***************	infos		*******************/
.container-infos {
	display: flex;
	width: 100%;
	flex-direction: row;
	justify-content: space-around;
	column-gap: 2em;
}

.item-info {
	position: relative;
	display: flex;
	flex-direction: column;
	row-gap: 0.5em;
	width: 100%;
	max-width: var(--max-width);
	background-color: var(--color-bg-light);
	padding: 3em 3em;
	box-shadow: 15px 14px 15px 5px rgba(0, 0, 0, 0.20);
	align-items: center;
}

.item-info h3 {
	font-size: 1.1em;
}

/***************	fin infos	*******************/
.item-list {
	width: 100%;
	max-width: 850px;
}

.max600 {
	max-width: 600px;
}

.item-list h3 {
	padding-bottom: 1.2em;
	text-align: center;
	color: var(--color-text);
}

.item-list li {
	display: block;
	padding-left: 2em;
	padding-bottom: 0.6em;
	position: relative;
	color: var(--color-1);
}

.item-list li::before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' width='24'%3E%3Cpath fill='%23ff5c4e' d='m9.55 18.55-6.3-6.3 1.875-1.875L9.55 14.8l9.375-9.375L20.8 7.3Z' /%3E%3C/svg%3E");
	width: 24px;
	height: 24px;
	display: inline-block;
	position: absolute;
	left: 0;
	top: 0.1em;
}

.itemprice {
	justify-content: center;
}

.container-mini {
	max-width: 600px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.price-container {
	text-align: center;
	line-height: 4em;
	box-shadow: var(--box-shadow-border);
	width: fit-content;
	padding: 2em 1.5em;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	transform: rotate(-5deg);
	background-color: #fff;
	margin-left: -1em;
}

.firstprice {
	font-size: 5em;
}

.secondprice {
	font-size: 3.2em;
}

.firstprice,
.secondprice {
	color: var(--color-1);
	font-weight: 600;
	transform: rotate(5deg);
}

.firstprice span,
.secondprice span {
	font-size: 0.5em;
	color: var(--color-2);
}

.quote {
	color: var(--color-2);
	font-size: 2.4em;
	font-weight: 800;
	padding-bottom: 1em;
	text-align: center;
	line-height: 1.2em;
}



/********************** FORMULAIRE ************/
.container-contact {
	position: relative;
	display: flex;
	flex-direction: row;
	column-gap: 5em;
	width: 100%;
	max-width: var(--max-width);
	padding: 0em 3em;
	align-items: center;
}

#formulaire {
	display: flex;
	flex-direction: column;
	width: 150%;
}

.form-line {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	column-gap: 2em;
	padding-bottom: 2em;
}

.form-line input {
	width: 100%;
}

input,
textarea,
#envoyer {
	padding: 0.8em 1.2em;
	line-height: 1.2em;
	outline: none;
	border: none;
	border-radius: 8px;
	font-size: 1.1em;
	color: var(--color-text);
	box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.3);
}

input:focus,
textarea:focus {
	box-shadow: 4px 4px 7px 0px rgba(0, 0, 0, 0.3), inset 1px 1px 2px 1px rgba(0, 0, 0, 0.4);
}

input::placeholder,
textarea::placeholder {
	color: #555;
}

textarea {
	min-height: 8em;
	width: 100%;
}

.contacts {
	width: 50%;
}

#envoyer {
	color: var(--color-text);
	background-color: var(--color-3);
	font-size: 1.3em;
	font-weight: 800;
	max-width: 800px;
	width: 100%;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

#envoyer:hover {
	transform: scale(1.02);
}

#statut-mail {
	height: 0;
	width: 100%;
	color: #eeeeee;
}

#mail-error {
	color: #eeeeee;
}

#mail-succes {
	color: #eeeeee;
}

/****************************************************************************/
/************************************	END Body		*********************/
/************************************	START Footer	*********************/
/****************************************************************************/
#footer-container {
	width: 100%;
	background-color: var(--color-text);
	padding: 2em;
	display: flex;
	align-items: center;
	flex-direction: column;
}

#footer {
	flex-direction: column;
	width: 100%;
	max-width: var(--max-width);
	color: #fff;
	display: flex;
	row-gap: 2em;
}

.footer-row {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	column-gap: 4em;
}

#footer p {
	color: #fff;
}

#footer h2 {
	font-size: 1.1em;
	padding-bottom: 1em;
	text-align: left;
}

.info {
	padding-bottom: 0.6em;
}

.info svg {
	fill: var(--color-2);
	display: inline;
	vertical-align: top;
	margin-right: 0.5em;
}

.info p {
	display: inline-block;
}

#footer img {
	border: #fff 3px solid;
	border-radius: 10px;
	float: right;
	margin: 0 0 1em 2em;
}

.footer-item:last-child {
	flex-basis: 405px;
}

.footer-bottom {
	margin-top: 1em;
	text-align: center;
	width: 100%;
	color: var(--color-bg-light);
	font-size: 0.9em;
	font-weight: 500;
}

.footer-bottom a {
	text-decoration: underline;
}

/*********************************************************************/
/**********************		HABILLAGE		**************************/
/*********************************************************************/
.moving {
	position: absolute;
	z-index: 2;
	transition: all ease;
}

.moving svg {
	filter: drop-shadow(5px 5px 4px rgba(0, 0, 0, 0.22));
}

.bgmobile {
	position: absolute;
	z-index: 2;
	display: none;
	opacity: 0.6;
}

/****/
.moving1 {
	animation-name: moving1;
	animation-duration: 6s;
	animation-iteration-count: infinite;
}

@keyframes moving1 {
	0% {
		transform: translate(0%, 0%);
	}

	33% {
		transform: translate(-6%, 5%);
	}

	66% {
		transform: translate(-7%, 0%);
	}

	100% {
		transform: translate(0%, 0%);
	}
}

.moving2 {
	animation-name: moving2;
	animation-duration: 7s;
	animation-iteration-count: infinite;
}

@keyframes moving2 {
	0% {
		transform: translate(0%, 0%);
	}

	33% {
		transform: translate(8%, 4%);
	}

	66% {
		transform: translate(-4%, 5%);
	}

	100% {
		transform: translate(0%, 0%);
	}
}

.moving3 {
	animation-name: moving3;
	animation-duration: 8s;
	animation-iteration-count: infinite;
}

@keyframes moving3 {
	0% {
		transform: translate(0%, 0%);
	}

	33% {
		transform: translate(6%, -6%);
	}

	66% {
		transform: translate(-8%, 4%);
	}

	100% {
		transform: translate(0%, 0%);
	}
}

.moving4 {
	animation-name: moving4;
	animation-duration: 5s;
	animation-iteration-count: infinite;
}

@keyframes moving4 {
	0% {
		transform: translate(0%, 0%);
	}

	33% {
		transform: translate(4%, 4%);
	}

	66% {
		transform: translate(6%, -4%);
	}

	100% {
		transform: translate(0%, 0%);
	}
}

/*********************************************************************/
/**********************		RESPONSIVE		**************************/
/*********************************************************************/
@media screen and (max-width: 1200px) {
	h1 {
		font-size: 3.7em;
	}

	p {
		font-size: 1em;
	}

	.item-list {
		max-width: 700px;
	}
}

@media screen and (max-width: 992px) {
	h1 {
		font-size: 2.9em;
	}

	.moving {
		opacity: 0;
	}

	.bgmobile {
		display: block;
	}

	#hero-container .moving {
		opacity: 1;
	}

	.bouton {
		font-size: 1.1em;
	}

	#hero-pic {
		width: 90%;
		padding-top: 120%;
	}

	#logo {
		font-size: 1.8em;
	}

	#menu {
		font-size: 1.3em;
	}
}

@media screen and (max-width: 768px) {
	section {
		padding: 2em 0.8em;
	}

	h1 {
		font-size: 2.5em;
	}

	h2 {
		font-size: 2.2em;
	}

	#hero-container .moving {
		opacity: 0;
	}

	#hero-container {
		height: auto;
	}

	#hero-left {
		display: none;
	}

	#hero-right {
		align-items: center;
	}

	.hero-right-content {
		max-width: 100%;
	}

	#wave-1,
	#wave-2 {
		display: none;
	}

	.footer-row {
		flex-direction: column;
		row-gap: 2em;
	}

	.form-line {
		flex-direction: column;
		padding-bottom: 1.6em;
		row-gap: 1.6em;
	}

	.footer-item:last-child {
		flex-basis: unset;
	}

	#hero-pic-mobile {
		display: block;
	}

	.underlined {
		display: none;
	}

	#header,
	#header.scrolled {
		padding: 1em 1.1em;
	}

	#logo {
		font-size: 1.6em;
	}

	#menu {
		font-size: 1.3em;
	}

	#header-spacer {
		height: 4em;
	}

	input,
	textarea {
		padding: 0.7em 1.2em;
		line-height: 1em;
	}

	.container-contact {
		padding: 1.5em;
	}

	.quote {
		font-size: 2em;
	}
}

@media screen and (max-width: 320px) {}