/*
Theme Name: Espaces Verts SARL LARRUS
Theme URI: Espaces Verts SARL LARRUS
Description: Prenez soin de votre jardin avec la SARL LARRUS
Version: 1
Author: Kvin
*/


/*corps de la page web */

body {
margin: 0;
background: #306a43;
}

@font-face {
font-family: "futurabold";
src: url('font/FuturaBold.ttf');
}

@font-face {
font-family: "poppins";
src: url('font/Poppins.ttf');
}

@font-face {
font-family: "poppinsbold";
src: url('font/PoppinsBold.ttf');
}

@font-face {
font-family: "kind";
src: url('font/kind.otf');
}

/* gestion de l'entte */

header {
position: absolute;
background: none;
z-index: 100;
}

header img {
margin-top: 15%;
margin-left: 15%;
width: 50%;
height: auto;
}

#logo {
width: 20vw;
float: left;
z-index: 30;
}

ul
{
	list-style: none;
	padding: 0;
	margin: 0;
}

/************************************************
HEADER
*************************************************/

header #nav
{
	width: 90vw;
	height: 105px;
	z-index: 150;
	display: block;
	float: right;
	margin-top: 1%;
	cursor: pointer;
	overflow-x: hidden;
}



header #nav li a.active, header #nav li a:hover
{
	border-top: 2px solid #306a43;
	color: black;
}

header.colorWhite #nav li a:hover {
	border-top: 2px solid white;
}

.menu-toggle, .main-menu .menu-close
{
	display: none;
}

.main-menu
{
	position: relative;
	top: auto;
	left: auto;
	height: auto;
}

.main-menu ul
{
	float: right;
}

.main-menu li
{
	float: left;
	display: table;
}

.main-menu a
{
	display: table-cell;
	text-decoration: none;
	color: white;
	height: 78px;
	vertical-align: middle;
	font-weight: 900;
	padding: 0 25px;
	text-transform: uppercase;
	font-family: "poppinsbold";
	font-size: 13px;
	cursor: pointer;
}

header.colorGreen a { color: #306a43; }
header.colorWhite a { color: white; }

/* RESPONSIVE SMARTPHONE */

@media (min-width : 100px) and (max-width : 1024px)
{
	header #nav
	{
width: 100vw;
	}

	.menu-toggle
	{
		display: block;
		float: right;
		font-size: 25px;
		text-decoration: none;
		text-transform: uppercase;
		color: black;
		margin: 13px 3% 0 0;
		outline: none;
		font-family: "poppinsbold";
	}

	.main-menu
	{
		position: absolute;
		top: -100vh;
		width: 100vw;
		-webkit-transition: top 0.3s ease;
		-moz-transition: top 0.3s ease;
		transition: top 0.3s ease;
		z-index: 50;
	}

	.main-menu #bg-toggle
	{
		list-style: none;
		width: 100vw;
		height: 100vh!important;
		background: black;
		z-index: 100!important;
		position: absolute;
	}

	.main-menu ul
	{
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.main-menu ul.centerHVresponsive
	{
		position: absolute;
		top: 50%;
		left: 50%;
		-webkit-transform: translate(-50%, -50%);
		-moz-transform: translate(-50%, -50%);
		transform: translate(-50%, -50%);
	}

	.main-menu li
	{
		float: none;
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 12px;
		font-size: 20px;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

	.main-menu li a
	{
		display: block;
		color: white;
		height: auto;
		border-top: 0;
		font-weight: 400;
		text-transform: uppercase;
		margin-top: 40px;
	}

	.main-menu li a.active, .main-menu li a:hover
	{
		border-top: 0!important;
		color: #306a43!important;
	}

	.main-menu li a:hover
	{
		color: black;
	}

	a#main-menu-close
	{
		height: auto;
	}

	.main-menu .menu-close
	{
		display: block;
		position: absolute;
		top: 22px;
		border-top: 0;
		font-size: 17px;
		color: white!important;
		z-index: 200;
		margin-left: 50%;
	}
	
	.main-menu .menu-close a {
	text-decoration: none;
	color: white;
	text-transform: uppercase;
	}

	.main-menu:target, .main-menu[aria-expanded="true"]
	{
		top: 0;
		outline: none;
	}
	
#logo {
width: 25vw!important;
}
}

/* gestion du contenu */


@media (min-width : 100px) and (max-width : 1023px)
{
#zero {
height: 30vh!important;
}

#zero img {
width: 100%!important;
height: 30vh!important;
}

#zero p {
font-size: 10px!important;
top: 25%!important;
}

#zero p:last-child {
font-size: 10px!important;
}

#un h1 {
padding: 10px 0 10px 0!important;
font-size: 20px!important;
}

#un-haut {
height: 25vh!important;
}

#un-bas {
height: 25vh!important;
}

#un-haut article img {
-webkit-filter: none!important;
	filter: none!important;
	-webkit-transition: none!important;
	transition: none!important;
opacity: 0.5;
}

#un-bas article img {
-webkit-filter: none!important;
	filter: none!important;
	-webkit-transition: none!important;
	transition: none!important;
opacity: 0.5;
}

#un-haut h2 {
font-size: 10px!important;
font-size: 10px!important;
text-decoration-color: #306a43!important;
text-decoration-thickness: 2px!important;
}

#un-bas h2 {
font-size: 10px!important;
text-decoration-color: #306a43!important;
text-decoration-thickness: 2px!important;
}

#deux h2 {
font-size: 20px!important;
}

#deux h1 {
font-size: 20px!important;
}

#personnel img {
width: 100px!important;
height: 100px!important;
}

#personnel h2 {
font-size: 20px!important;
}

#personnel p {
font-size: 15px!important;
}

#presentation {
padding-top: 15vh!important;
}

#presentation article {
display: block!important;
}

#presentation img {
width: 90%!important;
}

#presta article {
display: block!important;
}

#presta img {
width: 300px!important;
height: 150px!important;
}

#presta span {
font-size: 10px!important;
}

#presta h1 {
font-size: 20px!important;
}

#presta p {
font-size: 15px!important;
}

.photos article {
width: 33%!important;
margin-left: 5%!important;
}

.photos img {
width: 100px!important;
height: 100px!important;
}

.photos a {
font-size: 5px!important;
}

#realisations h1 {
font-size: 15px!important;
}

#realisations {
padding-top: 20%!important;
}

#content {
padding-top: 100px!important;
}

}

@media (min-width : 666px) and (max-width : 1023px)
{

#zero p {
font-size: 20px!important;
top: 55%!important;
}

#zero {
height: 60vh!important;
}

#zero img {
width: 100%!important;
height: 60vh!important;
}

.photos img {
width: 200px!important;
height: 200px!important;
}

.photos a {
font-size: 10px!important;
}

#realisations h1 {
font-size: 20px!important;
}

#content {
z-index: 50!important;
}
}

#zero {
width: 100vw;
height: 88vh;
overflow: hidden;
background: #c6d0c6;
}

#zero article {
width: 100vw;
height: 88vh;
margin: 0 auto;
position: relative;
}

#zero img:last-child {
object-fit: cover;
object-position: center;
width: 100%;
height: 100%;
z-index: 1;
position: relative;
margin: 0 auto;
opacity: 0.6;
}

#zero p {
z-index: 10;
top: 80%;
right: 10%;
float: right;
font-size: 20px;
color: white;
position: absolute;
font-family : "poppinsbold";
display: block;
}

#zero span {
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-color: white;
text-decoration-thickness: 4px;
text-underline-position: under;
color: white;
}

#zero p {
margin: 0 auto;
width: 80vw;
}

#un {
width: 100vw;
overflow: hidden;
margin: 0 auto;
background-color: white;
}

#un h1 {
width: 100vw;
background: #306a43;
text-align: center;
color: white; 
font-family: "poppinsbold";
padding: 30px 0 30px 0;
height: auto;
background-color: #306a43;
margin: 0 auto;
font-size: 30px;
}

#un-haut {
width: 100vw;
height: 50vh;
display: flex;
flex-direction: row;
flex: auto;
margin: 0 auto;
}

#un-haut article {
width: 50vw!important;
height: 100%;
}

#un-haut article img {
width: 100%;
height: 100%;
object-fit: cover;
-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}

#un-haut article img:hover {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

#un-bas article img {
width: 100%;
height: 100%;
object-fit: cover;
-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: .1s ease-in-out;
	transition: .1s ease-in-out;
}

#un-haut h2 {
position: absolute;
font-family: "poppinsbold";
color: #306a43;
text-transform: uppercase;
font-size: 20px;
z-index: 50;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-color: white;
text-decoration-thickness: 3px;
padding: 10px 10px 0px 10px;
}

#un-haut a {
cursor: pointer;
}

#un-bas {
width: 100vw;
height: 50vh;
display: flex;
flex-direction: row;
flex: auto;
margin: 0 auto;
}

#un-bas article {
width: 50vw!important;
height: 100%;
margin: 0 auto;
}

#un-bas h2 {
position: absolute;
font-family: "poppinsbold";
color: #306a43;
text-transform: uppercase;
font-size: 20px;
z-index: 50;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-color: white;
text-decoration-thickness: 6px;
padding: 10px 10px 0px 10px;
}

#un-bas article img:hover {
-webkit-filter: grayscale(0);
	filter: grayscale(0);
}

#deux {
position: relative;
height: auto;
width: 100vw;
background-color: white;
overflow-x: hidden;
}

#deux h2 {
text-align: center;
font-size: 35px;
padding-top: 50px;
color: #306a43;
}

#deux h1 {
text-align: center!important;
font-size: 40px;
padding-top: 100px;
font-family: "poppinsbold";
}

#deux a:first-child {
text-decoration: none;
border: 1px solid #306a43;
padding: 20px;
color: #306a43;
}

#personnel {
display: flex;
flex-direction: row;
width: 100vw;
}

#personnel article {
width: 50vw;
text-align: center;
padding-bottom: 5%;
}

#personnel img {
object-fit: cover;
object-position: center;
width: 200px;
height: 200px;
border-radius: 200px 200px;
}

#personnel h2 {
font-family: "poppinsbold";
font-size: 30px;
}

#personnel p {
font-family: "poppins";
color: #306a43;
font-size: 20px;
letter-spacing: 2px;
}

#trois {
width: 100vw;
height: 50vh;
background-color: #306a43;
position: relative;
overflow: hidden;
}

#trois h2 {
margin: 0!important;
}

#trois p {
margin: 0!important;
}

iframe {
width: 100%!important;
}

#presentation {
width: 100vw;
margin: 0 auto;
height: auto;
font-family: "poppins";
padding-top: 10%;
background-color: #306a43;
color: white;
}

#presentation article {
display: flex;
}

#presentation img {
object-fit: cover;
object-position: center;
width: 90%;
height: auto;
margin-left: 5%;
}

#presentation p {
font-size: 17px;
margin-left: 5%;
}

#presta {
width: 100vw;
background-color: #306a43;
color: white;
}

#presta img {
width: 400px;
height: 400px;
object-fit: cover;
object-position: center;
margin-left: 5%;
}

#presta span {
font-size: 13px;
text-decoration: none!important;
}

#presta article {
width: 95%;
display: flex;
margin: 0 auto;
}

#presta p {
font-family: "poppins";
font-size: 20px;
text-align: left;
vertical-align: center;
padding-left: 3%;
}

#presta h1 {
font-family: "poppinsbold";
font-size: 40px;
color: white;
text-decoration: underline;
margin-left: 5%;
background-color: #306a43;
}

#realisations {
width: 100vw;
padding-top: 10%;
color: white;
}

.photos {
width: 100vw;
display: flex;
flex-direction: row;
}

#realisations h1 {
font-family: "poppinsbold";
text-decoration: underline;
font-size: 30px;
text-align: center;
}

#realisations h1:first-child {
padding-top: 0!important;
}

.photos article {
width: 25%;
margin-left: 7.5%;
padding-bottom: 3%;
}

.photos a {
text-decoration: none;
font-family: "poppins";
font-size: 12px;
color: white;
}

.photos img {
width: 100%;
max-height: 250px;
object-fit: cover;
}

#content {
position: relative;
padding-top: 10%;
column-count: 2;
-webkit-column-count: 2;
-moz-column-count: 2;
column-gap: 0;
-webkit-column-gap: 0;
-moz-column-gap: 0;
width: 95vw;
margin: 0 auto;
}

#content img {
width: 95%;
height: auto;
object-fit: cover;
object-position: center;
}


/* gestion de la sidebar */

sidebar {}

/* gestion du footer */

footer {
width: 100vw;
height: 40px;
background-color: black;
margin: 0!important;
}

footer a {
text-decoration: none;
color: white;
font-size: 15px;
font-family: "poppins";
text-decoration: underline;
}

footer p {
color: white;
font-size: 15px;
font-family: "poppins";
text-align: right;
margin-right: 10%;
margin-top: 0!important;
}