@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');

/*ANIMATED TITLE*/

/* 
	Weight axis: 100 – 700
	Width axis: 85 – 100
*/

@font-face {
  font-family: "Heading Now";
  src: url("https://fonts.vdhazel.com/headingnow/Heading-Now-Variable-Regular-trial.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
}


.animated-text {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  font-size: 2em;
  margin-bottom: 5.5px;
  font-weight: 50;
}

.letterx {
  display: inline-block;
  --wght: 100;
  --wdth: 85;
  --opacity: 0.25;
  --letter-spacing: 0;
  --font-size: 1em;
  font-variation-settings: "wght" var(--wght), "wdth" var(--wdth);
  opacity: var(--opacity);
  letter-spacing: var(--letter-spacing);
  font-size: var(--font-size);
  transition: font-variation-settings 1s ease-in-out, opacity 1s ease-in-out,
    letter-spacing 2s ease-in-out, font-size 1s ease-in-out;
}

/*END ANIMATED TITLE*/

body {
	font-family: "Raleway", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	color: grey;
	padding: 20px;
	/* background: linear-gradient(260deg, */
	/* rgba(23.1% , 22.0% , 14.1%, 1), */
	/* rgba(52,52,52, 0.75), */
	/* rgba(42.4% , 50.6% , 49.4%, 1) */
	/* ); */
	background-color: black;
	background-attachment: fixed;
	background-size: cover;
	background-position: center center;
}

		
.background-image {

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to bottom, rgba(255, 168, 76, 0.1) 0%, rgba(255, 123, 13, 0.1) 100%), url('./images/paysage.jpeg');
	background-size: cover;
	background-position: center;
	z-index: -1;
	opacity: 0;
	animation: fadeInOpacity 10s ease-in 0.5s forwards;
}

/* Barres noires pour simuler un écran de TV */
.tv-bar-top,
.tv-bar-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    height: 10%; /* HAUTEUR */
    background-color: black;
    z-index: 3;
}

.tv-bar-top {
    top: 0;
}

.tv-bar-bottom {
    bottom: 0;
}


.line {
	height: 3px;
	/* Set the height of the line */
	background: linear-gradient(to right, #3498db, #8e44ad);
	/* Create a gradient effect */
	margin-top: -0.9em;
	margin-bottom: 3.5em;
}

.nom {
	font-size: 1.5em;
	font-weight: bold;
	font-variant: small-caps;
	letter-spacing: 3px;
	text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
	opacity: 0;
	animation: fadeInOpacity 5s ease-in 0.5s forwards;
}

.titre {
	font-size: 1.5em;
	font-weight: bold;
	font-variant: small-caps;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
	opacity: 0;
	animation: fadeInOpacity 6s ease 2.5s forwards;
}

.titre2 {
	font-size: 1.05em;
	font-weight: bold;
	font-variant: normal;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
	opacity: 0;
	text-align: right;
	margin-top: -12px;
	margin-right: 30px;
	margin-bottom: 40px;

	
	animation: fadeInOpacity 5s ease 4.5s forwards;
}

.citation {
  font-size: .95em;
  font-weight: 400;
  font-variant: none;
  color: black;
  text-align: right;
  margin-right: 20px;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.7),
               0 0 1em rgba(255, 255, 255, 0.7);
  position: relative;
  top: -500px;
  opacity: 0;
  animation: slideDown 3s ease-out 2s forwards, fadeInOpacity 5s ease-in 5s forwards;
  transition: text-shadow 4s, color 4s; /* transition pour text-shadow */
}

.citation:hover {
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.9),
               0 0 1em rgba(0, 0, 0, 0.9);
  color: #8b8b8b;
}

@keyframes fadeInOpacity {
	to {
		opacity: 1;
	}
}

@keyframes slideDown {
	to {
		top: 0;
	}
}

.citation.auteur {
	opacity: 0;
	animation: slideDown 3s ease-out 4s forwards, fadeInOpacity 6s 6s forwards;
	font-size: 0.95em;
}

/*GESTION CHANGEMENT CITATIONS*/
.fade {
	transition: opacity 3s ease-in-out;
}

.fade-out {
	opacity: 0;
}

.fade-in {
	opacity: 1;
}

/* CSS pour le curseur pointeur sur la citation */
.citation,
.citation.auteur {
	cursor: pointer;
	white-space: normal; /* Permet les retours à la ligne */
	word-wrap: break-word; /* Permet de couper les mots trop longs si nécessaire */
}

/* Nouvelle classe pour le conteneur de citation avec une largeur maximale */
.citation-container {
	max-width: 400px; 	/* Exemple de largeur maximale arbitraire */
	/* margin: 0 auto;   Centrer le conteneur */
	text-align: right;	
}

#fullscreen-frame {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	text-align: left;
	/* Aligner le texte à gauche */
	width: 100%;
	height: 100%;
	padding: 2rem;
	align-items: center;
	/* Centrer verticalement */
	justify-content: center;
	/* Centrer horizontalement */
	z-index: 1;
}

.cadre-simple {
	font-size: 1em;
	background: linear-gradient(260deg,
			rgba(42.4%, 50.6%, 49.4%, 1),
			rgba(52, 52, 52, 0.75),
			rgba(23.1%, 22.0%, 14.1%, 1));
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
	border: 1px solid white;
	/* Bordure */
	padding: 40px;
	/* Espacement interne pour le contenu */
	width: 500px;
	border-radius: 15px;
	/* Coins arrondis */
	opacity: 0;
	animation: fadeInOpacity 3s ease forwards;
	z-index: 2; /*A 2 POUR OISEAUX DESSUS/DESSOUS*/
	/* height: 250px; */
	transition: height 2s ease;	/* Transition de hauteur en douceur */

}

/*MAIN CONTENT*/

.main-content {
	opacity: 0;
	margin: 0 auto;
	padding: 2rem;
	max-width: 100%;
	flex-grow: 1;
	background-color: rgba(0, 51, 102, 1);
	/* Fond sombre*/
	border: 1px solid black;
	border-radius: 15px;
	margin-top: 1000px;
	/* Adjust this value as needed */

}

h1 {
	display: block;
	font-size: 2em;
	margin-block-start: -0.05em;
	margin-block-end: -0.25em;
	margin-inline-start: -2.5px;
	margin-inline-end: 0px;
	font-weight: bold;
	/* -webkit-text-stroke: 1px black; */
}

.h5 {
	margin-block-start: 0em;
	margin-block-end: 0em;
	margin-inline-start: 20px;
	padding-top: 2px;
	/* margin-inline-end: 1000px; */
	color: #ccc;
	font-size: 0.95em;
	font-weight: 300;

}

.space {
	margin-top: 900px;
	/*MARGE ENTRE SECTIONS*/
}

.space100 {
	margin-top: 100px;
	/*MARGE ENTRE SECTIONS*/
}

.space300 {
	margin-top: 300px;
	/*MARGE ENTRE SECTIONS*/
}

.space200 {
	margin-top: 200px;
	/*MARGE ENTRE SECTIONS*/
}

.spacex {
	margin-top: 1000px;
	/*MARGE ENTRE SECTIONS*/
}

.text-center{
	text-align: center;
}

.package {

	background-color: rgba(63, 63, 61, 0.5);
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	width: 100%;
	margin-top: 10px;
	padding: 30px;
}

.package .packtext {

	/* padding: 30px; */
	text-align: justify;
}

/* BLOCK SCROLL AVANT FIN ANIMATIONS */
.noscroll {
	overflow: hidden;
}

/*NO SCROLL 10 SEC*/
     #countdown {
            position: fixed;
            top: 0;
            left: 0;
            background: #fff;
            padding: 5px;
            border: 1px solid #000;
            z-index: 1000;
        }
        .no-scroll {
            overflow: hidden;
        }
.no-scroll {
	overflow: hidden;
}

/* IMAGES FULLSCREEN */
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.visible {
    opacity: 1;
    visibility: visible;
}

#fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    transition: opacity 0.5s ease;
}

#prev-image, #next-image {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    z-index: 10000;
}

#prev-image {
    left: 20px;
}

#next-image {
    right: 20px;
}

#close-fullscreen {
    position: absolute;
    top: 0px;
    right: 30px;
    background-color: white;
    cursor: pointer;
    border-radius: 25%;
    font-size: 1.5rem;
    font-weight: 700;
}


/*FAQ INTRO*/

.faqintro-heading {
  font-weight: 500;
  width: 100%;
  font-size: 0.95em;
  -webkit-transition: text-indent 0.2s;
  /* text-indent: 20px; */
  color: #000000;
  padding-left: 10px; /*PADDING POUR SCROLLBAR*/
  padding-right: 10px; /*PADDING POUR SCROLLBAR*/
  /* padding-bottom: 20px; */
  /* margin-bottom:30px; */
}

.faqintro-text {
  font-size: 0.90em;
  font-weight: 400;
  color: #141414; /*Gris*/
  width:95%;
  padding-left: 15px; /*PADDING POUR SCROLLBAR*/
  padding-right: 15px; /*PADDING POUR SCROLLBAR*/
  /* padding-bottom: 20px; */
  /* margin-bottom:30px; */
  max-height: 100%; /* Limite la hauteur maximale */
  overflow-y: auto; /* Ajoute une barre de défilement verticale */
  overflow-wrap: break-word;
  text-align: justify;          /* Justifie le texte sur toute la largeur du conteneur */
  word-break: break-word;       /* Coupe les mots pour éviter les débordements */
  overflow-wrap: break-word;    /* Couper les mots si nécessaire pour rester dans le conteneur */
  hyphens: auto;
}

/* Personnalisation de la barre de défilement pour les navigateurs WebKit */
.faqintro-text::-webkit-scrollbar {
  display: block; 	
    width: 12px;
    height: 12px; /* Largeur de la barre de défilement */
}

.faqintro-text::-webkit-scrollbar-track {
  background: #f1f1f1; /* Couleur de la piste de la barre de défilement */
  border-radius: 10px;
}

.faqintro-text::-webkit-scrollbar-thumb {
  background: #888; /* Couleur de la poignée de la barre de défilement */
  border-radius: 10px;
  padding: 20px;
}

.faqintro-text::-webkit-scrollbar-thumb:hover {
  background: #555; /* Couleur de la poignée de la barre de défilement au survol */
}

.faqintro {
  width: 98%;
  margin: 0 auto;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
  color: #000; 
  position: relative;
  border: 1px solid #E1E1E1;
}

.faqintro label {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 50px;
  padding-top: 2px;
  background-color: rgba(256,256,256, 0.05);
  border-bottom: 1px solid #E1E1E1;
}

.faqintro input[type="checkbox"] {
  display: none;

}

.faqintro .faqintro-arrow {
  width: 7px;
  height: 7px;
  transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-top: 2px solid rgba(255, 255, 255, 0.5); /*COULEUR FLECHE*/ 
  border-right: 2px solid rgba(255, 255, 255, 0.5); /*COULEUR FLECHE*/
  float: right;
  position: relative;
  top: -28px;
  right: 34px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

 .faqintro input[type="checkbox"]:checked + label > .faqintro-arrow {
  transition: -webkit-transform 0.8s;
  transition: transform 0.8s;
  transition: transform 0.8s, -webkit-transform 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
}
 .faqintro input[type="checkbox"]:checked + label {
  display: block;
  background: rgba(255,255,255,0.5) !important;
  color: #141414;
  /* font-size: 0.9em; */
  height: 330px;
  transition: height 0.8s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

 .faqintro input[type='checkbox']:not(:checked) + label {
  display: block;
  transition: height 0.8s;

  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

::-webkit-scrollbar {
  display: none;
}


/*TIMELINE*/

.timeline {
	position: relative;
	width: 100%;
	margin: 20px 0;
}

.timeline-container {
	flex-direction: column;
	color: white;
	background: linear-gradient(to right, #3498db, #8e44ad);
	border: 1px solid #ccc;
	border-radius: 15px;
	padding: 40px 0;
	overflow: hidden;
}

.timeline-line {
	width: 100%;
	height: 2px;
	background: black;
	position: absolute;
	top: 50%;
	transform: translateX(-50%);
}

.timeline-row {
	display: flex;
	align-items: center;
	margin: 15px 0;
	position: relative;
	width: 100%;
}

.timeline-row[data-row="years"] {
	border-bottom: 1px solid #ccc;
	top: -10px;
}

.timeline-event,
.timeline-event-formation {
	position: absolute;
	background-color: grey;
	border: 1px solid darkgrey;
	font-size: 9px;
	top: 0;
	left: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 5px;
	text-align: center;
	cursor: pointer;
}

.timeline-event-formation {
	background-color: violet;
	border: 1px solid #ccc;
}

.timeline-event:hover,
.timeline-event-formation:hover {
	background-color: #555;
}

.professional-experience {
	left: 0px;
}

.education {
	margin-bottom: 100px;
}

.xpinfos-container {
	display: flex;
	flex-wrap: wrap;
	margin-top: 5px;
	gap: 5px;
}

.event-details-container {
	font-size: .95em;
	display: none;
	flex: 1;
	text-align: right;
	padding: 20px;
	min-width: 200px;
	border: 1px solid grey;
	background: linear-gradient(135deg, #000000, #003366);
	border-radius: 15px;
	box-sizing: border-box;
	z-index: 1;
}

.job-description-container {
	font-size: .85em;
	display: none;
	flex: 2;
	padding: 30px;
	border: 1px solid grey;
	border-radius: 15px;
	background: linear-gradient(135deg, #003366, #003366);
	box-sizing: border-box;
	z-index: 1;
}

#job-description-title {
	margin-top: 0;
}

#job-description-list {
	margin-top: 0;
	padding-left: 20px;
}

#job-description-list li {
	list-style-type: disc;
	margin-top: 8px;
}

.timeline-indicator {
	z-index: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 2px;
	background-color: #007bff;
	transition: left 0.3s ease;
}

.timeline-year-indicator {
	position: absolute;
	top: 10px;
	left: 0;
	padding: 5px 10px;
	background-color: #007bff;
	color: white;
	border-radius: 5px;
	transform: translateX(-50%);
	white-space: nowrap;
	pointer-events: none;
}

.timeline-year {
	flex: 1;
	text-align: center;
	overflow: hidden;
	padding: 10px 0;
	border-right: 1px solid #ccc;
}

.timeline-year:last-child {
	border-right: none;
}


/*FIN TIMELINE*/

/*SKILLS FAQ*/

/* Styles généraux */


.parent-container {
	padding: 0 20px 0 20px;
	max-width: 800px;
	width: 100%;
}

.faq {
	list-style: none;
	padding-right: 20px;
}

.faq li {
	margin-bottom: 5px;

}

/* Styles des réponses */
.faq li.active .answer {
	max-height: auto !important;
	padding-bottom: 25px;
	transition: max-height 2s ease, padding-bottom 1.5s ease;
}

/* Styles des compétences */
.faq li.active .skillset {
	color: #808080;
	/* Couleur au survol */
	transition: color 1s ease;
}

.faq .answer {
	color: #CCC;
	font-size: 14px;
	line-height: 30px;
	max-height: 0;
	overflow-y: hidden;
	transition: max-height 2s ease, padding-bottom 1.5s ease;
	list-style-type: none;
}

.faq .skillset {
	color: #090909;
	/* Couleur par défaut */
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	position: relative;
	cursor: pointer;
	padding: 5px 0;
	transition: color 1s ease;
}

/* Styles des éléments de résumé (summary) */
.faq summary {
	font-size: 16px;
	border: 1px solid black;
	border-radius: 5px;
	padding: 3px 3px;
	background-color: rgba(0, 0, 255, 0.3);
	/* Couleur de fond avec transparence */
}

/* Styles des flèches de résumé (summary) */
.faq .plus-minus-toggle {
	cursor: pointer;
	height: 21px;
	position: absolute;
	width: 21px;
	left: -40px;
	top: 13px;
	z-index: 2;
}

/* Styles des flèches avant et après */
.faq .plus-minus-toggle:before,
.faq .plus-minus-toggle:after {
	background: #000;
	/* Couleur initiale des flèches */
	content: '';
	height: 5px;
	left: 0;
	position: absolute;
	top: 0;
	width: 21px;
	transition: transform 1s ease, background 1s ease;
	/* Transition de couleur */
}

.faq .plus-minus-toggle:after {
	transform-origin: center;
}

/* Styles des flèches lorsqu'elles sont "collapsed" */
.faq .plus-minus-toggle.collapsed:after {
	transform: rotate(-90deg);
	background: #808080;
	/* Nouvelle couleur des flèches */
}

.faq .plus-minus-toggle.collapsed:before {
	transform: rotate(-180deg);
	background: #808080;
	/* Nouvelle couleur des flèches */
}

/* Styles pour le conteneur de compétences au survol */
.hover-skillset-container {
	position: absolute;
	display: none;
	border: 1px solid #ccc;
	background: rgba(255, 255, 255, 0.9);
	padding: 20px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.hover-skillset-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hover-skillset-container li {
	margin-bottom: 5px;
	width: auto;
}

.parent-container .faq .answer ul {
	list-style-type: none;

}

 .parent-container .faq .answer ul .subskills {
	transition: background-color 1s ease, color 1s ease;
	/* Transition douce */
}

.parent-container .faq .answer ul .subskills[data-skillset] {
	/* color: red !important;  Couleur du texte */
	background-color: rgba(256, 256, 256, 0);
	/* Couleur de fond */
	border-radius: 5px;
	/* Coins arrondis */
	padding: 5px 5px;
	/* Espacement interne */
	transition: background-color 2s ease, color 2s ease;
	/* Transition douce */
}


.parent-container .faq .answer ul .subskills[data-skillset]:hover {
	cursor: pointer;
	background-color: #4682b4;
	/* Couleur de fond au survol */
	color: white;
	/* Couleur du texte au survol */
}

/*FIN SKILLS*/

.parallax {
	/* Définir une hauteur pour la section parallax */
	height: 400px;
	/* L'image d'arrière-plan fixe et ne défile pas avec le contenu */
	background-attachment: fixed;
	/* Centre l'image d'arrière-plan */
	background-position: center;
	/* La taille de l'image d'arrière-plan est couverte pour remplir l'élément */
	background-size: cover;
}

.parallax.bg1 {
	/* URL de l'image de l'arrière-plan */
	background-image: url('./images/ton_image1.jpg');
}

.parallax.bg2 {
	background-image: url('./images/ton_image2.jpg');
}

.content {
	padding: 20px;
}

.content h2 {
	font-size: 24px;
	margin-top: 20px;
}

.content p {
	font-size: 18px;
	line-height: 1.6;
}

/* Animation d'apparition depuis la droite */
.appear-right {
	animation: appear-right 3s ease-out;
	z-index: 1;
}

@keyframes appear-right {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Animation d'apparition depuis la gauche */
.appear-left {
	animation: appear-left 3s ease-out;
	z-index: 1;
}

@keyframes appear-left {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		 opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.fadeIn {
	animation: fadeIn 1s ease-in;

}

/* Application de deux animations */
.fadeInAppear-right {
	animation: fadeIn 3s ease-out, appear-right 3s ease-out;
	animation-delay: 5s;
}

/* Application de deux animations */
.fadeInAppear-left {
	animation: fadeIn 3s ease-out, appear-left 3s ease-out;
	animation-delay: 5s;
}

/**/
/* Personnalisation de la scrollbar */
::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

::-webkit-scrollbar-track {
	background: #1a1a1a;
	/* Couleur du fond de la scrollbar */
}

::-webkit-scrollbar-thumb {
	background: #4CAF50;
	/* Couleur de la poignée de la scrollbar */
	border-radius: 6px;
	/* Arrondir les coins */
	border: 3px solid #1a1a1a;
	/* Ajouter un espace autour de la poignée */
}

::-webkit-scrollbar-thumb:hover {
	background: #45a049;
	/* Changer la couleur au survol */
}

::scrollbar {
	width: 12px;
	height: 12px;
}

::scrollbar-track {
	background: #1a1a1a;
}

::scrollbar-thumb {
	background: #4CAF50;
	border-radius: 6px;
	border: 3px solid #1a1a1a;
}

::scrollbar-thumb:hover {
	background: #45a049;
}

/* ACHIEVEMENT AUDIO */

.achievementszone {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.achievement {
	/*  flex: 1 1 calc(30% - 20px);*/
	box-sizing: border-box;
	max-width: 400px;
	margin: 10px;
	padding: 20px;
	background: rgba(0, 0, 0, 0.2);
	color: #ccc;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.audio-comparison {
	align-items: center;
}

.button-container,
.audio-container {
	margin: 10px 0;
	width: 100%;
	text-align: center;
}

.button-container button {
	padding: 10px 20px;
	background-color: #007bff;
	color: #fff;
	border: none;
	width: 170px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s, box-shadow 0.3s;
}

.button-container button:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-container button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.comparisonPlayer {
	width: 100%;
	border-radius: 5px;
}

.flip-card {
	background-color: transparent;
	width: 100%;
	height: 300px;
	perspective: 1000px;
	position: relative;
}

.flip-card-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 10px;
}

.flip-card-front {
	background-color: #bbb;
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
}

.flip-card-front img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

.flip-card-front .hover-text {
	position: absolute;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	font-size: 24px;
	padding: 10px;
	border-radius: 5px;
	opacity: 0;
	transition: opacity 0.3s;
}

.flip-card-front:hover .hover-text {
	opacity: 1;
}

.flip-card-back {
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	transform: rotateY(180deg);
	padding: 20px;
	box-sizing: border-box;
}


/* Image floue sur hover */
.flip-card-front:hover img {
	transition: filter 2s ease;
	filter: blur(5px);
}

/* Bouton "Découvrir" net sur hover */
.flip-card-front:hover .hover-text {
	transition: opacity 0.3s;
	opacity: 1;
}

/* Agrandir la vignette et basculer sur la modale au clic */
.flip-card {
	transition: transform 0.8s;
}

.flip-card.flipped {
	transform: scale(1.2) rotateY(180deg);
}


/*FIN ACHIEVEMENTS*/


/*CSS SWITCHES*/
.switch {
	width: 12rem;
	/* 18rem / 1.5 */
	position: relative;
	margin: 2.67rem auto;
	/* 4rem / 1.5 */
	font-size: 0;
	margin-bottom: 0.67rem;
	/* 1rem / 1.5 */
}

.switch input {
	position: absolute;
	top: 0;
	z-index: 2;
	opacity: 0;
	cursor: pointer;
	height: 2rem;
	/* 3rem / 1.5 */
	width: 4rem;
	/* 6rem / 1.5 */
	left: 4rem;
	/* 6rem / 1.5 */
	margin: 0;
}

.switch input:checked {
	z-index: 1;
}

.switch input:checked+label {
	opacity: 1;
	cursor: default;
}

.switch input:not(:checked)+label:hover {
	opacity: 0.5;
}

.switch label {
	color: #fff;
	opacity: 0.33;
	transition: opacity 0.25s ease;
	cursor: pointer;
	font-size: 1rem;
	/* 1.5rem / 1.5 */
	line-height: 2rem;
	/* 3rem / 1.5 */
	display: inline-block;
	width: 4rem;
	/* 6rem / 1.5 */
	height: 100%;
	margin: 0;
	text-align: center;
}

.switch label:last-of-type {
	margin-left: 4rem;
	/* 6rem / 1.5 */
}

.switch .toggle-outside {
	height: 100%;
	border-radius: 1.33rem;
	/* 2rem / 1.5 */
	padding: 0.17rem;
	/* 0.25rem / 1.5 */
	overflow: hidden;
	transition: 0.25s ease all;
	background: #fff;
	position: absolute;
	width: 4rem;
	/* 6rem / 1.5 */
	left: 4rem;
	/* 6rem / 1.5 */
}

.switch .toggle-inside {
	border-radius: 3.33rem;
	/* 5rem / 1.5 */
	background: #4a4a4a;
	position: absolute;
	height: 1.67rem;
	/* 2.5rem / 1.5 */
	width: 1.67rem;
	/* 2.5rem / 1.5 */
	transition: 0.25s ease all;
}

.switch input:checked~.toggle-outside .toggle-inside {
	left: 0.17rem;
	/* 0.25rem / 1.5 */
}

.switch input~input:checked~.toggle-outside .toggle-inside {
	left: 2.17rem;
	/* 3.25rem / 1.5 */
}

.switch--expanding-inner input:checked+label:hover~.toggle-outside .toggle-inside {
	height: 1.67rem;
	/* 2.5rem / 1.5 */
	width: 1.67rem;
	/* 2.5rem / 1.5 */
}

.switch--expanding-inner.switch--horizontal input:hover~.toggle-outside .toggle-inside {
	width: 2.33rem;
	/* 3.5rem / 1.5 */
}

.switch--expanding-inner.switch--horizontal input:hover~input:checked~.toggle-outside .toggle-inside {
	left: 1.5rem;
	/* 2.25rem / 1.5 */
}


/*INVITATION AU SCROLL SOURIS*/


.scroll-indicator {
	position: fixed;
	bottom: 14%;
	transform: translateY(opx);
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 80px;
	border: 2px solid white;
	border-radius: 25px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	/* Aligner en haut */
	opacity: 0;
	animation: fadeInOut 30s ease 8s forwards;
	
}

@keyframes fadeInOut {
	0% {
		opacity: 0;
		/* Caché */
	}

	50% {
		opacity: 1;
		/* Caché */
	}

	100% {
		opacity: 1;
		/* Caché */
	}
}


.scroll-point {
	width: 10px;
	/* Réduire la taille du point */
	height: 10px;
	/* Réduire la taille du point */
	background-color: white;
	border-radius: 50%;
	margin-top: 10px;
	/* Espacement initial en haut */
	animation: scrollAnimation 2.5s infinite;
}

@keyframes scrollAnimation {
	0% {
		transform: translateY(-5px) scale(0.5);
		/* Taille réduite et position haute */
		opacity: 0;
	}

	50% {
		transform: translateY(5px) scale(2.5);
		/* Taille agrandie et position moyenne */
		opacity: 1;
	}

	100% {
		transform: translateY(43px) scale(2.5);
		/* Taille réduite et position basse */
		opacity: 0;
	}
}

/*FIN SCROLL SOURIS*/
/* ZOIZEAUX */

*,
*::before,
*::after {
	box-sizing: border-box;
}

.container-zoiz {

	position: absolute;
	overflow: hidden;

	display: flex;
	width: 100%;

	align-items: center;
	justify-content: center;
	min-height: 35rem;
}

@keyframes fadeIn {
	to {
		opacity: 1;
		/* Rend visible */
	}
}

.bird {

	background-image: url(./images/bird-cells-new.svg);
	background-size: auto 100%;
	width: 88px;
	height: 125px;
	will-change: background-position;
	-webkit-animation-name: fly-cycle;
	animation-name: fly-cycle;
	-webkit-animation-timing-function: steps(10);
	animation-timing-function: steps(10);
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.bird--one {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-delay: -0.5s;
	animation-delay: -0.5s;
}

.bird--two {
	-webkit-animation-duration: 0.9s;
	animation-duration: 0.9s;
	-webkit-animation-delay: -0.75s;
	animation-delay: -0.75s;
}

.bird--three {
	-webkit-animation-duration: 1.25s;
	animation-duration: 1.25s;
	-webkit-animation-delay: -0.25s;
	animation-delay: -0.25s;
}

.bird--four {
	-webkit-animation-duration: 1.1s;
	animation-duration: 1.1s;
	-webkit-animation-delay: -0.5s;
	animation-delay: -0.5s;
}

.bird-container {
	z-index: 2;
	position: absolute;
	top: 26%;
	left: -10%;
	transform: scale(1) translateX(-10vw);
	will-change: transform;
	-webkit-animation-name: fly-right-one;
	animation-name: fly-right-one;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.bird-container--one {
	-webkit-animation-duration: 15s;
	animation-duration: 15s;
	-webkit-animation-delay: 0;
	animation-delay: 0;
	z-index: 3;
}

.bird-container--two {
	-webkit-animation-duration: 16s;
	animation-duration: 16s;
	-webkit-animation-delay: 1s;
	animation-delay: 1s;
	z-index: 1;
}

.bird-container--three {
	-webkit-animation-duration: 14.6s;
	animation-duration: 14.6s;
	-webkit-animation-delay: 9.5s;
	animation-delay: 9.5s;
	z-index: 3;
}

.bird-container--four {
	-webkit-animation-duration: 16s;
	animation-duration: 16s;
	-webkit-animation-delay: 10.25s;
	animation-delay: 10.25s;
	z-index: 1;
}

@-webkit-keyframes fly-cycle {
	100% {
		background-position: -900px 0;
	}
}

@keyframes fly-cycle {
	100% {
		background-position: -900px 0;
	}
}

@-webkit-keyframes fly-right-one {
	0% {
		transform: scale(0.3) translateX(-10vw);
	}

	10% {
		transform: translateY(2vh) translateX(10vw) scale(0.4);
	}

	20% {
		transform: translateY(0vh) translateX(30vw) scale(0.5);
	}

	30% {
		transform: translateY(4vh) translateX(50vw) scale(0.6);
	}

	40% {
		transform: translateY(2vh) translateX(70vw) scale(0.6);
	}

	50% {
		transform: translateY(0vh) translateX(90vw) scale(0.6);
	}

	60% {
		transform: translateY(0vh) translateX(110vw) scale(0.6);
	}

	100% {
		transform: translateY(0vh) translateX(110vw) scale(0.6);
	}
}

@keyframes fly-right-one {
	0% {
		transform: scale(0.3) translateX(-10vw);
	}

	10% {
		transform: translateY(2vh) translateX(10vw) scale(0.4);
	}

	20% {
		transform: translateY(0vh) translateX(30vw) scale(0.5);
	}

	30% {
		transform: translateY(4vh) translateX(50vw) scale(0.6);
	}

	40% {
		transform: translateY(2vh) translateX(70vw) scale(0.6);
	}

	50% {
		transform: translateY(0vh) translateX(90vw) scale(0.6);
	}

	60% {
		transform: translateY(0vh) translateX(110vw) scale(0.6);
	}

	100% {
		transform: translateY(0vh) translateX(110vw) scale(0.6);
	}
}

@-webkit-keyframes fly-right-two {
	0% {
		transform: translateY(-2vh) translateX(-10vw) scale(0.5);
	}

	10% {
		transform: translateY(0vh) translateX(10vw) scale(0.4);
	}

	20% {
		transform: translateY(-4vh) translateX(30vw) scale(0.6);
	}

	30% {
		transform: translateY(1vh) translateX(50vw) scale(0.45);
	}

	40% {
		transform: translateY(-2.5vh) translateX(70vw) scale(0.5);
	}

	50% {
		transform: translateY(0vh) translateX(90vw) scale(0.45);
	}

	51% {
		transform: translateY(0vh) translateX(110vw) scale(0.45);
	}

	100% {
		transform: translateY(0vh) translateX(110vw) scale(0.45);
	}
}

@keyframes fly-right-two {
	0% {
		transform: translateY(-2vh) translateX(-10vw) scale(0.5);
	}

	10% {
		transform: translateY(0vh) translateX(10vw) scale(0.4);
	}

	20% {
		transform: translateY(-4vh) translateX(30vw) scale(0.6);
	}

	30% {
		transform: translateY(1vh) translateX(50vw) scale(0.45);
	}

	40% {
		transform: translateY(-2.5vh) translateX(70vw) scale(0.5);
	}

	50% {
		transform: translateY(0vh) translateX(90vw) scale(0.45);
	}

	51% {
		transform: translateY(0vh) translateX(110vw) scale(0.45);
	}

	100% {
		transform: translateY(0vh) translateX(110vw) scale(0.45);
	}
}

/*FIN ZOIZEAUX*/

/*GOOD/CHEAP/FAST*/

.toggle-container {
	display: flex;
	align-items: center;
	margin: 10px 0;
}

.toggle {
	visibility: hidden;
}

.label {
	background-color: #d0d0d0;
	border-radius: 50px;
	cursor: pointer;
	display: inline-block;
	position: relative;
	margin-left: 20px;
	margin-right: 10px;
	height: 40px;
	width: 80px;
}

.toggle:checked+.label {
	background-color: #8e44ad;
}

.ball {
	animation: shrinkALittle 0.3s linear forwards;
	background: #fff;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 3px;
	left: 3px;
	height: 34px;
	width: 34px;
}

.toggle:checked+.label .ball {
	animation: growALittle 0.3s linear forwards;
	/* 	transform: translateX(40px); */
}

@keyframes growALittle {
	0% {
		transform: translateX(0) scale(1);
	}

	50% {
		transform: translateX(20px) scale(1.2);
	}

	100% {
		transform: translateX(40px) scale(1);
	}
}

@keyframes shrinkALittle {
	0% {
		transform: translateX(40px) scale(1);
	}

	50% {
		transform: translateX(20px) scale(1.2);
	}

	100% {
		transform: translateX(0) scale(1);
	}
}


/* RECEPTION MESSAGE */
.letter-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.letter-image {
	position: relative;
	/* top: 50%; */
	/* left: 50%; */
	width: 200px;
	height: 200px;
	/* -webkit-transform: translate(-50%, -50%); */
	/* -moz-transform: translate(-50%, -50%); */
	transform: translate(0, 0);
	cursor: pointer;
}

.animated-mail {
	position: absolute;
	height: 150px;
	width: 200px;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	transition: 0.4s;
}

.animated-mail .body {
	position: absolute;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 100px 200px;
	border-color: transparent transparent #e95f55 transparent;
	z-index: 2;
}

.animated-mail .top-fold {
	position: absolute;
	top: 50px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 50px 100px 0 100px;
	-webkit-transform-origin: 50% 0%;
	-webkit-transition: transform 0.4s 0.4s, z-index 0.2s 0.4s;
	-moz-transform-origin: 50% 0%;
	-moz-transition: transform 0.4s 0.4s, z-index 0.2s 0.4s;
	transform-origin: 50% 0%;
	transition: transform 0.4s 0.4s, z-index 0.2s 0.4s;
	border-color: #cf4a43 transparent transparent transparent;
	z-index: 2;
}

.animated-mail .back-fold {
	position: absolute;
	bottom: 0;
	width: 200px;
	height: 100px;
	background: #cf4a43;
	z-index: 0;
}

.animated-mail .left-fold {
	position: absolute;
	bottom: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 50px 0 50px 100px;
	border-color: transparent transparent transparent #e15349;
	z-index: 2;
}

.animated-mail .letter {
	left: 20px;
	bottom: 0px;
	position: absolute;
	width: 160px;
	height: 60px;
	background: white;
	z-index: 1;
	overflow: hidden;
	-webkit-transition: 0.4s 0.2s;
	-moz-transition: 0.4s 0.2s;
	transition: 0.4s 0.2s;
}

.animated-mail .letter .letter-border {
	height: 10px;
	width: 100%;
	background: repeating-linear-gradient(-45deg, #cb5a5e, #cb5a5e 8px, transparent 8px, transparent 18px);
}

.animated-mail .letter .letter-title {
	margin-top: 10px;
	margin-left: 5px;
	height: 10px;
	width: 40%;
	background: #cb5a5e;
}

.animated-mail .letter .letter-context {
	margin-top: 10px;
	margin-left: 5px;
	height: 10px;
	width: 20%;
	background: #cb5a5e;
}

.animated-mail .letter .letter-stamp {
	margin-top: 30px;
	margin-left: ;
	border-radius: 100%;
	height: 30px;
	width: 30px;
	background: #cb5a5e;
	opacity: 0.3;
}

.shadow {
	position: absolute;
	top: 200px;
	left: 50%;
	width: 400px;
	height: 30px;
	transition: 0.4s;
	transform: translateX(-50%);
	-webkit-transition: 0.4s;
	-webkit-transform: translateX(-50%);
	-moz-transition: 0.4s;
	-moz-transform: translateX(-50%);
	border-radius: 100%;
	background: radial-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
}

.letter-image:hover .animated-mail {
	transform: translateY(50px);
	-webkit-transform: translateY(50px);
	-moz-transform: translateY(50px);
}

.letter-image:hover .animated-mail .top-fold {
	transition: transform 0.4s, z-index 0.2s;
	transform: rotateX(180deg);
	-webkit-transition: transform 0.4s, z-index 0.2s;
	-webkit-transform: rotateX(180deg);
	-moz-transition: transform 0.4s, z-index 0.2s;
	-moz-transform: rotateX(180deg);
	z-index: 0;
}

.letter-image:hover .animated-mail .letter {
	height: 180px;
}

.letter-image:hover .shadow {
	width: 250px;
}

/*FIN RECEPTION MESSAGE*/


/*SECTION DDLB*/

 .ddlbpresentation {
    position: relative;
    width: 100%;
    height: 30em;
	border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    overflow: hidden;
  }

  .slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .item {
    height: 8em;
    width: 8em;
    list-style-type: none;
    position: absolute;
    top: 75%;
    transform: translateY(-50%);
    z-index: 1;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
    transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
  }

  .item:nth-child(1), .item:nth-child(2) {
    left: 0;
    top: -16px;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
  }

  .item:nth-child(3) { left: 75%; opacity: 1; z-index: 3; }
  .item:nth-child(4) { left: calc(75% + 100px); opacity: 0.5; z-index: 3;}
  .item:nth-child(5) { left: calc(75% + 200px); opacity: 0.1;  z-index: 3;}
  .item:nth-child(6) { left: calc(75% + 300px); opacity: 0; z-index: 3;}
  .item:nth-child(7) { left: calc(75% + 400px); opacity: 0; z-index: 3;}
  .item:nth-child(8) { left: calc(75% + 450px); opacity: 0; z-index: 3;}
  .item:nth-child(9) { left: calc(75% + 500px); opacity: 0; z-index: 3;}

  .content {
	background-color: rgba(255,255,255, 0.5);
	border-radius: 8px;
    /* width: min(120vw,1000px); */
    position: absolute;
    top: 50%;
    left: 10rem;
    transform: translateY(-50%);
    font: 400 0.85rem helvetica,sans-serif;
    color: white;
    text-shadow: 0 3px 8px rgba(0,0,0,0.5);
    opacity: 0;
    display: none;
	transition: opacity 3s, background-color 3s;
  }

.content:hover{
	background-color: none;
	opacity : 0;
	
	
}

  .content .title {
    font-family: 'arial-black';
    text-transform: uppercase;
	font-size: 1.75em;
  }

  .content .description {
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: 0.8rem;
  }

  .content button {
    width: fit-content;
    background-color: rgba(0,0,0,0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
  }

  .item:nth-of-type(2) .content {
    display: block;
    animation: show 0.75s ease-in-out 0.3s forwards;
  }

  @keyframes show {
    0% {
      filter: blur(5px);
      transform: translateY(calc(-50% + 75px));
    }
    100% {
      opacity: 1;
      filter: blur(0);
    }
  }

  .nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;
  }

  .nav .btn {
    background-color: rgba(255,255,255,0.5);
    color: rgba(0,0,0,0.7);
    border: 1px solid rgba(0,0,0,0.7);
    margin: 0 0.25rem;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
	height: 20px;
	width: 20px;
	transition : background-color 2s ease;
  }

  .nav .btn:hover {
    background-color: rgba(255,255,255,0.2);
  }

  @media (width > 650px) and (width < 900px) {
    .content .title { font-size: 1rem; }
    .content .description { font-size: 0.7rem; }
    .content button { font-size: 0.7rem; }

    .item {
      width: 160px;
      height: 270px;
    }

    .item:nth-child(3) { left: 50%; opacity: 0; }
    .item:nth-child(4) { left: calc(50% + 170px); opacity: 0; }
    .item:nth-child(5) { left: calc(50% + 340px); opacity: 0; }
    .item:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
    .item:nth-child(7) { left: calc(50% + 510px); opacity: 0; }
    .item:nth-child(8) { left: calc(50% + 510px); opacity: 0; }
    .item:nth-child(9) { left: calc(50% + 510px); opacity: 0; }
  }

  @media (width < 650px) {
    .content .title { font-size: 0.9rem; }
    .content .description { font-size: 0.65rem; }
    .content button { font-size: 0.7rem; }

    .item {
      width: 130px;
      height: 220px;
    }

    .item:nth-child(3) { left: 50%; opacity: 0; }
    .item:nth-child(4) { left: calc(50% + 140px); opacity: 0; }
    .item:nth-child(5) { left: calc(50% + 280px); opacity: 0; }
    .item:nth-child(6) { left: calc(50% + 420px); opacity: 0; }
    .item:nth-child(7) { left: calc(50% + 420px); opacity: 0; }
    .item:nth-child(8) { left: calc(50% + 420px); opacity: 0; }
    .item:nth-child(9) { left: calc(50% + 420px); opacity: 0; }
  }

/* FIN SECTION DDLB */

/*SHIMMER */

/*FIN SHIMMER*/

.ddlbzone {
	/* position: absolute; */
}

/*PORTFOLIO*/

main {
	max-width: 100%;
	margin: 0;
	background: rgba(63, 63, 61, 0.5);
	padding: 30px;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	transition: all 1s ease-in-out;
	overflow: hidden;
}

input[name=css-tabs] {
	display: none;
}

a {

	color: grey;
	text-decoration: none;
}

a:hover {
	background-color: #2980b9;
	color: #fff;
	border-radius: 15px;
	padding: 5px;
}

#tabs {
	padding: 0 0 0 50px;
	width: calc(100% + 100px);
	margin-left: -50px;
	margin-top: 30px;
	background: #2B2A28;
	height: 80px;
	border-bottom: 5px solid #EB4E01;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
}

#tabs::before {
	content: "";
	display: flex;
	justify-content: center;
	position: absolute;
	z-index: -1;
	width: 100%;
	left: 0;
	margin-top: 16px;
	height: 80px;
	background: #2B2A28;
	border-bottom: 5px solid #EB4E01;
}

#tabs::after {
	content: "";
	display: flex;
	justify-content: center;
	position: absolute;
	z-index: 0;
	height: 80px;
	width: 100px;
	background: #EB4E01;
	transition: transform 1000ms;
}

#tabs label {
	position: relative;
	z-index: 100;
	display: block;
	float: left;
	font-size: 11px;
	text-transform: uppercase;
	text-align: center;
	width: 100px;
	height: 100%;
	border-right: 1px dotted #575654;
	cursor: pointer;
}

#tab1,
#tab2,
#tab3,
#tab4,
#tab5,
#tab6 {
	transition: background-color 0.3s, color 0.3s;
}

#tab1:hover:not(.active),
#tab2:hover:not(.active),
#tab3:hover:not(.active),
#tab4:hover:not(.active),
#tab5:hover:not(.active),
#tab6:hover:not(.active) {
	color: red;
	background-color: white;
}

.active {
	color: initial;
	background-color: initial;
}

#tabs label:first-child {
	border-left: 1px dotted #575654;
}

#tabs label::before {
	content: "";
	display: block;
	height: 30px;
	width: 30px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	filter: invert(40%);
	margin: 10px auto;
}

#tab1::before {
	background-image: url(./images/iconsoftware.png);
}

#tab2::before {
	background-image: url(./images/iconweb2.png);
}

#tab3::before {
	background-image: url(./images/iconsound.png);
}

#tab4::before {
	background-image: url(./images/iconvideo.png);
}

#tab5::before {
	background-image: url(./images/iconbooklet.png);
}

#tab6::before {
	background-image: url(./images/iconchip.png);
}

#radio1:checked~#tabs #tab1::before,
#radio2:checked~#tabs #tab2::before,
#radio3:checked~#tabs #tab3::before,
#radio4:checked~#tabs #tab4::before,
#radio5:checked~#tabs #tab5::before,
#radio6:checked~#tabs #tab6::before {
	filter: invert(100%);
}

#radiohidden:checked~#tabs::after {
	transform: translateX(-200px);
}

#radio1:checked~#tabs::after {
	transform: translateX(0);
}

#radio2:checked~#tabs::after {
	transform: translateX(100px);
}

#radio3:checked~#tabs::after {
	transform: translateX(200px);
}

#radio4:checked~#tabs::after {
	transform: translateX(300px);
}

#radio5:checked~#tabs::after {
	transform: translateX(400px);
}

#radio6:checked~#tabs::after {
	transform: translateX(500px);
}

#content {
	position: relative;
	height: auto;
	transition: height 1s ease-in-out;
}

#content::before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	top: 0;
	left: -50px;
	border-top: 8px solid #000;
	border-right: 10px solid #000;
	border-left: 10px solid transparent;
	border-bottom: 8px solid transparent;
}

#content::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	top: 0;
	right: -50px;
	border-top: 8px solid #000;
	border-left: 10px solid #000;
	border-right: 10px solid transparent;
	border-bottom: 8px solid transparent;
}

#content section {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateX(500px);
	transition: opacity 1s ease-in-out, transform 1s ease-in-out, visibility 0s linear 1s;
}

#radio1:checked~#content #content1,
#radio2:checked~#content #content2,
#radio3:checked~#content #content3,
#radio4:checked~#content #content4,
#radio5:checked~#content #content5,
#radio6:checked~#content #content6 {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}


img {
	cursor: pointer;
}


.coding-achievements,
.web-achievements,
.music-achievements,
.video-achievements,
.secretariat-achievements,
.ddlb-achievements {
	position: relative;
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	flex-grow: 1;
	min-width: 0;
}

.inactive {
	display: none;
	pointer-events: none;
}

.achievement {
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-sizing: border-box;
	margin: 10px;
	padding: 10px;
	background: rgba(0, 0, 0, 0.2);
	color: #ccc;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	min-width: 200px;
	
	/*TAILLE THUMBNAIL*/
}

.audio-comparison {
	align-items: center;
}

.button-container,
.audio-container {
	margin: 10px 0;
	width: 100%;
	text-align: center;
}

.button-container button {
	padding: 10px 20px;
	background-color: #007bff;
	color: #fff;
	border: none;
	width: 170px;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s, box-shadow 0.3s;
}

.button-container button:hover {
	background-color: #0056b3;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-container button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}

.flip-card {
	background-color: transparent;
	width: 100%;
	height: 200px;
	/*TAILLE THUMBNAIL*/
	perspective: 1000px;
	position: relative;
}

.flip-card-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.8s;
	transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 10px;
}

.flip-card-front {
	background-color: #bbb;
	color: black;
	display: flex;
	justify-content: center;
	align-items: center;
}

.flip-card-front img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

.flip-card-front .hover-text {
	position: absolute;
	background: rgba(12, 120, 12, 0.5);
	color: white;
	font-size: 1em;
	cursor: pointer;
	padding: 10px;
	border-radius: 5px;
	opacity: 0;
	transition: opacity 0.3s;
}

.flip-card-front:hover .hover-text {
	opacity: 1;
}

.flip-card-back {
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	transform: rotateY(180deg);
	padding: 20px;
	box-sizing: border-box;
}

.flip-card-front:hover img {
	transition: filter 2s ease;
	filter: blur(5px);
}

.flip-card-front:hover .hover-text {
	transition: opacity 0.3s;
	opacity: 1;
}

.flip-card {
	transition: transform 0.8s;
}

.flip-card.flipped {
	transform: scale(1.2) rotateY(180deg);
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
	/* Ajouté pour un fond semi-transparent */
}

.closen {
	color: #aaa;
	position: absolute;
	top: 10px;
	right: 30px;
	font-size: 3em;
	font-weight: 600;
	cursor: pointer;
}

.closen:hover,
.closen:focus {
	color: black;
	text-decoration: none;
}

.modal-content {
	background-color: #ccc;
	background: linear-gradient(135deg, rgba(0, 6, 38, 1), rgba(26, 16, 1, 1));
	margin: 5% auto;
	/* Modifié pour une meilleure adaptation sur les petits écrans */
	padding: 100px;
	border: 1px solid #888;
	width: 100%;
	/* Réduit pour s'adapter aux petits écrans */
	/* max-width: 800px; /* Limite la largeur maximale sur les grands écrans */
	height: auto;
	/* Adapté pour une hauteur dynamique */
	/* max-height: 80vh; Limite la hauteur maximale */
	overflow-y: auto;
	/* Permet le défilement si le contenu dépasse la hauteur maximale */
	color: #777;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-size: contain;
}


.navigation-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	bottom: 10px;
	width: 80%;
	padding: 0 10px;
	box-sizing: border-box;
}

.navigation-container .prev,
.navigation-container .next {
	cursor: pointer;
	font-size: 3em;
	font-weight: 600;
	color: purple;
	transition: color 0.3s;

}

.navigation-container .prev:hover,
.navigation-container .next:hover {
	color: red;
	font-weight: 900;
}

.indicators {
	display: flex;
	justify-content: center;
	flex-grow: 1;
}

.indicators span {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 3px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.indicators .active {
	background-color: red;
}

.modal h2 {
	margin: 0 0 10px;
}

.modal p {
	margin: 10px 10px;
	text-align: left;
	font-size: 0.95em;

}


.modal .button-container {
	display: flex;
	justify-content: center;
}

.modal .toggleBtn {
	margin: 10px;
}

.modal audio {
	width: 100%;
	margin: 10px 0;
}

.modal video {
	width: 100%;
	/* Assure que la vidéo occupe toute la largeur disponible */
	height: auto;
	/* Maintient le ratio d'aspect */
	padding: 20px;
}

.modal ul {
	list-style-type: none;
	padding: 20px;
	margin: 20px;
}

.modal li {
	position: relative;
	padding: 10px;
	padding-left: 30px;
	/* Ajouter de l'espace pour la puce */
	display: flex;
	align-items: center;
	/* Centrer verticalement */
}

.modal li::before {
	content: '•';
	/* Définir le caractère de la puce */
	position: absolute;
	left: 0;
	color: red;
	/* Couleur de la puce */
	font-size: 2.5em;
	/* Taille de la puce */
	line-height: 1;
	/* Assure que la hauteur de ligne est correcte */
}

.modal img {
	border-radius: 15px;
	border: 1px solid #ccc;
	/* Optionnel : ajouter une bordure */
	max-width: 60%;
	height: auto;

}


/* Syle IOs*/

.chat {
    background-color: #ece5dd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
    font-family: 'Roboto', Arial, sans-serif;
	font-size: 0.85em;
}

.chat p {
    margin: 10px 0;
    padding: 10px;
	padding-right: 24px;
    border-radius: 5px;
    position: relative;
    width: fit-content;
    max-width: 80%;
    word-wrap: break-word;
}

.chat .send {
    background-color: #dcf8c6;
    align-self: flex-end;
    text-align: right;
    margin-left: auto;
}

.chat .received {
    background-color: #fff;
    border: 1px solid #ccc;
    text-align: left;
    margin-right: auto;
}

.chat .checkmarks {
    font-size: 12px;
    color: #34b7f1;
	position: absolute;
    bottom: 3px;
    right: 9px;
	letter-spacing: -3px; /* Ajustez la valeur en fonction de l'espacement désiré */

}


/*FIN PORTFOLIO*/

/*COOL EXPAND*/

.bodyyy {
	height: 100vh;
	position: relative;
	/* Assurez-vous que bodyyy ou un parent a un positionnement relatif */
}

.sidebar {
	position: fixed;
	width: 0;
	height: 100%;
	right: 0;
	top: 0;
	background: linear-gradient(135deg, #2c3e50, #3498db);
	padding-top: 50px;
	overflow: hidden;
	transition: width 1s ease;
	z-index: 100;
	
	
	  user-select: none;  /* Désactiver la sélection de texte pour évite les surlignage bleuh*/
}

.sidebar.expand {
	width: 150px; /* Largeur modifiée pour le menu déployé */
}

.sidebar nav ul {
	list-style-type: none;
	padding: 0;

}

.sidebar nav ul li {
	margin: 10px 0;

}

.sidebar nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px;
    display: block;
    width: 100%;
    transition: background-color 0.3s, color 0.3s, border-radius 0.3s;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
    background-color: #2980b9;
    color: #fff;
    border-radius: 15px;
}

/* Pour rendre les liens actifs uniquement au survol, sans classe active */
.sidebar nav ul li a.active {
    background-color: #2980b9;
    color: #fff;
    border-radius: 15px;
}

.pin-btn {
    position: absolute;
    top: 20px;
    left: 10px;
    font-size: 1em;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.3s ease;
	transform: rotate(15deg);
}

.pin-btn::hover {
	
background-color: #2980b9;
	color: #fff;
	border-radius: 15px;
	
	
}
.pin-btn.pinned {
    transform: rotate(-45deg);
    color: white; /* Changer de couleur quand épinglé */
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 30px;
	cursor: pointer;
	color: #ecf0f1;
}

.button-containerx {
	position: fixed;
	bottom: 35px;
	right: 29px;
	z-index: 101; /* Supérieur à celui de .sidebar pour s'assurer qu'il reste visible */
}

.buttonx {
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0);
	border-radius: 50%;
	width: 30px;
	height: 30px;
	display: inline-block;
	font-size: 20px;
	text-align: center;
	color: white;
	transform: rotate(45deg);
	transition: transform 1s ease, background-color 0.5s ease;
	border: none;
	overflow: hidden;
	user-select: none;  /* Désactiver la sélection de texte */
}

.buttonx:hover {
	background-color: #3498db;
	animation: pulse 1.5s infinite;
	/* Animation de pulsation au survol */
	transform: rotate(45deg);
}

@keyframes pulse {
	0% {
		transform: rotate(45deg), scale(1);
		box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
	}

	70% {
		transform: rotate(45deg), scale(1.5);
		box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
	}

	100% {
		transform: rotate(45deg), scale(1);
		box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
	}
}

.buttonx.expand {
	transform: rotate(405deg);
	/* Rotation complète au clic */
}

/*GUESTBOOK*/

.guestbook {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	
}

.left-block,
.right-block {
  padding: 1em;
  box-sizing: border-box;
  margin-bottom: 2em;
}

.right-block{
	width: 40%;
}

.sidenote{
	font-size: 0.8em;
	font-style: italic;
}

.entry {
  background: #343434;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  transition: background 0.25s ease;
}

.entry p {
	padding: 0 0;
}

.entry:nth-child(even) {
  background: #161616;
  margin-left: 10px;
  margin-right: -10px;
}

.entry-info {
  font-style: italic;
  font-size: 0.75rem;
  margin-bottom: 0;
  padding-bottom: 0;
}
.entry-info p {
  margin-bottom: 0.125rem;
}
.entry-info .author {
  color: #a14400;
  font-weight: bold;
}

.entry-text p {
  margin-top: 0;
  font-size: 0.8em;
  color: #ffffff;
}

.guestbook-links {
  margin: 1rem 0;
  text-align: center;
}
.guestbook-links a {
  padding: 1rem 4rem;
  display: inline-block;
  margin: 0 0.5rem;
}

.links {
  margin-top: 2em;
}
.links a {
  text-align: center;
  display: block;
  padding: 0.5rem;
  margin: 0.5rem 0;
}

.manage-entry {
  overflow: hidden;
  height: 100px;
}
.manage-entry .entry-left {
  width: calc(80% - 2em);
  float: left;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding-right: 2em;
}
.manage-entry .entry-options {
  box-sizing: border-box;
  width: 20%;
  float: left;
  border-left: solid 2px #cddbe2;
  text-align: center;
  padding: 1em 0;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.icon {
  color: #000;
  font-size: 1.25em;
  font-weight: bold;
  display: inline-block;
  margin: 0 1.5em 0 0;
}

img.icon {
  max-height: 0.75em;
  margin-left: -0.25rem;
  margin-right: 0;
}

.checkmark {
  display: inline-block;
}
.checkmark:after {
  content: "";
  display: block;
  width: 7px;
  height: 14px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-element {
  width: 90%;
  display: block;
  margin: 1em 0;
  padding: 0.5em;
  border: none;
  background: #5ec6c8;
  color: #000;
}
.form-element::-moz-placeholder {
  color: #2ba395;
}
.form-element:-ms-input-placeholder {
  color: #2ba395;
}
.form-element::placeholder {
  color: #2ba395;
}
.form-element:focus {
  outline-color: #ed1b51;
}


.form-button {
	padding : 7px 7px;
  display: inline;
  border: 1px solid black;
  border-radius: 8px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: #cddbe2;
  background: #a51c3c;
  transition: all 0.25s ease;
}

.form-button:hover {
  background: #ed1b51;
  color: #fff;
}

.notification {
	font-size: 0.9em;
	
}
.success {
    background-color: #bfffbf;
    color: #000;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.error {
    background-color: #ffaaaa;
    color: #000;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}


