/*
 Theme Name:     Divi Child
 Author:         Kangourouge
 Author URI:     kangourouge.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */
@font-face {
    font-family: 'AvantGarde';
	src: url('fonts/ITCAvantGardeGothicW05-Demi.eot');
    src: url('fonts/ITCAvantGardeGothicW05-Demi.eot?#iefix') format('embedded-opentype'),
        url('fonts/ITCAvantGardeGothicW05-Demi.woff2') format('woff2'),
        url('fonts/ITCAvantGardeGothicW05-Demi.woff') format('woff'),
        url('fonts/ITCAvantGardeGothicW05-Demi.ttf') format('truetype');
    font-weight: 700;
}
body {
	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
	font-family:'AvantGarde';
	font-size: 20px;
	font-weight:700;
	line-height:1em;
	cursor: none;
}
p {
	font-size:20px;
	color:#FFFFFF;
	line-height:24px;
}
h1 {
	font-size:7rem !important;
	color:#FFFFFF;
	line-height:.9em;
	text-transform:uppercase;
}
h2 {
	font-size:15px;
	line-height:1em;
	text-transform:uppercase;
	padding-bottom:50px;
}
.content h2, .section-competences h2, .section-experiences h2 {
	color:#F36D6E !important;
}

.header-menu {
	position:fixed;
	right:100px;
	display:block;
	top: 100px;
}
.header-menu li {
	text-transform:uppercase;
	font-size:13px;
	color:#fff;
	list-style:none;
}
p.mini-moi {
	font-size:15px;
	text-transform:uppercase;
	letter-spacing:6px;
	text-align:center;
	margin-bottom:100px;
}
.hidden-content.masked p.mini-moi, .hidden-content.masked h2 {
	color:#FFFFFF;
}
.content p.mini-moi {
	color:#FFC4C0;
}
.container {
	padding:10% 50px !important;
}
.section-competences li {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid;
  border-color: rgba(255, 255, 255, 0.5);
  list-style: none;
  overflow: hidden; /* important pour l’animation */
}

.section-competences li:first-child {
  border-top: 1px solid;
  border-color: rgba(255, 255, 255, 0.5);
}

.section-competences ul {
  padding: 0;
}

/* Titre */
.competence-title {
  font-size: 5em;
  line-height: 1em;
  text-transform: uppercase;
  transition: 0.3s;
  position: relative;
  z-index: 1;
}

/* Effet de background animé */
.section-competences li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0; /* commence invisible */
  height: 100%;
  background-color: #F36D6E;
  transition: width 0.6s ease-in-out;
  z-index: 0;
}

.section-competences li:hover::before {
  width: 100%;
}

/* Réduction du titre */
.section-competences li:hover .competence-title {
  font-size: 4em;
  padding: 7px 0 7px;
}

/* Texte logiciels masqué au départ */
.competence-logiciels {
  font-size: 1.2em;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.3s;
  position: relative;
  z-index: 1;
}

/* Apparition du texte en même temps que le fond */
.section-competences li:hover .competence-logiciels {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s; /* délai d'apparition */
}

a {
  color: white;
  text-decoration: none;
}
.uppercase {
  text-transform: uppercase;
}
.masked {
  position: relative;
  background: #F36D6E;
  color: #FFFFFF;
  
  /* Valeurs par défaut pour le masque */
  -webkit-mask-image: radial-gradient(circle at 0px 0px, black 5px, transparent 0);
  mask-image: radial-gradient(circle at 0px 0px, black 5px, transparent 0);
  
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  mask-repeat: no-repeat;
  mask-position: 0 0;

  pointer-events: none; /* pour laisser cliquer ce qu’il y a en dessous */
  visibility: hidden;   /* sera activé par le JS */
}

.hidden-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #F36D6E;
  color: #FFFFFF;
  /* Valeurs par défaut pour le masque */
  -webkit-mask-image: radial-gradient(circle at 0px 0px, black 5px, transparent 0);
  mask-image: radial-gradient(circle at 0px 0px, black 5px, transparent 0);
  pointer-events: none;
  visibility: hidden;


  /* important : pour que le masque fonctionne sur toute la surface */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  mask-repeat: no-repeat;
  mask-position: 0 0;
  pointer-events: none; /* pour laisser cliquer en dessous */
}

.section-a-propos, .section-experiences {
	padding-top: 200px;
}
.section-titre .text-center.align-items-center {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-height: 500px;
}
.section-competences {
	padding-top: 100px;
}
.competence-logiciels {
	padding-right:30px;
}
.section-experiences {
	background-color:#246863;
}