/* fichier css */


/* styles généraux */
body {
	background: #2e3842;
	font-family: 'Open Sans', sans-serif;
	}

h1 {
	font-family: 'Kanit', sans-serif;
}

h2, h3, h4, h5 {
  font-family: 'Ubuntu', sans-serif;
}

h2 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

p, h5 {
	color: rosybrown;
}

/*lien*/
a {
  color: pink;
  font-weight: bold;
  } 
/*fin lien*/

#page {
	margin: 20px 20px;
}

/* Barre de navigation */
nav {
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
  position:sticky;
  top: 0;
  background-color: #2e3842;
  padding: 10px 0px;
  z-index:1;
  margin-bottom:10px;
  font-size:15px;
}

nav .onglets {
  display:flex;
  flex-wrap:wrap;
  margin-top: 5px;
}

nav .onglets {
  display:flex;
  flex-wrap:wrap;
}

nav .onglets a {
  margin-right: 20px;
  padding:6px;
  cursor:pointer;
}

/* Style pour onglet actif */
.nav-active {
  background-color: #48525B;
  border-radius: 5px;
}
/* Fin style pour onglet actif */

/* Style pour les petits écrans */
@media only screen and (max-width: 767px) {
  .btn-success {
    margin-top: 13px;
  }
}
/* Fin style pour les petits écrans */

/* Style pour survol */
nav .onglets a:hover {
  background-color: #48525b;
  border-radius: 5px;
  color: #52BE80;
}
/* Fin style pour survol */

/* menu déroulant langues */
.dropdown {
  color: #fff;
  display: flex;
}
/* fin menu déroulant langues */

/* Fin de la barre de navigation */


/*mon entête*/
.element-centre {
  text-align: center;
}

#mon-entete {
	background: url('banniere.jpg');
	background-size: cover;
	height: 400px;
	text-align: center;
	border: 1px solid #000000;
}

#mon-entete h1 {
	color: pink;
	text-shadow: 4px 4px 4px black;
	font-weight: bold;
	text-align: center;
}

#mon-entete h2 {
  color: #CBCBCB;
  text-shadow:1px 0 10px black;
}

.texte-accueil {
	margin: 70px;
	padding:30px;
  max-width: 400px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	display: block;
  box-sizing: border-box;
}

.prenom {
	border-top: 4px solid #FFFF;
	border-bottom: 4px solid #FFFF;
	padding: 10px;
  box-sizing: border-box; 
}

/* photo du cv */
#photomoi {
  position:sticky;
  margin-top:40px;
  width: 15vw;
  height: 15vw;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

#photomoi:hover {
   transform: scale(1.2);
}
/* fin photo du cv */


/* texte animé */
.animated-text {
  animation: fadeInOut 3s infinite;
  color: white;
  margin-top:10px;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
/* fin texte animé */


/* encart description */
.encart1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2e3842;
  border-radius: 8px;
  box-shadow: 0 4px 18px pink;
  padding: 20px;
  text-align: center;
  max-width: 800px;
  width: 100%; 
  margin: 0 auto;
  margin-top:40px;
  margin-bottom:100px;
}

.well {
  background-image: none;
  color:  #FFF;
  margin-top: 60px;
  margin-bottom: 60px;
}
/* fin encart description */

/* fin entête */

/* mes compétences */
.container {
  display: flex;
  justify-content: space-around;
}

.colonne {
  flex: 1;
  margin: 0 10px;
}

.categorie {
  text-align: left;
  padding: 30px;
  background-color: #ffffff;
  margin-bottom:10px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.categorie:hover {
  transform: translateY(-10px);
}

ul {
  padding-left: 10px;
}

.categorie li {
  margin-bottom: 8px; /* Espace entre les éléments */
}
/* fin mes compétences */

/* mes centres d'intérêts */
.encart-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.encart {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2e3842;
  border-radius: 8px;
  box-shadow: 0 4px 18px pink;
  padding: 20px;
  text-align: center;
  max-width: 850px;
  margin: 0 auto; /* Centre l'encart horizontalement */
  margin-top:100px;
  margin-bottom:100px;
}

.encart h2 {
  margin-bottom: 20px;
  color:#fff;
}

.icons-container {
  display: flex; /* Correction : appliquer flex sur cet élément */
}

.item {
  flex: 1;
  margin: 0 10px;
}

.icon {
  font-size: 33px;
  margin-bottom: 10px;
}

.text {
  font-size: 14px;
  color: #fff;
}

@media (max-width: 767px) {
  .text-xs {
    font-size: 12px; /* Ajustez la taille de la police selon vos besoins */
  }
}
/* fin mes centres d'intérêts */

/* PAGE PORTFOLIO */

/* Portfolio en 4 images */
.portfolio{
  margin-top:100px;
}
.gallery{
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.gallery-item {
  width: calc(48% - 10px); /* Ajustez la largeur selon vos besoins */
  margin-bottom: 20px;
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.gallery-item .caption {
  margin-top: 10px;
}

/* Style pour les petits écrans */
@media (max-width: 767px) {
  .gallery-item {
    width: 100%; /* Faire occuper toute la largeur sur les petits écrans */
    margin-right: 0; /* Supprimer la marge sur le côté droit */
  } 
}
/* Fin style pour les petits écrans */
/* fin portfolio en 4 images */

/* carousel */
.carousel {
  margin-top:100px;
  margin-bottom:100px;
}

.carousel-inner img {
  width: 300px;
  height: 200px;
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.carousel-inner {
  background-color: #2e3842;
}

.carousel-inner h4 {
  color:#fff;
  margin-bottom:20px;
}

.carousel-caption-dark {
  background-color: black;
  color: white; /* Couleur du texte sur le fond noir */
  padding: 7px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 25%;
}
/* Fin carousel */

/* FIN PAGE PORTFOLIO */

/* Footer */
footer {
  background-color: #323532;
  padding: 25px 100px;
  color:#828282;
}

footer .colonnes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
/* Fin footer */