/* 
Theme Name: Stef theme 
Author: Aurore Sifflet
Description: Thème simple
Version: 1.0
*/

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body{
  width: 100%;
  height: 100%;
}

footer nav{
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 30px 0 30px 0;
  background-color:  #f3f3f3 ; 
}
footer{
  margin-top: 272px;
  position: relative;
  width: 100%; 
}
/******************************** CONTENT ********************************/
/* Contenu - Desktop */
div.container {
  padding-top: 0;
}
.container-plein-largeur{
  position: relative;
  width: 100%;
  min-height:100%;
}
.container-site {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 80px;
}

.mentions-legales{
  padding: 0 70px;
}
/* Contenu - Tablette */
@media (max-width: 900px) {
  div.container {
    padding-top: 0;
  }
  footer{
    margin-top: 111px;
  }
  .container-site{
    padding: 8px 0 0 0;
  }
}
/* Contenu - Mobile */
@media (max-width: 500px) {
  .mentions-legales{
    padding: 0 30px;
  }
  footer{
    margin-top: 200px;
  }
}
/******************************** FIN - CONTENT ********************************/
/******************************** Polices ********************************/
@font-face {
  font-family: 'Montserrat-Black';
  src: url('assets/fonts/Montserrat-Black.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-BlackItalic';
  src: url('assets/fonts/Montserrat-BlackItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Bold';
  src: url('assets/fonts/Montserrat-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-BoldItalic';
  src: url('assets/fonts/Montserrat-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-ExtraBold';
  src: url('assets/fonts/Montserrat-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-ExtraBoldItalic';
  src: url('assets/fonts/Montserrat-ExtraBoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-ExtraLight';
  src: url('assets/fonts/Montserrat-ExtraLight.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-ExtraLightItalic';
  src: url('assets/fonts/Montserrat-ExtraLightItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-SemiBold';
  src: url('assets/fonts/Montserrat-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-SemiBoldItalic';
  src: url('assets/fonts/Montserrat-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Medium';
  src: url('assets/fonts/Montserrat-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-MediumItalic';
  src: url('assets/fonts/Montserrat-MediumItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Regular';
  src: url('assets/fonts/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Italic';
  src: url('assets/fonts/Montserrat-Italic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Light';
  src: url('assets/fonts/Montserrat-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-LightItalic';
  src: url('assets/fonts/Montserrat-LightItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Thin';
  src: url('assets/fonts/Montserrat-Thin.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-ThinItalic';
  src: url('assets/fonts/Montserrat-ThinItalic.ttf') format('truetype');
}

/******************************** FIN - Polices ********************************/
/******************************** Title ********************************/
h1{
  margin-top: 100px;
  margin-bottom: 50px;
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
}
h2{
  margin-bottom: 18px;
  font-family: 'Montserrat-ExtraBold', sans-serif;
  font-size: 45px;
  text-transform: uppercase;
  text-align: center;
}
/* Contenu - Tablette */
@media (max-width: 900px) {
  h1{
    margin-top: 164px;
    margin-bottom: 37px;
    font-size: 26px;
  }
  h2{
    margin-top: 0;
  }
  div.wp-block-spacer{
    height: 50px !important;
  }
}
@media (max-width: 500px) {
  h1{
    margin-bottom: 20px;
    font-size: 20px;
  }
  h2{
    margin-top: 0;
    font-size: 28px;
  }
}
/******************************** FIN - Title ********************************/
/******************************** Mentions légales ********************************/
.col_mentions-legales {
  font-size: 30px;
}
/******************************** FIN - Mentions légales ********************************/
/******************************** Contact ********************************/
.col_contact h2 {
  text-align: left;
  margin-bottom: 6px;
  font-size: 30px;
}
.col_contact {
padding: 0 10px;
}
.gallery p {
  font-family: 'Montserrat-ExtraLight', sans-serif;
  font-size: 22px;
  margin-bottom: 0;
}
.col_contact div.texte{
  margin: 0 45px !important;
}
.email_contact a, .tel_contact a{
  font-family: 'Montserrat-Bold', sans-serif !important;
  font-size: 22px !important;
  color: #4e4e4e;
}

.email_contact a:hover, .tel_contact a:hover{
  font-family: 'Montserrat-Bold', sans-serif !important;
  font-size: 22px !important;
  color: #000000;
}
.contact_description p, .contact_realisation li{
  font-family: 'Montserrat-ExtraLight', sans-serif !important;
}
.contact_realisation li{
  font-size: 22px;
  margin: 20px 0;
}
.contact_realisation, .contact_description {
  padding-left: 400px;
}
/* Contenu - Tablette */
@media (max-width: 900px) {
 .col_contact div.photo{
  flex-basis: 60% !important;
  margin:0 auto;
 }
 .col_contact div.texte{
  flex-basis: 100% !important;
 }
 .col_contact div.texte{
  margin-top: 50px!important;
 }
 .contact_realisation, .contact_description {
  padding-left: 0;
  margin: 0 50px 0 50px !important;
}
.col_contact div.texte {
  margin: 20px 20px 0 20px !important;
}
.col_contact{
  flex-wrap: wrap-reverse !important;
}
}

/** Contenu - Mobile **/
@media (max-width: 500px) {
  .col_contact{
    flex-wrap: wrap-reverse !important;
  }
  .gallery p, .contact_realisation li {
    font-family: 'Montserrat-ExtraLight', sans-serif;
    font-size: 19px;
    margin-bottom: 0;
  }
  .email_contact a, .tel_contact a{
    font-size: 19px !important;
  }
 
 .col_contact h2, .col_mentions-legales{
    font-size: 22px !important;
  }
  .col_contact div.wp-block-spacer, .contact_description div.wp-block-spacer, .contact_realisation div.wp-block-spacer{
    height: 15px !important;
  }
  div.photo {
    margin: 20px;
  }
  .contact_realisation, .contact_description {
    padding-left: 0;
    margin: 0 30px 0 30px !important;
  }

}
/******************************** FIN - Contact ********************************/

/******************************** Caroussel ********************************/
/* Desktop */
.carouselSectionBis{
  display: none;
}
.carouselSection {
  background-color: #000000;
  margin: 0 auto;
  padding-top: 125px;
}
.carousel-inner {
  max-height: 450px;
}
.carouselSection img {
 max-width: 800px;
 max-height: 450px;
 margin: 0 auto;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 5rem !important;
  height: 5rem !important;
}

/* Caroussel - Tablette */
@media (max-width: 930px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 4rem !important;
    height: 4rem !important;
  }
  .carouselSection{
    display: none;
  }
  .carouselSectionBis{
    /* display: flex;
    justify-content: center;
    align-items: center; */
    display: block;
    padding-top: 117px;
    background-color: #000000;
    /* min-height: 675px; */
  }
  .carousel-inner {
    display: flex;
    align-items: center;
    min-height: 675px;
    /* max-height: 675px; */
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .carouselSectionBis img {
    max-width: 700px;
    max-height: 640px;   
    margin: 0 auto;  
  }
}

/* Caroussel - Mobile */
@media (max-width: 700px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 3rem !important;
    height: 3rem !important;
  }
  .carouselSectionBis{
    padding-top: 107px;
    background-color:#000000;
  }
  .carousel-inner {
    min-height: 309px;
  }
  .carouselSectionBis img {
    max-width: 350px;
    max-height: 309px; 
   }
}
/* Contenu - Mobile Paysage*/ 
@media only screen and (max-width: 1200px) and (max-height: 590px) { 
  .carouselSectionBis {
    display: block;
    margin: 0 auto;
    padding-top: 61px;
    max-height: 416px; 
  }
  .carouselSectionBis img {
   max-width: 340px;
   max-height: 280px;
   margin: 0 auto;
  }
  .carousel-inner {
    /* max-height: 320px; */
    min-height: 320px;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 3rem !important;
    height: 3rem !important;
  }
}
/******************************** FIN - Caroussel ********************************/
/******************************** Menu Header ********************************/
nav {
  position: fixed;
  margin: 0 auto;
  width: 100%;
  padding: 20px 25px 20px 30px;
  background: #fafafa;
  box-shadow: inset 0px -1px 0px #e9e9e9;
  z-index: 8;
}

.navSection {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.nav-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 20px;
}

/* texte à côté de l'icon */
.nav-icon span {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 20px;
  margin-left: 27px;
  color: #081c26;
  display: flex;
}
.nav-icon span.title{
  font-family: 'Montserrat-Bold', sans-serif;
}
.nav-icon img {
  width: 100px;
  display: block;
}

.hamburger {
  display: none;
}

.navlinks-container {
  margin-left: auto;
}

/* texte des liens */
.navlinks-container a {
  font-family: 'Montserrat-Regular', sans-serif;
  margin: 0 10px;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  color: #414141;
  display: inline-block;
  position: relative;
}

.navlinks-container a:hover {
  color: #414141;
  font-weight: 600;
}

.navlinks-container a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #333333;
  transition: transform 0.3s ease-out;
}

.navlinks-container li.active a {
  font-family: 'Montserrat-SemiBold', sans-serif;
  color: #081c26;
}

.navlinks-container a:hover::after {
  transform: scaleX(1);
}

.navlinks-container ul {
  list-style: none;
  margin-bottom: 0;
}

.navlinks-container li {
  display: inline-block;
}

/***** Menu responsive *****/

/* Menu - Tablette */
@media (max-width: 930px) {
  nav {
    padding: 15px 10px;
    position: fixed;
  }

  .nav-icon {
    order: 1;
    margin: 0 auto;
  }

  .main-navlinks {
    order: 2;
    padding: 15px;
  }

  .navlinks-container li {
    display: block;
    margin: 10px 0;
  }

  .navlinks-container ul {
    padding: 0;
  }

  .navlinks-container ul {
    margin-top: 40px;
  }

  /****** Hamburger ******/
  .hamburger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #fafafa;
    align-items: center;
    position: relative;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333333;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
  }

  .hamburger span:nth-child(1),
  .hamburger span:nth-child(3) {
    transition: transform 0.3s ease-out;
  }

  .hamburger.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
  }

  .hamburger.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
  }

  /* afficher les 3 barres qui étaient supperposées initialement */
  .hamburger span:nth-child(1) {
    transform: translateY(7px);
  }

  .hamburger span:nth-child(3) {
    transform: translateY(-7px);
  }

  /** Menu tablette et Mobile **/
  .navlinks-container {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #eeeeee;
    top: 100%;
    right: 0;
    height: 100vh;
    border-left: 1px solid #c5c6c6;
    min-width: 40%;
    transform: translate(100%);
    transition: transform 0.5s ease-out;
    align-items: center;
  }

  .open {
    transform: translate(0%);
    display: flex;
  }
  .navOpen{
    max-height: 800px;
    overflow-y: hidden;
  }

 /*rajouter pour device mobile, peut etre tablette au body lorsque class Navopen - max-height: 700px, overflow-y: hidden */

  .navlinks-container a {
    font-size: 20px;
    padding: 4px 0;
  }
}

/** Menu - Mobile **/
@media (max-width: 500px) {
  
  .navlinks-container {
    min-width: 100%;
  }

  .nav-icon img {
    width: 88px;
  }

  .nav-icon span {
    font-size: 17px;
    margin: 0 10px 0 25px;
  }
}
/* Contenu - Mobile Paysage*/ 
@media only screen and (max-width: 1200px) and (max-height: 590px) { 
  .navlinks-container {
    min-width: 100%;
  }
  nav {
    padding: 5px 10px;
    position: fixed;
  }
  .nav-icon img {
    width: 68px;
  }

  .nav-icon span {
    font-size: 15px;
    margin: 0 10px 0 25px;
  }
}

/******************************** FIN MENU Header ********************************/
/******************************** MENU Footer ********************************/
  /* texte des liens footer */
  .navlinks-container_footer a {
    font-family: 'Montserrat-Regular', sans-serif;
    margin: 0 10px;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: #414141;
    display: inline-block;
    position: relative;
  }

  .navlinks-container_footer a:hover {
    color: #414141;
    font-weight: 600;
  }

  .navlinks-container_footer a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    background: #333333;
    transition: transform 0.3s ease-out;
  }

  .navlinks-container_footer li.active a {
    font-family: 'Montserrat-SemiBold', sans-serif;
    color: #081c26;
  }

  .navlinks-container_footer a:hover::after {
    transform: scaleX(1);
  }

  .navlinks-container_footer ul {
    list-style: none;
    margin-bottom: 0;
  }

  .navlinks-container_footer li {
    display: inline-block;
  }

@media (max-width: 500px) {
  .navlinks-container_footer li {
    display: block;
  }
  .navlinks-container_footer ul{
    padding: 0;
  }
}
/******************************** FIN MENU Footer ********************************/
/******************************** LIGHTBOX ********************************/
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .9);
  z-index: 10;
  animation: lightboxIn .7s;
}

.lightboxclose {
  width: 90%;
  height: 100%;
  margin: auto;
  top: 0;
  bottom: 0;
}

.lightbox_container {
  transition: opacity .3s;
  margin: 0 auto;
  /* width: 90%; */
  /* max-width: 1200px;
  max-height: 900px; */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/*button prev, next, close*/

.lightbox_next,
.lightbox_prev {
  border: none;
  background: url('assets/img/arrow.svg') center center / 40px 50px no-repeat;
  width: 50px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  margin-top: -14px;
  z-index: 11;
}

.lightbox_prev {
  right: auto;
  left: 0;
  transform: rotate(180deg);
}

.lightbox_close {
  border: none;
  width: 30px;
  height: 40px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="white" class="bi bi-x-lg" viewBox="0 0 16 16"><path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/></svg>')center center / 40px 50px no-repeat transparent;
  position: fixed;
  top: 50px;
  right: 20px;
  z-index: 12;
}

/* Contenu - Desktop AS */
.lightbox_container img {
  max-height: 900px;
  animation: lightboxIn .5s; 
}

/* Contenu - Desktop SP GF ecran entre 1680px et 1280px */
@media (max-width: 1680px) {
  .lightbox_container img {
    max-height: 780px;
  }
}

/* Contenu - Tablette Paysage SP */
@media (max-width: 1200px) { 
  .lightbox_container img {
    max-width: 900px;
    max-height: 750px;
  }
}
/* Contenu - Tablette Paysage AS et desktop ecran -1280px */
@media (max-width: 1280px) {
  .lightbox_container img {
    max-height: 700px;
  }
}

/* Contenu - Tablette Portrait AS SP  */
@media (max-width: 910px) and (min-height: 591px) { 
  .lightbox_container img {
    max-width: 650px;
    max-height: 750px;
  }
}
/* Contenu - Tablette */
@media (max-width: 700px) { 
  .lightbox_container img {
    max-width: 500px;
    max-height: 600px;
  }
}
/** Mobile **/
/** Contenu - Mobile Portrait - SP AS **/
@media (max-width: 560px) {
  .lightbox_close{
    max-width: 24px;
  }
  .lightbox_container img {
    max-width: 290px;
  }
  .lightbox_next, .lightbox_prev{
    max-width: 38px;
    background: url('assets/img/arrow.svg') center center / 35px 40px no-repeat;
  }
}
/* Contenu - Mobile Paysage*/ 
@media only screen and (max-width: 1200px) and (max-height: 590px) { 
  /* .lightbox_container  {
    background-color: green;
  } */
  .lightbox_container img {
    max-height: 371px;
  }
  .lightbox_next, .lightbox_prev{
    max-width: 38px;
    background: url('assets/img/arrow.svg') center center / 35px 40px no-repeat;
  }
}
/* Contenu - mobile Paysage AS GF */
@media (max-width: 800px) and (max-height: 590px) { 
  .lightbox_container img {
    max-width: 600px;
    max-height: 320px;
  }
  .lightbox_next, .lightbox_prev{
    max-width: 38px;
    background: url('assets/img/arrow.svg') center center / 35px 40px no-repeat;
  }
  /* .lightbox_close{
    max-width: 38px;
    background: url('assets/img/close.svg') center center / 15px 10px no-repeat;
  } */
}

.lightbox.fadeOut {
  opacity: 0;
}

.lightbox_loader {
  width: 38px;
  height: 38px;
  opacity: .5;
  background: url('assets/img/loader.svg') center center no-repeat;
}

.lightbox button {
  opacity: .5;
  cursor: pointer;
  transition: opacity .3s;
  text-indent: -3000rem;
}

.lightbox button:hover {
  opacity: 1;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/******************************** FIN - LIGHTBOX ********************************/
/******************************** GALLERY ********************************/
.gallery figure{
  margin-bottom: 6px;
}
/* FORMAT 4/3 - 3000x4000 4000x3000 - format homothetique */
.deux-IMG_4-3_unePortraitunePaysage {
  width: 21.9% !important;
}
.trois-IMG_4-3_deuxPortraitsunePaysage, .trois-IMG_4-3_unePaysagedeuxPortraits {
  width: 44.95% !important;
}
/* FORMAT 2/3 - 1000x1500 - 1500x1000 - format non homothetique au 3000x4000 4000x3000*/
.deux-IMG_2-3_unePortraitunePaysage {
  width: 11.5% !important;
}
.trois-IMG_2-3_unePaysage_deuxPortraits {
  width: 49.2% !important;
}
.trois-IMG_2-3_deuxPortraits_unePaysage {
  width: 20.2% !important;
}
.trois-IMG_2-3_unePortrait_deuxPaysages  {
  width: 17% !important;
}
.trois-IMG_2-3_deuxPaysages_unePortrait {
  width: 39.45% !important;
}
.quatre-IMG_2-3_petites_troisPortraits_unePaysage {
  width: 1.15% !important
}

/* FORMAT AUTRE 2/3 - 994x1500 - 1500x994 - format non homothetique au 3000x4000 4000x3000*/
.quatre-IMG_3-4_troisPortraits_autre-2-3_unePaysage {
  width: 21.85% !important;
}
.deux-IMG_autre-2-3_4-3_deuxPaysages{
  width: 39.1% !important;
}
.quatre-IMG_autre-2-3_petites_troisPortraits_unePaysage {
  width: 2% !important;
}

/* paragraphe dans realisation */
p.descriptionRealisation{
  padding: 0 160px;
}
/* Contenu - Tablette */
@media (max-width: 900px) {
  .trois-IMG_3-4_deuxPortraitsunePaysage, .trois-IMG_3-4_unePaysagedeuxPortraits{
    width: 44.5% !important;
  }
  .quatre-IMG_3-4_troisPortraits_autre-2-3_unePaysage {
    width: 100% !important;
  }
  .quatre-IMG_2-3_lagrande_troisPortraits_unePaysage {
    width: 100% !important;
  }

  /* paragraphe dans realisation */
  p.descriptionRealisation{
    padding: 0 40px;
  }
  .citationRealisation{
    margin: 0 40px !important;
  }
}
/* Contenu - Mobile */
@media (max-width: 500px) {
  .deux-IMG_2-3_unePortraitunePaysage, .trois-IMG_2-3_unePaysage_deuxPortraits, .trois-IMG_2-3_unePortrait_deuxPaysages, .trois-IMG_4-3_unePaysagedeuxPortraits, .deux-IMG_autre-2-3_4-3_deuxPaysages, .trois-IMG_2-3_deuxPaysages_unePortrait {
    width: 100% !important;
  }
  /* paragraphe dans realisation */
  p.descriptionRealisation{
    padding: 0 20px !important;
  }
  .citationRealisation{
    margin: 0 35px !important;
  }
}

/******************************** FIN - GALLERY ********************************/
/******************************** FOOTER ********************************/

/******************************** FIN - FOOTER ********************************/