/*
Theme Name : Sols-Pierre-Marbre
Text Domain: Sols-Pierre-Marbre
Author: eO10Design
Author URI: https://www.eo10Design.com/
Description : Theme pour le site sols-pierre-marbre.com
Version : 1.0
*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/

:root {
  --white-color:                #FFFFFF;
  --black-color:                #000000;
  /* --primary-color:              #2e3b3d; */
  --primary-color:              #688b74;
  --second-color:               #2e3b3d;
  --vert-color:                 #8cbe9e;
  /* --beige-color:                rgb(199, 189, 179); */
  --beige-color:                rgb(235, 187, 139);
  --beigeMoyen-color:           #6a5c4f;
  --beigeFonce-color:           #3b3229;
  --grey-color:                 #d0d1d1;
  --p-color:                    #717275;

  --body-font-family:           'Raleway', sans-serif;

  --nav-li-font-size:           18px;
  --h5-font-size:               24px;
  --p-font-size:                20px;
  --copyright-text-font-size:   16px;
  --product-link-font-size:     14px;
  --custom-link-font-size:      12px;

  --font-weight-thin:           100;
  --font-weight-extralight:     200;
  --font-weight-light:          300;
  --font-weight-regular:        400;
  --font-weight-medium:         500;
  --font-weight-semibold:       600;
  --font-weight-bold:           700;
  --font-weight-extrabold:      800;
  --font-weight-black:          900;

  --font-style-normal:          'normal';
  --font-style-italic:          'italic';

}

/*---------------------------------------
  RESET
-----------------------------------------*/

*, ::before, ::after {
	box-sizing: border-box;
	margin:0;
	padding:0;
}

/*---------------------------------------
  BODY
  -----------------------------------------*/

body {
    background-color: var(--primary-color);
    background-image: url('images/rond_bg.png');
    background-size: 50px;
}

body.beige {
    background-color: var(--beige-color);
    background-image: url('images/rond_bg_beige.png');
}

body, html {
	margin:0;
	padding:0;
	font-family: var(--body-font-family);
	width:100%;
    overflow-x: hidden;
}

/*---------------------------------------
  TYPO
-----------------------------------------*/

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 130px;
  color: var(--white-color);
  margin : 0;
  padding: 0;
  line-height: 60px;
}

h1 span {
  font-weight: 300;
  font-size: 60px;
  line-height: 30px;
}

h2,h3 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  font-size: 2em;
  color: var(--white-color);
  margin:0;
  padding: 0;
}

h3 {
  font-size: 1.5em;
}

h2 span,h3 {
   font-weight: 300;
}

p {
  font-family: "Raleway", sans-serif;
  /* font-weight: 300; */
  font-style: normal;
  /* color: var(--white-color); */
  font-size: 1.3em;
  line-height: 1.5em;
  margin:0.4em 0;
}

b {
  font-weight: var(--font-weight-medium);
}

/*---------------------------------------
  COULEURS
-----------------------------------------*/

.beige_fonce {
  color:var(--beigeFonce-color)!important;
}

.bg-primary {
  background-color: var(--primary-color)!important;
}

/*---------------------------------------
  SECTION
-----------------------------------------*/

section {
  position: relative;
  z-index: 3;
  /* background-color: aqua; */
  margin : 3em 0 0 0;
  /* padding:3em; */
  display: flex;
  justify-content: center;
  align-items: center;
}

/*---------------------------------------
  INTRODUCTION
-----------------------------------------*/

.intro {
  position: relative;
  z-index: 5;
  width: 100%;
  margin:4em 2em 0 0;
  /* background-color: aqua; */
  display: flex;
  justify-content: flex-end;
}
.contenuIntro {
  /* background-color: brown; */
  width: 50%;
  display: flex;
  flex-direction: column;
  color: #FFFFFF;
}

.titre {
  position: relative;
  /* background-color: #8cbe9e; */
  display: flex;
  flex-direction: column;
}

.titre h1 {
  font-size: 13em;
}

.titre h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 300;
  font-size: 5em;
  margin-top:-1em;
}

.titre h1::after {
  content :'';
  display: block;
  margin: 10px 0;
  width: 50%;
  height :10px;
  background: var(--white-color);
}

.titre .decor {
  position: absolute;
  right:14em;
  width : 2em;
  height: 2em;
  /* background-color: var(--beige-color); */
  margin:2em 0 0 0.2em;
  border-top: var(--white-color) solid 0.2em;
  border-right: var(--white-color) solid 0.2em;
}

.texteIntro {
  margin-top:2em;
}

/*---------------------------------------
  TITRE
-----------------------------------------*/

.titreRubrique {
  padding: 2em 4em;
  display: flex;
}

.titreRubrique h1::after, .titreRubrique h1.beige_fonce::after {
  content :'';
  display: block;
  margin: 15px 0;
  width: 50%;
  height :10px;
  background: var(--white-color);
}

.titreRubrique h1.beige_fonce::after {
  background: var(--beigeFonce-color);
}

.titreRubrique .decor {
  width : 2em;
  height: 2em;
  background-color: var(--beige-color);
  margin:0em 0 -2em 0.2em;
  border-top: var(--white-color) solid 0.2em;
  border-right: var(--white-color) solid 0.2em;
}

.titreRubrique .decor_beige {
  width : 2em;
  height: 2em;
  background-color: var(--beige-color);
  margin:2em 0 0 0.2em;
  border-top: var(--beigeFonce-color) solid 0.2em;
  border-right: var(--beigeFonce-color) solid 0.2em;
}

.imgTitreRubrique {
  display: flex;
  justify-content: center;
  align-items: center;
  width:50%;
}

.imgTitreRubrique img {
  width:100%;
  height:auto;
}


/*---------------------------------------
  PAGES
-----------------------------------------*/

.rubrique {
  width :100vw;
  /* max-width: 1200px; */
}

.contenuRubrique, .cadreBeige {
  border-radius: 1em;
  padding:2em 4em;
  margin:0 2em;
}

.contenuRubrique.cadreVert {
  /* background-color: rgba(46,59,61,0.8); */
  background-color: rgba(104,139,116,0.8);
  box-shadow: #000000 2px 2px 100px;
  color:var(--white-color);
  margin: 0 2em;
  padding:2em;
}

.cadreBeige {
  /* background-color: rgba(199, 189, 179,0.8); */
  background-color: rgba(209, 168, 126,0.8);
  box-shadow: #000000 2px 2px 10px;
  /* color: var(--white-color); */
}

.wp-block-columns {
  /* background-color: crimson; */
  /* margin: 2em 0; */
}

.wp-block-cover {
  border-radius: 1em 1em 0 0;
}

.wp-block-cover .wp-block-cover__image-background {
    /* background-size: cover; */
    /* position: fixed; */
    z-index: -10;
    /* height: 50%; */
}

.texteRubrique {
  margin-top : 1em;
  width: 100%;
  /* border: var(--white-color) 0.1em solid; */
  /* padding:0.6em; */
  border-radius: 0.5em;
}

.texteRubrique a {
  text-decoration: none;
  color:var(--white-color);
  opacity: 0.3;
}

.texteRubrique a:hover {
  text-decoration: none;
  color:var(--vert-color);
  opacity: 1;
}

.texteRubrique a.active {
  opacity: 1;
}

.sautLigne {
  display: none;
}



/*---------------------------------------
  BOUTONS
-----------------------------------------*/

.boutons{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1em 0.5em;
  margin-bottom : 2em;
}

.typeDallages {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 1em 0 0 0;
  /* margin: 2em auto; */
}

.btnDallage, .btnDallage_beige,.btnSimple {
  margin : 0.5em 0;
}

.btnDallage a, .btnDallage_beige a {
  background-color: var(--vert-color);
  padding:0.4em;
  margin : 0.2em;
  border-radius: 0.5em;
  font-family: var(--body-font-family);
  color: var(--white-color);
  transition: all ease-in-out 0.2s;
  text-decoration: none;
  color: var(--white-color);
}

.btnSimple a {
  padding:0.4em;
  margin : 0.2em;
  border-radius: 0.5em;
  font-family: var(--body-font-family);
  color: var(--white-color);
  transition: all ease-in-out 0.2s;
  text-decoration: none;
  color: var(--white-color);
}

.btnDallage_beige a {
  background-color: var(--beige-color);
  transition: all ease-in-out 0.5s;
}

.btnDallage a:hover {
  cursor: pointer;
  background-color: var(--beige-color);
  box-shadow: #000000 1px 1px 15px;
}

.btnDallage_beige a:hover {
  cursor: pointer;
  background-color: var(--vert-color);
  box-shadow: #000000 1px 1px 15px;
}


/*---------------------------------------
  ELEMENTS COMMUNS
-----------------------------------------*/

.galerieRubrique {
  display: flex;
  width:70%;
  margin-top:2em;
  justify-content: center;
}

.vignette, figure.vignette, img.vignette {
  transition: all 0.5s ease-in-out;
}

.vignette img, .image img {
  border-radius: 1em!important;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.vignette:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.vignetteIcone {
  border-radius: 0.3em;
  margin:0.2em;
}

.margeTop {
  margin-top : 50px;
}

.formeIntro {
  position: fixed;
  transform: rotateX(180deg);
  width:120%;
  height:100vh;
  top:0;
  margin-top:-15em;
 }

.forme, .formeOrigine, .formeDallages, .formeDouche, .formeContacter, .formeLivraison, .formeEntreprise,.formeLegales {
  width:120%;
  position: fixed;
  display: flex;
  justify-content: center;
  left:-5em;
  top: 5em;
  z-index: 1;
}

.forme img, .formeIntro img, .formeOrigine img, .formeDallages img, .formeLivraison img, .formeEntreprise img,
.formeContacter img, .formeDouche img, .formeLegales img {
  width:100%;
}

/*---------------------------------------
  MASQUES
-----------------------------------------*/

.photoIntro {
    position: fixed;
    z-index: 0;
    /* background-color: aqua; */
    width: 100%;
    max-width: 500px;
    z-index: 5;
    top: 0;
    left:0;
}

.photoMaskIntro img {
  width:auto;
  height:100vh;
  max-height: 95vh;
}

.maskIntro {
  -webkit-mask-image: url(images/maskIntro.png);
  mask-image: url(images/maskIntro.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* mask-position: bottom left; */
  mask-size: cover;
}

.maskIntro img {
  position: relative;
  /* transform: translateX(-20%); */
}

.photoPiedPage {
    position: relative;
    /* background-color: aqua; */
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
}

.photoPiedPage img {
  width :100%;
}

.photoMask {
  max-width: 1200px;
  width: 100%;
  /* border-right : 0.1px solid #FFF; */
}

.photoMask img {
  position: relative;
  z-index: 2;
  width : 100%!important;
  height:auto;
}

.maskPage {
  -webkit-mask-image: url(images/masqueBasPage.png);
  mask-image: url(images/masqueBasPage.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* mask-position: center right; */
  mask-size: cover;
  }

.maskPage img {
  position: relative;
  transform: translateX(-20%);
  
}



.mask3D {
  -webkit-mask-image: url(images/mask3D.png);
  mask-image: url(images/mask3D.png);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: cover;
}

.mask3D img {
  position: relative;
  transform: translateX(-20%);
}

/*---------------------------------------
  FOOTER
-----------------------------------------*/

footer {
  position: fixed;
  width:100%;
  bottom : 0;
  z-index: 10;
  height: 2em;
  border-radius: 1em 1em 0 0;
  background-color:rgba(46,59,61,0.9);
  font-family: var(--body-font-family);
  color: var(--white-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

footer.beige {
  background-color:rgba(59,50,41,0.9);
}