main article{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.premier .trait-horizontal {
    height: 0.125em;
    width: 19em;
    background-color: var(--text-gris);
}
main h3{
  color: var(--text-gris);
  text-align: center;
  font-size: 1.8em;
  margin: 10px 0;
}

main p {
  color: var(--noir-blanc);
}

main a {
  color: var(--text-gris);
  font-weight: bold;
  text-decoration: none;
  font-style: italic;
}

.premier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 0;
  margin-top: 8em;
}

.premier img {
  position: absolute;
  left: 0;
  top: 10em;
  transform: translateY(-50%);
  height: 20em;
  opacity: 0.9;
}

.premier article {
  max-width: 500px;
  text-align: center;
}

.contenu{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 50px 0;
  margin: 0 6em;
}

.deuxieme img {
  position: absolute;
  right: 0;
  top: 100em;
  transform: translateY(-50%);
  height: 30em;
  opacity: 0.9;
}

.txt {
  margin: 2em 0;
}

.deuxieme .trait-horizontal {
  height: 0.125em;
  width: 17em;
  background-color: var(--text-gris);
}

.horaire article{
  text-align: center;
}

.horaire img{
  margin: 5em 0 2em 0;
}

.horaire .trait-horizontal {
  height: 0.125em;
  width: 26em;
  background-color: var(--text-gris);
}

.conges {
  position: relative;
}

.conges article {
  padding-top: 1.5em;
}

.conges img {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 200px;
  transform: rotate(180deg);
  opacity: 0.9;
}

.conges .trait-horizontal {
    height: 0.125em;
    width: 17em;
    background-color: var(--text-gris);
}

@media (max-width: 600px){
  .contenu{
    display: block;
    align-items: center;
    justify-content: center;
    padding: 2em 1.5em;
    margin: 0;
  }
  main h3 {
    font-size: 1.4em;
  }
  .contenu img{
    width: 20em;
    margin-bottom: 2em;
  }
  .horaire img{
    width: 20em;
    margin: 3em 0;
  }
  .premier {
    padding: 0;
  }
  .premier img{
    position: absolute;
    left: 0;
    top: 9em;
    transform: translateY(-50%);
    height: 6em;
    opacity: 0.9;
  }
  .deuxieme img{
    position: absolute;
    right: 0;
    top: 100em;
    transform: translateY(-50%);
    height: 10em;
    opacity: 0.6;
  }
  .conges img{
    height: 4em;
  }
  .premier .trait-horizontal {
    width: 14em;
  }
  .deuxieme .trait-horizontal {
    width: 13em;
  }
  .horaire .trait-horizontal {
    width: 19.5em;
  }
  .conges .trait-horizontal {
    width: 13em;
  }
  .premier article {
    max-width: 100%;
    text-align: center;
  }
  main p {
    padding: 0 1.5em;
  }
}