/* En-tête */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #333;
  padding: 10px;
}

header img {
  max-width: 100%;
  height: auto;
  margin-right: 10px;
}

header h1 {
  color: #fff;
  font-size: 2em;
  margin: 0;
  text-align: center;
  flex: 1 0 100%;
}

/* Contenu principal */
main {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}


form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  width: 100%;
}

label {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
  font-size: 1.2em;
  box-sizing: border-box;
  border: 1px solid black;
}

input[type="checkbox"] {
  margin-top: 20px;
  margin-right: 10px;
}

#generate-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
}


#sed-command {
  margin-top: 20px;
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}
/* Media queries */
@media screen and (min-width: 600px) {
  /* Contenu principal */
  main {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  form {
    margin-right: 20px;
  }

  #sed-command {
    margin-top: 0;
    margin-left: 20px;
  }
}
/* Pour les écrans de moins de 600px de large (par exemple, les smartphones) */
@media screen and (max-width: 600px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Pour les écrans de 600px de large ou plus (par exemple, les tablettes et les ordinateurs) */
@media screen and (min-width: 600px) {
  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  
  img {
    height: 80px;
  }
  
  h1 {
    margin: 0;
  }
  
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }
}
