@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body{
	font-size: 16px;
	font-family: 'Poppins', sans-serif;
	background-color: #f1f1f1;
}

header  {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  background-size: cover;
}

nav {
  background-color: #000;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 100px;
  padding: 0;
}

nav li {
  list-style: none;
  padding: 10px;
  margin: 0 5px;
}

nav li a {
  text-decoration: none;
  font-size: 1.8em;
  color: whitesmoke;
  position: relative;
}

nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background-color: #ccc;
  transition: width 0.5s ease;
}

nav li a:hover::after {
  width: 100%;
}

nav li a.current-page::after,
nav li a.current-page:hover::after {
  width: 100%;
  background-color: #ccc;
}


#icone {
  display: none;
}

@media screen and (max-width: 720px) {
  nav {
      top: 60px;
      display: none;
      position: absolute;
      background-color: #000;
  }

  nav ul {
      display: block;
      margin: 0 10px;
      padding: 0;
  }

  #icone {
      display: block;
  }
}


h1 {
    text-align: center;
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 0; /* Ajout de la marge supérieure à 0 */
}

.auto-typing {
  color: #283593; /* Couleur personnalisée pour le texte auto-typing */
}
.auto-typing .string1 {
  color: #3776AB;
}

.auto-typing .string2 {
  color: #FF0000;
}

.auto-typing .string3 {
  color: #E34F26;
}

.auto-typing .string4 {
  color: #264de4;
}

.auto-typing .string5 {
  color: #F7DF1E;
}

.auto-typing .string6 {
  color: #283593;
}

.auto-typing .string7 {
  color: #808080;
}

.auto-typing .string8 {
  color: #800080;
}

.home {
    display:flex;
    flex-direction:row;
    justify-content: space-around;
    align-items:center;
    flex-wrap: wrap;
}
article {
    width:63%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
aside {
    width:35%;
}

aside iframe {
    width: 100%;
}

@media screen and (max-width: 720px) {
    article {
        width: 100%;
    }
    aside {
        width: 100%;
    }
    aside iframe {
        width: 100%;
    }
}



/* Style CSS pour le bouton */
.joli-bouton {
  background-color: #4CAF50; /* Couleur de fond */
  border: none; /* Supprimer la bordure */
  color: white; /* Couleur du texte */
  padding: 15px 32px; /* Espacement intérieur */
  text-align: center; /* Alignement du texte au centre */
  text-decoration: none; /* Supprimer la décoration du texte */
  display: inline-block; /* Afficher en ligne */
  font-size: 16px; /* Taille de police */
  border-radius: 4px; /* Bordure arrondie */
  cursor: pointer; /* Curseur au survol */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Ombre */
}

/* Style CSS pour le bouton au survol */
.joli-bouton:hover {
  background-color: #45a049; /* Couleur de fond au survol */
}

.image-container img {
  max-width: 100%;
  height: auto;
}


main {
	margin-top: 35px;
}

h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 30px;
}

form {
  max-width: 500px;
  margin: 0 auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

.erreur {
    background-color: rgba(255, 0, 0, 0.8); /* Couleur rouge transparente */
    color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center; /* Centrer le texte */
}


.success {
    background-color: rgba(0, 128, 0, 0.8); /* Couleur verte transparente */
    color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center; /* Centrer le texte */
}


.avatar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar:hover {
  border: 1px solid transparent;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.avatar {
    width: 150px;
    height: 150px;
    margin: 20px;
    border-radius: 20px;
    object-fit: cover;
}
