/*
 Theme Name:   Fluid Team Child
 Theme URI:    https://wisepanda.fr/
 Description:  Fluid Team Child Theme
 Author:       hely@Tam
 Author URI:   https://elha.fr/
 Template:     Divi
 Version:      1.0.0
 License: GNU General Public License v2 or later License URI: http: //www.gnu.org/licenses/gpl-2.0.html
 Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready 
 Text Domain: divifluidteamchild
*/

/* Ajoutez vos styles personnalisés ci-dessous */

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########                00.SOMMAIRE                   #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

/* ######### 00.SOMMAIRE ######### */
/* ######### 01.IMPORT ######### */
/* ######### 02.VARIABLES ######### */
/* ######### 03.GENERAL ######### */
/* ######### 04.HEADER ######### */
/* ######### 05.HOME PAGE ######### */
/* ######### 06.SECTION UI BUTTON EXERCICE ######### */
/* ######### 07.SECTION UI CARD EXERCICE ######### */
/* ######### 08.SECTION UI MENU EXERCICE */
/* ######### 09.SECTION UI CONTACT-FORM EXERCICE ######### */
/* ######### 10.SECTION UI IMAGE SLIDER EXERCICE ######### */

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########                01.IMPORT                     #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########                02.VARIABLES                  #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

:root {
  /** ==============================================================
    * 
    * Couleurs principales 
    *
    */

  --primary-color: #ff725e;
  /* Couleur principale - un rouge vif qui évoque l'appétit et la passion pour la cuisine */
  --secondary-color: #ffd900;
  /* Couleur secondaire - un jaune brillant qui représente la fraîcheur et l'énergie des ingrédients naturels */
  --background-color: #0b0b0c;
  /* Couleur de fond - un gris clair pour une toile neutre mettant en valeur les autres éléments */
  --text-color: #333333;
  /* Couleur du texte - un noir profond pour une lisibilité optimale */

  /* Autres couleurs */

  --links-color: #ad974f;
  /* Couleur d'accent - un turquoise apportant une touche de fraîcheur et de dynamisme */
  --hover-color: #8e793e;
  /* Couleur au survol - un orange doux pour une interaction chaleureuse */
  --form-color: #e5e5e5;
  /* Couleur du formulaire - un gris très clair pour une apparence propre et neutre */

  /** ==============================================================
    *
    *Polices principales 
    *
    */

  --fluid-font: "Caveat", handwriting;
  /* Polices principales - Montserrat est une police moderne, lisible et adaptée pour le web */
  --secondary-font: "Open Sans", sans-serif;
  /* Polices secondaires - Open Sans est une police sans empattement qui complète bien Montserrat */
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########                03.GENERAL                    #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--links-color);
  text-decoration: none;
}

a:hover {
  color: var(--hover-color);
}

#page-container,
#main-content,
.et_pb_section {
  background-color: #0b0b0c;
}

/* Center and create fluid icon logo with pure CSS */
.d-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Button scroll to top */
.et_pb_scroll_top::before {
  content: "6";
}

.et_pb_scroll_top.et-pb-icon {
  font-size: 2rem !important;
  color: #ad974f;
  right: 15px;
  background-color: #fff;
  border-radius: 50%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* Change font-family for fluid name in p */
.caveat {
  font-family: var(--fluid-font);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Custom logo icon */
.sign-team .logo-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid;
  background-color: transparent;
  position: relative;
  left: 10px;
}

.sign-team .logo-icon::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: white;
}

.center-mail {
  position: relative;
  bottom: 2px;
}

/* Custom overlay for videos*/
.overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Button Shine Effect for All Buttons | Button CSS Animation */
.btn-contact__shine {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fluid-font);
  font-style: normal;
}

.btn-contact__shine .shine-effect-button {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 16px 20px;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  line-height: 1.2em;
  text-transform: none;
  text-decoration: none;
  background-color: #8e793e;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  color: #fff;
  transition: background-color 0.4s;
  -webkit-transition: background-color 0.4s;
  -moz-transition: background-color 0.4s;
  -ms-transition: background-color 0.4s;
  -o-transition: background-color 0.4s;
}

.btn-contact__shine .shine-effect-button::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff71, transparent);
  transform: translateX(-180px) skew(-20deg);
  -webkit-transform: translateX(-180px) skew(-20deg);
  -moz-transform: translateX(-180px) skew(-20deg);
  -ms-transform: translateX(-180px) skew(-20deg);
  -o-transform: translateX(-180px) skew(-20deg);
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}

.btn-contact__shine .shine-effect-button:hover::before {
  transform: translateX(220px) skew(-20deg);
  -webkit-transform: translateX(220px) skew(-20deg);
  -moz-transform: translateX(220px) skew(-20deg);
  -ms-transform: translateX(220px) skew(-20deg);
  -o-transform: translateX(220px) skew(-20deg);
}

.btn-contact__shine .shine-effect-button:hover {
  background-color: #ad974f;
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            04.HEADER SECTION                 #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

/* Nav stroke effect  */
#move
  #move-right
  #move-right-nav
  .et_pb_menu_inner_container
  .et_pb_menu__wrap
  .et_pb_menu__menu {
  position: relative;
  left: 10%;
}

nav ul li a,
nav ul li a:after,
nav ul li a:before {
  transition: all 0.5s;
}

/* stroke */
nav.et-menu-nav ul li a,
nav.fill ul li a {
  position: relative;
}

nav.et-menu-nav ul li a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: ".";
  color: transparent;
  background: #ad974f;
  height: 1px;
}

nav.et-menu-nav ul li a:hover:after {
  width: 100%;
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            05.HOME PAGE                      #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

/* Center card services p */
.card-services__p
  .et_pb_module_inner
  .dtq-iconbox
  .dtq-iconbox-inner
  .dtq-iconbox__desc {
  margin-top: 22px;
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            06.ABOUT PAGE                     #########
#########                                              #########
################################################################
--------------------------------------------------------------*/
/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            07.TEAM PAGE                      #########
#########                                              #########
################################################################
--------------------------------------------------------------*/
.et_pb_team_member_1_tb_body.et_pb_team_member h4 {
  margin-bottom: 1.5rem;
}

.et-pb-icon {
  font-size: 0.9rem !important;
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            08.PROFIL TEAM PAGE               #########
#########                                              #########
################################################################
--------------------------------------------------------------*/
/* Custum vertical timeline from scratch */
.timeline {
  position: relative;
  margin: 50px auto;
  padding: 40px 0;
  width: 1000px;
  box-sizing: border-box;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #ffffff;
}

.timeline ul {
  padding: 0;
  margin: 0;
}

.timeline ul li {
  list-style: none;
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline ul li:nth-child(odd) {
  float: left;
  text-align: right;
  clear: both;
}

.timeline ul li:nth-child(even) {
  float: right;
  text-align: left;
  clear: both;
}

.content {
  padding-bottom: 20px;
}

.timeline ul li:nth-child(odd):before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 24px;
  right: -6px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.timeline ul li:nth-child(even):before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 24px;
  left: -4px;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.timeline ul li h3 {
  padding: 0;
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
}

.timeline ul li p {
  margin: 10px 0 0;
  padding: 0;
  font-size: 1.3rem;
  color: #bababa;
  font-family: "Caveat", handwriting;
  letter-spacing: 0.05em;
  line-height: 1.3em;
  font-weight: 300;
}

.timeline ul li .time h4 {
  margin: 0;
  padding: 0;
  font-size: 1.7rem;
  color: #fff;
}

.timeline ul li:nth-child(odd) .time {
  position: absolute;
  top: 12px;
  right: -60%;
  margin: 0;
  padding: 8px 16px;
  color: #fff;
}

/*.timeline ul li:nth-child(odd) .time.no-space {
  right: -60%;
}*/

.timeline ul li:nth-child(even) .time {
  position: absolute;
  top: 12px;
  left: -60%;
  margin: 0;
  padding: 8px 16px;
  color: #fff;
}

/* Divi Vertical Timeline Responsive Styles */

@media (max-width: 1000px) {
  .timeline {
    width: 100%;
  }

  .timeline ul li:nth-child(odd) .time {
    right: -100%;
  }
}

@media (max-width: 767px) {
  .timeline {
    width: 100%;
    padding-bottom: 0;
  }

  .timeline:before {
    left: 20px;
    height: 100%;
  }

  .timeline ul li:nth-child(odd),
  .timeline ul li:nth-child(even) {
    width: 100%;
    text-align: left;
    padding-left: 50px;
    padding-bottom: 50px;
  }

  .timeline ul li:nth-child(odd):before,
  .timeline ul li:nth-child(even):before {
    top: -10px;
    left: 16px;
  }

  .timeline ul li:nth-child(odd) .time,
  .timeline ul li:nth-child(even) .time {
    top: -22px;
    left: 50px;
    right: inherit;
  }

  .timeline ul li h3 {
    font-size: 20px;
  }

  .timeline ul li .time h4 {
    font-size: 16px;
  }

  .timeline ul li p {
    font-size: 14px;
  }
}

.et_pb_section_video_bg {
  position: relative;
  top: 0;
  left: 0;
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            09.PORTFOLIO PAGE                 #########
#########                                              #########
################################################################
--------------------------------------------------------------*/
/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            10.CONTACT PAGE                   #########
#########                                              #########
################################################################
--------------------------------------------------------------*/
/* Button fill Effect for form submit | Button CSS Animation */
.et_pb_contact_submit {
  position: relative;
  margin: 10px;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #ad974f;
  border: 1px solid #ad974f;
  border-radius: 5px;
  text-transform: uppercase;
  outline: 0;
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: 0.8s;
  -o-transition: 0.8s;
  -ms-transition: 0.8s;
  -moz-transition: 0.8s;
  -webkit-transition: 0.8s;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.et_pb_contact_submit:hover {
  color: #fff;
}

.et_pb_contact_submit::before {
  content: "";
  position: absolute;
  background: #ad974f;
  left: 0;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  width: 100%;
  height: 0%;
  z-index: -1;
  transition: 0.8s;
  -webkit-transition: 0.8s;
  -moz-transition: 0.8s;
  -ms-transition: 0.8s;
  -o-transition: 0.8s;
  -webkit-border-radius: 50% 50% 0 0;
  -moz-border-radius: 50% 50% 0 0;
  -ms-border-radius: 50% 50% 0 0;
  -o-border-radius: 50% 50% 0 0;
}

.et_pb_contact_submit:hover::before {
  height: 180%;
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            11.BLOG PAGE                      #########
#########                                              #########
################################################################
--------------------------------------------------------------*/
.bb-blog-list article {
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid #ad974f;
  padding: 20px 0 20px 15px;
}

.bb-blog-list article .wrap-img {
  width: 30%;
}

.bb-blog-list article .wrap-description {
  width: 70%;
}

.bb-blog-list .entry-title,
.bb-blog-list .post-meta,
.bb-blog-list .post-content {
  width: 100%;
}

.bb-blog-list .et_pb_post p {
  color: #fff;
}

@media all and (max-width: 768px) {
  .bb-blog-list article {
    flex-direction: column;
  }

  .bb-blog-list article .wrap-img {
    width: 100%;
  }

  .bb-blog-list article .wrap-description {
    width: 100%;
  }
}

/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            12.POST PAGE                      #########
#########                                              #########
################################################################
--------------------------------------------------------------*/


/*--------------------------------------------------------------
################################################################
#########                                              #########
#########            13.FOOTER PAGE                    #########
#########                                              #########
################################################################
--------------------------------------------------------------*/

/* custom footer copyright */

#page-container {
  overflow: hidden;
}

.custom-footer {
  overflow: hidden;
  font-family: caveat;
  color: #bababa;
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  line-height: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767.98px) {
  .custom-footer {
    font-size: 0.88rem;
    text-align: center;
  }
}

.custom-footer p a {
  color: #95815b;
}
