/* Réinitialisation des styles par défaut
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 Styles généraux */



@font-face {
  font-family: 'Hack'; /* Un nom de votre choix pour identifier la police */
  src: url('fonts/Hack-Regular.ttf') format('truetype'); /* Chemin vers le fichier .ttf */
}

.container {
  display: grid; 
  grid-template-columns: 1fr 2.5fr; 
  grid-template-rows: 1fr; 
  gap: 0px 0px; 
  grid-template-areas: 
    ". ."; 
}

body {
  background: rgb(78,200,73);
  background: linear-gradient(90deg, rgba(78,200,73,1) 0%, rgba(38,87,43,1) 3%, rgba(35,38,39,1) 22%, rgba(35,38,39,1) 75%, rgba(38,87,43,1) 100%);
  font-size: 20px;
  line-height: 1.5;
  color: #ffff;
  font-family: 'Hack';  
}
.center-h2 {
    text-align: center;
}
img {
  width: 200px;
  height: 200px;
}
 
a {
  text-decoration: none;
  color: #ffff;
}

 .container_fake_bash {
  border: 3px solid #64686b;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  margin-bottom: 40px;
}


.top {
padding: 1%;
background: #2a2e32;
border-bottom: 1px solid #64686b;


}

.dot1 {
height: 15px;
width: 15px;
background-color: #d62736;
border-radius: 50%;
display: inline-block;
}

.dot2 {
height: 15px;
width: 15px;
background-color: #fac537;
border-radius: 50%;
display: inline-block;
}

.dot3 {
height: 15px;
width: 15px;
background-color: #14c01e;
border-radius: 50%;
display: inline-block;
}

.top h2 {
color: #ffffff;
margin-top: 0;
margin-bottom: 0;
text-align: center;
}

 .fake_bash {
  font-family: 'Hack';
  padding: 3%;
  text-align: start;
  background: rgb(35,38,39);
  background: linear-gradient(175deg, rgba(35,38,39,1) 32%, rgba(35,38,39,1) 48%, rgba(79,94,99,1) 100%); 
  color: #ffffff;
}

 .fake_bash h1 {
  font-size: 36px;
  margin-bottom: 10px;
   
 }
 
 .fake_bash p {
   margin-bottom: 20px;
 }

 .fake_bash a {
  font-size: 22px;
  display: inline-block;
  padding: 20px 40px;
  background-color: #64686b;
  color: #ffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.fake_bash a:hover {
  background-color: #1cdc9a;
}

/* Partie : A propos de moi*/

 .about {
	display: grid;
	grid-template-rows: repeat(3, 1fr);
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	width: 100%;
	height: 100%;
  margin: 0 auto;
  margin-bottom: 40px;
    /*animation*/
    animation-name: fadein;
    animation-duration: 2s;
    animation-delay: 0s;
}

.about img {
  grid-area: 1 / 1 / 4 / 4;
  margin: 0 auto;
}

.about h2 {
  grid-area: 1 / 3 / 2 / 5;
  margin: 0 auto;
}

.about p {
   max-width: 800px;
   margin: 0 auto;
   margin-left: 20px;
   grid-area: 2 / 3 / 4 / 5;
 }
 
/* Partie : Mes compétences */

.skills {
	display: grid;
  grid-template-rows: repeat(3, 1fr);
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	width: 100%;
	height: 100%;
  margin: 0 auto;
  margin-bottom: 40px;
    /*animation*/
    animation-name: fadein;
    animation-duration: 2.5s;
    animation-delay: 0s;
}

.skills h2{
  grid-area: 1 / 2 / 2 / 4;
  margin: 0 auto;
}

.skills img {
  grid-area: 1 / 4 / 4 / 6;
  margin: 0 auto;
  width: 300px; /* Définissez la largeur souhaitée */
  height: 400px; /* Définissez la hauteur souhaitée */
}

.skills ul{
  grid-area: 2 / 2 / 4 / 4;
  width: 100%;
	height: 100%;
  margin-left: 40px;
}

.valeurs {
  width: 60%; /* Ajustez la largeur selon vos besoins */
  margin: 0 auto; /* Centre horizontalement */
  margin-bottom: 40px;
      /*animation*/
      animation-name: fadein;
      animation-duration: 3s;
      animation-delay: 0s;
}

.valeurs h2 {
  text-align: center;
}

.discover {
  /*animation*/
  animation-name: fadein;
  animation-duration: 3.5s;
  animation-delay: 0s;
  margin-bottom: 40px;
}

.discover h2 {
  text-align: center;
}



 /* Pied de page */
 footer {
   background-color: #333;
   color: #fff;
   text-align: center;
   padding: 20px;
 }

/* section d'animation de frappe */
 .typing-text {
  font-family: monospace;
  font-size: 42px;
  white-space: nowrap; /* Empêche le retour à la ligne */
  overflow: hidden; /* Masque le texte dépassant */
  border-right: 20px solid; /* Curseur clignotant */
  animation: typed 1s steps(15) forwards, blink 0.5s infinite; /* Animation du texte + Animation du curseur */
            }

/* Animation du texte */
@keyframes typed {
 from { width: 13ch; }
 to { width: 28ch; }}

/* Animation du curseur clignotant */

@keyframes blink {
  100% { border-color: transparent; }
}

.round_image {
  width: 200px; /* Définissez la largeur souhaitée */
  height: 200px; /* Définissez la hauteur souhaitée */
  overflow: hidden; /* Masque les parties dépassant du conteneur */
  border-radius: 10%; /* Arrondit les coins à 50% pour former un cercle */
  border: 4px solid #64686b;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  66% { /* Étape à 4 seconde */
    opacity: 0;
  }
  100% { /* Étape à 1 seconde */
    opacity: 1;
  }
}
.ag-format-container {
  width: 1142px;
  margin: 0 auto;
}



.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  padding: 50px 0;
}


.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}


.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #121212;

  overflow: hidden;

  position: relative;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 87px;


  overflow: hidden;

  font-weight: bold;
  font-size: 20px;
  color: #FFF;

  z-index: 2;
  position: relative;
}


.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #3ecd5e;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}



@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }

}
@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .ag-courses-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }
  .ag-courses-item_link {
    padding: 22px 40px;
  }
}