/*
Theme Name: Feng Shui
Template: twentytwentyone
Text Domain: fengshui;
*/

/**
* GENERAL
*/

html body{
	margin: 0px;
	padding: 0px;
	position: relative;
	background-color: white;
	background: white;
 	font-size: 16px;
 	font-style: normal;
	font-weight: 500;
	line-height: 1.375;
 	text-transform: none;
 	text-align: left;
 	-webkit-text-size-adjust: 100%;
 	-ms-text-size-adjust: 100%;
	font-family: Monserrat;
	scroll-snap-type: y mandatory;
}

html body.page-template-home{
	overflow-x: hidden;
	overflow-y: hidden;
	scroll-behavior: smooth;
}

#site {
	height: 100%;
	scroll-behavior: smooth;
}

a{
	text-decoration: none;
	position: relative;
    color: black;
}

a:hover,
body .primary-navigation a:hover,
body .primary-navigation .current-menu-item > a:first-child:hover, 
body .primary-navigation .current_page_item > a:first-child:hover
body .primary-navigation .current-menu-item > a:first-child:focus, 
body .primary-navigation .current_page_item > a:first-child:focus{
	text-decoration: none;
}

html .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button){
    background-color: transparent;
    text-decoration: none;
}

/**
* HEADER
*/

/*#header{
    position: relative;
    width: 100%;
    max-width: 1900px;
    height: 48vh;
    min-height: 450px;
    max-height: 744px;
    background-image: url(images/jpg/header.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: auto;
    text-align: left;
}*/

/*#header:before{
    content: "";
    display: block;
    position: absolute;
    width: 1900px;
    height: 100%;
    top: 0;
    z-index: 0;
    left: 50%;
    margin-left: -950px;
    background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 5%,rgba(255,255,255,0) 95%,rgba(255,255,255,1) 100%); /*TODO: suffix*/
/*}*/

#header #header-logo{
    margin-top: 15px;
    position: relative;
    display: inline-block;
    width: 125px;
    height: auto;
    z-index: 1;
    margin-left: 15px;
}

#header #header-logo svg path{
	fill: #3D20FA;
}

#header #header-info{
    background-color: #207b25;
    color: white;
    display: inline-block;
    width: 150px;
    padding: 5px 10px;
    margin-left: 450px;
    transition: all 0.2s cubic-bezier(0.65, 0, 0.7, 1);
}

#header #header-info:hover{
    background-color: #2caa32;
}

/**
* HOMEPAGE
*/

#home_sections{
	height: 100vh;
	margin: 0;
	scroll-snap-type: y mandatory;
	overflow-y: scroll;
}

.home_section{
	height: 100vh;
    max-height: 100vh;
	scroll-snap-align: start;
	display: flex;
	justify-content: left;
	align-items: center;
}

#capture{
    background-image: url(images/jpg/header.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#presentation{
    /*background-image: url(images/jpg/P2_homepage.jpg);*/
    background-color: rgb(0,0,0);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#promesse{
	background-image: url(images/jpg/P3_homepage.png);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

/*Part 1*/

#p1_text{
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    max-width:  450px;
    margin-left: calc(50% - 450px);
    color: white;
    backdrop-filter: blur(10px);
}

/*Part 2*/

#p2_text{
	display: block;
	width: 100%;
	height: 80%;
	text-align: center;
	color: white;
}

#p2_text .title_h1{
	color: white;
}

body #pres_list{
	width: auto;
	max-width: 50%;
	margin-left: 25%;
}

body #pres_list li{
	width: fit-content;
}

/*Part 3*/

#p3_text{
	display: block;
    width: 100%;
    text-align: center;
    font-size: 2.5em;
    padding: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    margin-left: 10%;
    margin-right: 10%;
}

#p3_text p{
	height: 78px;
}

/**
* FOOTER
*/

html body .site-footer{
    display: none;
    padding-bottom: 0px;
    border: solid 1px black;
    text-align: center;
}

footer #footer-logo{
    width: 244px;
    height: auto;
    display: inline-block;
}

footer #footer-contact{
    display: inline-block;
    margin: auto;
}

footer #footer-legal{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #514339;
    font-weight: 600;
}

/**
* MENU PC
*/

#site-navigation{
    position: relative;
    z-index: 10;
    height: 50px;
    width: 100%;
    box-shadow: 0px -5px 5px rgba(136, 136, 136, 0.4);
}

body .primary-navigation > div > .menu-wrapper{
	justify-content: center;
}

body .primary-navigation > div > .menu-wrapper li{
	position: relative;
}

body .primary-navigation > div > .menu-wrapper li:before{
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 0%;
	background-color: #FAC320;
	transition: height 0.45s cubic-bezier(0, 0.7, 0.5, 1);
}

body .primary-navigation > div > .menu-wrapper li:hover:before,
body .primary-navigation > div > .menu-wrapper li:focus:before{
	height: 100%;
}

body .primary-navigation > div > .menu-wrapper li:hover a,
body .primary-navigation > div > .menu-wrapper li:focus a{
	color: white;
}

body .site .primary-navigation > div > .menu-wrapper li.current_page_item a,
body .site .primary-navigation > div > .menu-wrapper li a{
	text-decoration: none;
	transition: color 0.35s ease;
	padding: 9px 32px;
}

@media only screen and (min-width: 482px){
	body .primary-navigation .primary-menu-container > ul > .menu-item > a{
		padding-left: 32px;
		padding-right: 32px;
	}
}

body .primary-navigation > div > .menu-wrapper li.current_page_item a{
	color: white;
}

body .site .primary-navigation > div > .menu-wrapper li a:focus{
	text-decoration: none;
	background-color: transparent;
}

body .primary-navigation > div > .menu-wrapper li.current_page_item:before{
	height: 100%;
}

/* Menu Off sur la front page */

body.page-template-frontpage-php #site-navigation{
    display: none;
}


/**
* ELEMENTS GENERAL
*/

body .entry-content{
    width: 100%;
    max-width: 1300px;
    margin: auto;
    position: relative;
    padding: 0px 50px;
}

body .post-thumbnail,
body .entry-content .wp-audio-shortcode, 
body .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), 
body *[class*=inner-container] > *:not(.entry-content):not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), 
body .default-max-width{
    max-width: 100%;
}

/*---TITRES---*/

body .entry .entry-header{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0px;
}

body .entry-header .entry-title{
    margin-top: 65px;
    margin-bottom: 65px;
}

body .entry-content h1, 
body .entry-content h2, 
body .entry-content h3, 
body .entry-content h4, 
body .entry-content h5,
body .entry-content h6,
body .site h1, 
body .site h2, 
body .site h3, 
body .site h4, 
body .site h5,
body .site h6{
	font-family: Monserrat;
    margin-top: 25px;
    margin-bottom: 25px;
}

body.home .site h1,
body.home .site h2,
body.home .site h3,
body.home .site h4,
body.home .site h5,
body.home .site h6{
    margin-bottom: 10px;
    margin-top: 10px;
}

/*-H1&H2-*/

body .entry-content h1,
body .entry-content h2,
body .site .title_h1,
body .site .title_h2{
    font-size: 42px;
    color: #705350;
    text-transform: uppercase;
    padding: 5px 10px; 
    margin-top: 70px;
    margin-bottom: 30px;
}

body .entry-content h2,
body .site .title_h2{
    font-size: 36px;
}

body .entry-content h1 strong,
body .entry-content h2 strong,
body .site .title_h1 strong,
body .site .title_h2 strong{
    color: #b8857a;
    font-weight: 600;
}

body .entry-content h1 em,
body .entry-content h2 em,
body .site .title_h1 em,
body .site .title_h2 em{
    color: #ce7336;
}

/*-H3-*/

body .entry-content h3,
body .site .title_h3{
    font-size: 34px;
    color: #859c2b;
    text-transform: uppercase;
    padding: 5px 10px;
}

body .entry-content h3 strong,
body .site .title_h3 strong{
    color: #2C9C2F;
    font-weight: 600;
}

body .entry-content h3 em,
body .site .title_h3 em{
    color: #9C872C;
}

/*-H4-*/

body .entry-content h4,
body .site .title_h4{
    font-size: 30px;
}

/*-H5&H6-*/

body .entry-content h5,
body .site .title_h5,
body .entry-content h6,
body .site .title_h6{
    color: #D99123;
    font-size: 22px;
    text-transform: capitalize;
    margin: 1.35em 0 1.35em 0;
}

body .entry-content h5 strong,
body .site .title_h5 strong,
body .entry-content h6 strong,
body .site .title_h6 strong,
body .entry-content h5 em,
body .site .title_h5 em,
body .entry-content h6 em,
body .site .title_h6 em{
    color: #a8442e;
    font-weight: 700;
    text-transform: uppercase;
}

body .entry-content h5 em,
body .site .title_h5 em,
body .entry-content h6 em,
body .site .title_h6 em{
    font-weight: 500;
}

body .entry-content h6, 
body .site .title_h6{
    font-size: 18px;
}

/*---LIENS---*/

body a{
    color: #514339;
    font-weight: 600; 
    transition: color 0.35s ease;
}

body a:hover,
body a:focus-within{
    color: #DBAC34;
}

/**
* LISTE DES ARTICLES DE BLOG
*/

body .blog_preview_square{
    width: 250px;
    height: 250px;
    border: solid 1px black;
    text-align: center;
    margin: 50px;
    background-size: cover;
    background-position: center center; 
}

/***
* DAH
**/

body .insta-logo,
body .facebook-logo,
body .facebook-logo path{
    width: 60px;
    height: 60px;
    margin: 0px;
    transition: fill .35s ease;
}

body .facebook-logo{
    width: 55px;
}

body .insta-logo:hover,
body .facebook-logo:hover,
body .facebook-logo:hover path{
    fill: #705350;
}

body.page-template-dah_thanks #dah_bg{
	width: 100%;
	height: 33vh;
	display: block;
	background-image: url(images/jpg/dah_thx.png);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

body.page-template-dah_thanks #page{ /*TODO: à suppr une fois le footer fini*/
	margin-bottom: 55px;
}