/*restart jolie*/
/*general*/
body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  background-color: var(--white);
  margin: 0;
  padding: 0;
}
:root {
  --black: #000000;
  --white: #ffffff;
  --color1: #009eff;
  --link-color: #C91313;
  --link-color-hover: #ea2525ff;
  /*--body-font: "DM Sans";*/
}
.colo1{
  background-color: var(--color1) ;
}
.colo2{
  background-color: var(--white);
}


.hidden {
  display: none;
}
.visible {
  display: flex;
}



.flex-base{
  display: flex;
  align-items: center;
  flex-direction: column;
}
.navbar {
  background-color: var(--black);
  padding: 10px 0;
}
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.logout-button {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.logout-button:hover {
  background-color: var(--white);
  color: var(--black);
}
.block{
  border-radius: 20px;
  padding: 20px;
  margin: 20px;
  box-shadow: 0px 4px 8px var(--black);
  max-width: 400px;
  background-color: var(--white);
}


/*general*/
/*connexion*/

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  margin: 14%;
}


.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: #007bff;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .block {
      padding: 20px;
  }
}


/*connexion*/
passion{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin: 3% 10%;
  border-top: solid var(--color1);
  padding-top: 90px;
}
passion img{
  width: 400px;
}
passions{
  display:flex;
  flex-direction: column;
}

main{
  display: flex;
  align-items: center;
  flex-direction: column;
}

#logo.resizable {
  transition: 1s;
  height:  88px;
}

/* Style pour l'image réduite */
#logo.resizable.small {
  width: auto;
  height:  55px;
  transition: 1s;
}







.div6{
    display: flex;
    /*width: 300px;*/
    height: 70%;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    margin: 1%;
    flex-direction: row;
    transition: 0.5s;
    font-size: 20px;
    padding: 2%;
    box-shadow: 0px 7px 13px var(--black);
  }
  
  
  .div6.milieu{transition: 0.5s;height: 75%;font-size: 23px;padding: 0%;margin: 3%;box-shadow: 2px 47px 52px var(--black)};
  .div6.milieu img{/*transition: 0.5s;*/width: 100%;}
  .div6.milieu .diap h2{font-size: 23px;}
  .div6.milieu .description{height: 100%;width: 475px;padding: 5%;/*transition: 0.5s;*/display: block;border-radius:  0 20px 20px 0 ;font-size:15px;}
  .div6.milieu .diap{height: 100%;padding: 5%;transition: 1s;display: block;border-radius:  20px 0  0 20px;}
  .div6 .description{display: none;transition: 0.5s;}
  .div6 .diap h2{font-size: 100%;}
  .div6haut{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 500px; 
  }

  #monElementIn {
    transition: 1s;
  }
  .deplacementg {
    transform: translate(0);
  }
  .deplacementd {
    transform: translate(0);
  }  




/* Styles pour le corps de la page */


/* En-tête */
header {
  background-color: var(--black); /* Couleur de fond */
  color: var(--white);
  text-align: center;
  position: fixed;
  width: 100%;
  z-index: 100;
  
}
.head{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0 8% 0;
}

/* Styles pour les titres */
h1, h2 {
  font-family: 'Audiowide', cursive; /* Utilisation de la police Audiowide */
  margin-bottom: 10px;
}

/* Styles pour les éléments info */
info {
  display: flex;
  justify-content: space-evenly;
  margin: 85px 0 0;
  align-items: center;

}



info ul {
  list-style-type: none;
}

/* Styles pour les langages */
langage{
  margin-top: 20px;

}

langage ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

/* Styles pour les boutons */
button {
  
  color: var(--black);
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

/* Styles pour les images */
img {
  max-width: 100%;
  height: auto;
}



/* Styles pour les liens */
a {
  color: var(--black);
  text-decoration: none;
}

a:hover {
  text-decoration: underline; /* Souligner au survol */
}

/* Styles pour le pied de page */
footer {
  background-color: #01025b; /* Couleur de fond */
  color: var(--white);
  padding: 20px;
  text-align: center;
}
.iconD{
  font-size: 50px;
}
passion .iconD {
  display: block;
  opacity: 0; 

  overflow: hidden; 
  transition: opacity 0.5s, max-height 0.5s;
}

passion:hover .iconD {
  opacity: 1;
}

.description {
  display: none;
  transition: 0.5s;
}

.diap h2 {
  font-size: 100%;
}

.diap {
  
  transition: 1s;
  display: block;
  border-radius: 20px;
  width: 100%;
}
.div7 {
  display: flex;
  width: 31.3%;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  margin: 0.5%;
  flex-direction: column;
  

  padding: 1%;
  transition: 1s;  
  text-decoration: none;
}
.div7 .description {
  display: block;
  opacity: 0; 
  max-height: 0; 
  overflow: hidden; 
  transition: opacity 0.5s, max-height 0.5s;
  font-size: 15px;
}

.div7:hover .description {
  opacity: 1; /* Lors du survol, la description devient visible */
  max-height: 100px; /* Définissez la hauteur maximale de la description */
}
a:hover{
  text-decoration:none;
}


.myR{
  padding: 5px;
  border-radius: 5px;
}


.outil-item {
  width: 420px;
  display: flex;
  text-decoration: none;
  border: 1px solid #000000;
  margin: 10px;
  padding: 10px;
  background-color: #202020;
  border-radius: 10px;
  box-shadow: 0 10px 10px rgb(117 114 114);
  flex-direction: row;
  align-items: center;
  transition: 0.5s;
}

.outil-item:hover {
  transition: 0.5s;
  background-color: #d5d5d5;
}

.outil-image img {
  max-height: 100px; /* Pour que l'image remplisse le conteneur */
  max-width: 100px;
  border-radius: 5px;
}

.outil-details {
  padding: 10px;
}

.outil-details h2 {
  margin-top: 0;
  font-size: 1.2em;
  color: #333;
}

.outil-details p {
  margin-bottom: 8px;
  font-size: 1em;
  color: #666;
}
logiciels{
  display: flex;
  width: 50%;
  flex-wrap: wrap;
  justify-content: center;
  
}