/*
 Theme Name:   DavidD THEME
 Theme URI:    No
 Description:  This theme is designed for ALTERATIVE DECHETS
 Author:       David Ducrocq DIMI
 Author URI:   https://ducrocqdavid.fr
 Version:      1.1
 Requires PHP: 5.6
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:        wordpress, dev
 Text Domain:  DavidDTheme
*/

/*======================================
//--//-->   PERSONAL STYLE
======================================*/
/*
* chargement des fonts
*/

@font-face {
    font-family: 'dancing script';
    src: url('fonts/dancingscript-variablefont_wght-webfont.woff2') format('woff2'),
         url('fonts/dancingscript-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


/* config page*/

*{
    padding:0;
    margin: 0 ; 
    list-style-type: none;
	background: linear-gradient(180deg, rgba(1,136,161,1) 0%, rgba(0,68,80,1) 100%);
	text-decoration: none;
	box-sizing: border-box;
}

body { 
	background: transparent;
}
/* end config page*/


/* Menu "responsive 1" */

nav { 
	
	height: 100px;
	width: 100%;
} 


label.logo { 
	background: transparent;
	color:#E2FEE8 ;
	font-family: 'dancing script', cursive;
	font-size: 56pt;
	padding: 0 100px;
	line-height: 80px;

}
nav ul {
	background: transparent;
	float: right; 
	margin-right: 20px;
}

nav ul li { 
	background: transparent;
	display: inline-block;
	line-height: 80px ;
	margin: 10px 5px;
}

nav ul li a { 
	background: transparent;
	color:#E2FEE8 ;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 20pt; 
	padding: 7px 13px;
	border-radius: 15px;
}

p {
	background: transparent;
	color:#E2FEE8 ;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 20pt; 
	padding: 25px;

}

a.active,a:hover { 
	background: #9EBABF;
	transition: .5s;
}

.checkbtn { 
	font-size: 30px; 
	color: #E2FEE8;
	float: right;
	line-height: 80px;
	margin-right: 40px;
	cursor: pointer;
	display: none;
}

#check{
	display: none;
  }

  @media (max-width: 952px){
	label.logo{
	  font-size: 30px;
	  padding-left: 10px;
	}
	nav ul li a{
	  font-size: 16px;
	}
  }
  @media (max-width: 858px){
	label.logo{
		font-size: 30px;
		padding: 10px;
	  }

	.checkbtn{
	  display: block;
	}
	ul a{
	  position: fixed;
	  width: 100%;
	  height: 100vh;
	  background: black;
	  top: 80px;
	  left: -100%;
	  text-align: center;
	  transition: all .5s;
	}
	nav ul li a{
	  display: block;
	  margin: 50px 0;
	  line-height: 30px;
	}
	nav ul li a{
	  font-size: 20px;
	}
	a:hover,a.active{
	  background: none;
	  color: #0082e6;
	}
	#check:checked ~ ul{
	  left: 0;
	}
  } 


nav.navigation { 
	background: transparent;
}


  /* fin Menu "responsive"*/



/* Menu "responsive 2" */
.navigation-2 {
	background: #E2FEE8;
}
.navigation-2 a{
	color : #025F70;
}
.navigation-2 label{
	color : #025F70;
}



  /* fin Menu "responsive"*/



/* fonts titres et corp de texte*/ 
h1 { 
	background: transparent;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 70px ;
	color: #E2FEE8;
	padding: 15px;
	
	}

.left h1 {
	text-align: center;
}

h2 { 
	background: transparent;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 50px ;
	color: #E2FEE8;
	padding: 15px;
	text-align: center;

}


h3 { 
	background: transparent;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 30px ;
	color: #E2FEE8;
	margin: 5px;
	text-align: center;
	
	}

h4.acf {
	margin-left: 50px;
	text-align: left;
	font-family: 'dancing script', cursive;
	font-size: 30px;
	background: transparent;
	color: #E2FEE8;




}

p ul li{ 
		background: transparent;
		font-family: 'Calibri', 'Regular'; 
		color: 	#E2FEE8; 
	
	
	}

img { 
	border-radius: 20px;
}

.hero img { 
	border-radius: 0px;
}


/*  fin fonts titres et corp de texte*/ 

/* container */





.search{
	background: transparent;
}

.hero { 
	background: transparent;

}
.hero img{ 
	background: transparent;

}

.container-item { 
	width: 1500px;
	height: auto;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: transparent;

	
}

.page{
	display: flex ;
	flex-direction: row;
	height : auto;
	width: 100%;
	position: relative;
	background: transparent;


}

.page h2{
	width: 100%;
	background: transparent;

}

.page-content{
	width: 100%;
	height: 100%;
	word-wrap: break-word;
	background: transparent;

} 

.page-content p {
	text-align: left;
	width: 50%;
	background: transparent;

}


.page-content ul li {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: transparent;

	

}

.card { 
	background: transparent;
	display: flex;
	flex-direction: row;
	width: 1500px;
	height: auto;
	margin: 30px;
	margin-top: 70px;
	-webkit-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	-moz-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	border-radius: 25px;
	
	padding: 30px;

}
.left  { 
	width: 50%;
	height: auto;
	word-wrap:break-word;
	background: transparent;


}

.left p  { 
padding: 40px;


}

.right { 
	display: flex;
	justify-content: center;
	align-items: center ;
	width: 50%;
	background: transparent;

}

.right img { 
	width: 400px;
	height: auto;
	position: relative;
	right: 0;
	background: transparent;



}

.img-central { 
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center ;
	width: 500px;
	height: auto;
	margin-bottom: 50px;
	background: transparent;

}
.img-central img { 
	width: 500px;
	height: auto;
	background: transparent;

	
}

.row { 
	margin-bottom: 100PX;
	width: 100%;
	height: 800px;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	background: transparent;


}

.mini-card {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	width: 15%;
	height: 500px;
	justify-content: space-between;
	text-align: center;
	word-wrap: break-word;
	background: transparent;
	-webkit-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	-moz-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	box-shadow: 0px 14px 30px 0px rgba(13, 13, 13, 0.1);
	border-radius: 25px;
}


.mini-card p { 
	margin-bottom: 30px;
	font-size: 18px;
	background: transparent;

}

.mini-card-img {
	display: block;
	margin: 20px auto;
	width: 100px;
    height: 100px; 
	background: transparent;

}




.mini-card-img img {
	height: 100px;
	width: 100px;
	background: transparent;


} 

.mini-tuto-img {
	display: block;
	margin: 20px auto;
	width: auto;
    height: 350px; 
	background: transparent;

}

.mini-tuto-img img {
	width: 240px;
	height: 350px;
	background: transparent;
	transition: ease-in-out 0.50s ;

} 

.mini-tuto-img img:hover{
    width: 250px;
    height: 360px;
    transition: ease-in-out 1s ;
}


.btn{
	background: transparent;
	width: min-content;
	height: 3rem;
	display: block;
	margin-left: 40px;
}



 a.card-btn-mini, a.card-btn , button.card-btn  { 
	position: relative;
	bottom: 0;
	background: #E2FEE8 ;
	padding: 15px 30px 15px 30px;
	border-radius: 10px;
	color: #025F70;
	width: 150px;
	
	

	

}
a.card-btn-mini{ 
margin: 0 auto;
margin-bottom: 20px;

}


button.card-btn {
	width : 250px;
}



a.card-btn:hover {
	background: lightgreen;
}
a.card-btn-mini:hover {
	background: lightgreen;
}

p.card-text {
	margin-bottom: 50px;
}

.column {
	padding: 50px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	width: 50%;
	background: transparent;

}


p.acf {
	margin: 20px;
	color: #E2FEE8;
	text-align: left;
	line-height:2em;
	background: transparent;



}
.author {
	color: #E2FEE8;
	line-height:2em;
	margin: 5%;
	background: transparent;

}

.pagination {
	
	height: 200px;
	padding: 50px;
	background: transparent;
	margin: 0 auto;
	text-align: center;
	font-size: 20px;
	color: black;
	background: transparent;
}
.pagination span,.pagination a {
	font-family: 'dancing script', cursive;

	color: #E2FEE8;
	background: transparent;
	font-size: 30px;
	
}
.pagination h3{
	font-family: 'dancing script', cursive;
	font-size: 40px;
}


.message{
	position:fixed;
	top:20%;
	left:10%;
	width:80%;
	background:#FFF;
	color:#000;
	padding:1em;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	background: transparent;

}




/* footer*/ 


footer{

	background: #E2FEE8;
	bottom:0;
	width:100%;
	padding-top:50px;
	height:200px;
	margin-top: 50px;
	border: none;
	
	
	
	}
	
	footer ul {
	
	background: #E2FEE8;
	height: 100px;
	width: 100%;
	
	}
	footer ul li { 
	  display: inline-block;
	  background: #E2FEE8;
	  line-height: 80px ;
	  margin: 10px 5px;
	  margin-left: 150px;
	
	}
	
	footer ul li a { 
	
	  color: #025F70 ;
	  background: #E2FEE8;
	  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	  font-size: 20pt; 
	  padding: 7px 13px;
	  border-radius: 15px;
	
	
	}


p.float-right { 
	background: #E2FEE8;
	right: 40%;
	color: #025F70 ;
	text-align: center;


}

form {
	height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	background: transparent;

}


form label {
	font-size: 30px;
	color: #E2FEE8;
	background: transparent;
}

form input {
	color: #E2FEE8;
	font-size: 20px;
	height: 40px;
	border: 2px solid  #E2FEE8;
}

 .submit { 
	width: 150px;
	margin: 0 auto;
	border: none;
	background:#E2FEE8 ;
	color: #025F70 ;
	border-radius: 15px;

} 

.submit:hover{ 
	background: cadetblue;
	transition: cubic-bezier(0.075, 0.82, 0.165, 1);
	animation-delay: 0.5s;
	cursor: pointer;
}

form a {
	text-decoration: none;
	color: #E2FEE8;
	font-size: 20px;
}
form u {
	text-decoration: none;
	color: #E2FEE8;
	font-size: 20px;
	background: transparent;
	text-align: center;
}

ul.social, li.social-single{
	margin-top:20px;
	display: flex;
	flex-direction: row;
	background: transparent;
	
}

li.social-single li{
	margin: 0px;
	padding: 0;
	background: transparent;
}

a.facebook, a.pinterest, a.email, i.fab,  a i.fas, li{
	font-size: 50px;
	background: transparent;
	margin: 20px;
	position: relative;
	top: 0;
	color: #E2FEE8;
}



.wpcf7{
	height: 100%;
	width: 100%;
	background: transparent;
}



.mini-card-tuto {
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	width: 25%;
	height: 500px;
	justify-content: space-between;
	text-align: center;
	word-wrap: break-word;
	background: transparent;
	-webkit-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	-moz-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	box-shadow: 0px 14px 30px 0px rgba(13, 13, 13, 0.1);
	border-radius: 25px;
	padding: 20px;
}
.mini-card-tuto h3 {
	height: 100px;
}

.mini-card-tuto p {
	margin:0;
	padding: 0;
	font-size: 20px;
}

.mini-card-tuto-img  {
	margin: 0 auto;
	transition: 0.5s;
}
.mini-card-tuto-img:hover {
	height: 210px;
	width: 210px;
}

p.cat a, p.acf a{
	color:inherit;
	text-decoration: none;
	background: transparent;
}

h6.acf{
	background: transparent;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 30px;
	color: #E2FEE8;
	margin: 20px;
	padding: 25px;
}

.acf-block{
	background: transparent;
	-webkit-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	-moz-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	box-shadow: 0px 14px 30px 0px rgba(13, 13, 13, 0.1);
	margin-bottom: 50px;
	border-radius: 25px;
}


/* .right img{
	-webkit-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	-moz-box-shadow: 0px 14px 30px 0px rgba(21,42,160,0.1);
	box-shadow: 0px 14px 30px 0px rgba(13, 13, 13, 0.1);
	
} */

.facebook-social,.pinterest-social, .email-social, .fab, .fas{
	background: transparent;
}

.social-single {  
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-size: 20px;
	color: #E2FEE8;
	margin: 20px;
	padding: 25px;
}

.acf a { 
	color:lightgrey;
}

.acf a:hover { 
	color:limegreen; 
	transition: 0.2s ease-in-out;
}

a.logo {
	background: transparent;
	color: #E2FEE8;
}
a.logo2 {
	background: transparent;
	color: #025F70;
}


/*
*
*Responsive design
**/


  							@media (max-width: 858px){
								  

								.container-item, .card {
									width: 600px;
									justify-content: center;
									margin-left: 8%;

								}
								h1 { 
									font-size: 50px;
									text-align: left;
									width: 100%;
									
								}



								h2 { 
									font-size: 50px;
									text-align: left;
									width: 100%;
									
								}
								.img-central  { 
									display: flex;
									flex-wrap: wrap;
									margin-left: 15%;
									height: 600px;

								}

								h2.title_center{ 
									margin-left:10%
								}
							

								.row { 
									flex-direction: column;
									height: auto;
									justify-content: space-evenly;
									margin-left:0;

								}

								.mini-card { 
									margin :0;
									margin-top: 50px; 
									margin-bottom: 50px;
									margin-left: 25% 
									
								}

								.column {
									width: 100%;
								}
								
								p.card-text{ 
									margin-left: 5%;
									width: 50%;
								}

								.pagination{ 
									margin-left:10%;
								}


							}


							@media (max-width: 500px){

								
								.container-item{
									width: 360px;
									justify-content: left;
									margin-left: 0;
									

								}

								.card{ 
									width: 350px;
									margin: 2px;
									flex-direction: column;
								}
								.card p{ 
								padding:10px;
								margin-bottom: 30px;
								}

								.left{ 
									width: 100%;
									margin: auto;
								}
								.right{
									width: 80%;
									margin: auto;

								}


								.right img { 
									width: 90%;
									margin-top: 50px;
								}

								h1 { 
									font-size: 50px;
									text-align: left;
									width: 100%;
									
								}



								h2 { 
									font-size: 45px;
									text-align: left;
									width: 100%;
									
								}

								.img-central  { 
								
									width: 300px;
									height: 350px;
									margin: 0 auto;
								}
								.img-central img { 
									height: auto;
									width: 250px;
									margin: 0;
								
								}

								h2.title_center{ 
									margin-left:0%;
									display: block;
									width: 100%;
									font-size: 40px;
									text-align: center;
									
								}
							

								.row { 
									flex-direction: column;
									height: auto;
									justify-content: space-evenly;
									margin: 0 auto; 
									width: 320px;

								}

								.mini-card, .mini-card-tuto { 
									height: auto;
									margin :0 auto;
									margin-top: 50px; 
									margin-bottom: 50px;
									width: 300px;
									padding:30px
								}

								.mini-card-tuto h3 {
									height : max-content

								}
								.pagination{
									margin: 0 auto;
								}

								.column {
									width: 100%;
								}
								
								p.card-text{ 
									margin-left: 0;
									width: 100%
								}

								

							
							}
