/*
╭━━━━━━━━━━━━╯ Karimba.net ╰━━━━━━━━━━━━╮
	Feuille de styles
 __________________________________________________________ 
	© 2019 https://www.karimba.net
╰━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╯
*/

#main div.intro {
	padding: 5%;
    text-align: center;
}
#main div.intro h3 {
	font-size: 2em;
	margin: 0 auto;
	font-weight: 200;
	color: #3E3C3C;
}
#main div.intro h4 {
	display: inline-block;
	position: relative;
	margin: 0 auto;
	font-size: 1.2em;
    line-height: 1em;
	color: #62AD23;
	font-weight: 400;
	text-shadow: 0 0 0.05em #FFF, 0 0 0.05em #FFF, 0 0 0.05em #FFF, 0 0 0.05em #FFF, 0 0 0.05em #FFF, 0 0 0.05em #FFF;
}
#main div.intro h4 strong {
	font-weight: 600;
}
@keyframes tray {
	from {opacity: 0;bottom: -3em;}
	to {opacity: 1;bottom: -1.35em;}
}
#main div.intro h4:after {
	content:"";
	position:absolute;
	display: block;
	width: 3.5em;
	height: 1.4em;
	bottom: -1.35em;
	right: -0.1em;
	background: transparent url(../img/plateau-service.png) no-repeat center top;
	background-size: contain;
	animation: tray 2s ease forwards;
    z-index: -1;
	opacity: 0;
}
section {
	position: relative;
	overflow: hidden;
}
section.presentation,
section.equipe {
	background: #FDF1E4;
}
section .maxwidth {
	display: table;
	width: 100%;
    font-size: 0.8em;
    text-align: center;
}
section .maxwidth .contenu,
section .maxwidth .illustration {
	display: table-cell;
	position: relative;
    vertical-align: middle;
	padding: 5%;
}
section .maxwidth .contenu {
	width: 60%;
}
section .maxwidth .illustration {
	width: 40%;
	font-size: 0.6em;
}

section .maxwidth .illustration img {
	display: block;
	width: 100%;
	background: #3E3C3C;
}
section .maxwidth .illustration.mobileonly {display:none;}

section .maxwidth h4 {
	font-size: 1.2em;
	font-weight: 400;
	color: #AF1917;
	margin-bottom: 0.8em;
	line-height: 1.1em;
}
section .maxwidth p {
    margin-bottom: 1em;
    line-height: 2em;
    font-size: 0.8em;
}
section div.carre1,
section div.carre2,
section div.carre3,
section div.carre4,
section div.carre5 {
	position: absolute;
}
section.presentation div.carre1 {
    width: 2em;
    height: 2em;
    bottom: 1.5em;
    left: 2em;
    background: #FFF;
}
section.presentation div.carre2 {
    width: 0.8em;
    height: 0.8em;
    top: 1.5em;
    left: 0.5em;
	border: 1px solid #AF1917;
}
section.presentation div.carre3 {
	width: 0.6em;
    height: 0.6em;
    top: 0.5em;
    left: 4.5em;
	background: #AF1917;
}
section.presentation div.carre4 {
	width: 5em;
    height: 5em;
    top: 1em;
    right: 1em;
    background: #F9D7B3;
}
section.presentation div.carre5 {
    width: 1em;
    height: 1em;
    bottom: 1em;
    right: 39%;
    border: 1px solid #62AD23;
    opacity: 0.5;
}

section.histoire div.carre1 {
    width: 2.5em;
    height: 2.5em;
    top: 1em;
    right: 1em;
    background: #FDF1E4;
}
section.histoire div.carre2 {
    width: 1.2em;
    height: 1.2em;
    top: 6.5em;
    right: 0.5em;
    border: 1px solid #62AD23;
}
section.histoire div.carre3 {
	width: 0.8em;
    height: 0.8em;
    bottom: 0.5em;
    right: 6.5em;
    background: #AF1917;
}
section.histoire div.carre4 {
	width: 8em;
    height: 8em;
    bottom: 1.8em;
    left: 1em;
    border: 1px solid #AF1917;
    opacity: 0.5;
}
section.histoire div.carre5 {
	width: 3em;
    height: 3em;
    top: 5em;
    left: 1.5em;
    background: #FDF1E4;
}

section.equipe div.carre1 {
	width: 1.5em;
    height: 1.5em;
    bottom: 0.5em;
    left: 7.2em;
	background: #FBE3C9;
}
section.equipe div.carre2 {
    width: 3.5em;
    height: 3.5em;
    bottom: 1em;
    left: 2.5em;
    border: 2px solid #FFF;
}
section.equipe div.carre3 {
	width: 1.8em;
    height: 1.8em;
    top: 0.8em;
    left: 44%;
    background: #FFF;
}
section.equipe div.carre4 {
    width: 0.8em;
    height: 2.2em;
    top: 1em;
    right: 0;
    background: #62AD23;
}
section.equipe div.carre5 {
    width: 2em;
    height: 2em;
    bottom: 1em;
    right: 1.2em;
	border: 1px solid #AF1917;
}

section.locaux div.carre1 {
	width: 1.5em;
    height: 1.5em;
    top: 1.5em;
    right: 0.8em;
	background: #FBE3C9;
}
section.locaux div.carre2 {
    width: 0.5em;
    height: 0.5em;
    bottom: 2em;
    right: 0.5em;
    border: 1px solid #62AD23;
}
section.locaux div.carre3 {
	width: 6em;
    height: 0.8em;
    bottom: 0;
    right: 4em;
    background: #FBE3C9;
}
section.locaux div.carre4 {
    width: 0.6em;
    height: 0.6em;
    bottom: 5em;
    left: 1.1em;
    background: #62AD23;
}
section.locaux div.carre5 {
    width: 6em;
    height: 6em;
    bottom: 0.5em;
    left: 2.2em;
	border: 1px solid #AF1917;
}


@media (max-width : 800px) {
	section .maxwidth {font-size: 0.9em;}
}
@media (max-width : 700px) {
	section .maxwidth {font-size: 1em;}
}
@media (max-width : 600px) {
	#main div.intro {padding: 5% 20px 8%;}
	section .maxwidth {font-size: 18px;display: block;padding: 5% 20px;}
	section .maxwidth .contenu, section .maxwidth .illustration {
		display: block;
		padding: 0;
	    width: 100%
	}
	section .maxwidth .illustration.desktoponly {display:none;}
	section .maxwidth .illustration.mobileonly {display:block;}

	section div.carre1,
	section div.carre2,
	section div.carre3,
	section div.carre4,
	section div.carre5 {display: none;}
	section .maxwidth .illustration img {width: 50%;margin: 0 auto;}
}
@media (max-width : 450px) {
	#main div.intro h3 {line-height: 0.9em;}
	#main div.intro h4 {margin: 5% auto;}
	#main div.intro h4 strong {display: block;}
	#main div.intro h4:after {
		right:auto;
		left: 50%;
	    margin-left: -1.75em;
	}
	section .maxwidth {padding: 10% 20px;}
	section .maxwidth .illustration img {width: 100%;}
	section .maxwidth p {margin-bottom: 0.7em;line-height: 1.5em;}
}





/* ╰━━┅┉┈  © KARIMBA.NET - www.karimba.net  ┈┉┅━━╯ */