/*
Theme Name:     Groupe écho
Description:    Agences de communication - Angers, Troyes, Cholet
Author:         Maryline Cesbron
Template:       Divi
Version:        3.0
*/

/*
Rajoutez vos règles de CSS personnalisé ci-dessous
*/

.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
}

/*
body{
  hyphens: auto;
}
*/

/*******************
Typo titres
*******************/

@font-face {
    font-family: 'BroncoInLine';
    src: url('Fonts/BroncoInLine.otf') format('opentype');
    font-weight: light;
    font-style: normal;
}

h1,
h2,
.BroncoInLine {
    font-family: 'BroncoInLine', sans-serif !important;
    text-transform: uppercase;
}

}

button, 
input[type="submit"], 
input[type="reset"], 
input[type="button"], 
a.et_pb_button, 
body .et_pb_button,
.et_pb_button {
    font-family: 'BroncoInLine', sans-serif !important;
    text-transform: uppercase !important;   
    font-size: 18px !important;
}

/*******************
Fond au scroll menu
*******************/

#menu-fixe {
    background: transparent; /* Transparent au départ */
    transition: background 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

#menu-fixe.et-fixed-position {
    background: rgba(255, 255, 255, 0.9); /* Fond blanc semi-transparent au scroll */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Effet d'ombre au scroll */
}


#menu-fixe {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

#menu-fixe.scrolled {
    background-color: #191919;
}

