main {

    background-image: url(../img/hall_auchan.jpg);
    background-size: cover;
    background-position: center;
    align-items: center;
}

main h1 {
    color: #fff;
    font-size: 4em;
    text-transform: uppercase;
    font-weight: lighter;
}

main h1 strong {
    font-weight: bold;
}


main ul {
    color: #fff;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.maj{
  text-transform: uppercase;
}
main ul li p{
    text-align: center;
    font-size: 1em;
    line-height: 1.4em;
    background-color: red;
    width: 100%;
    display: block;
}
main ul li.col-md-2 {
  padding: 0;
}
main ul li {
    text-align: center;
    font-size: 1em;
    line-height: 1.2em;

    background-color: #F2F2F2;
    background-repeat: no-repeat;
    transition: 0.5s;
    margin: 0;
    padding: 0;
}

.zoneover {

  top:0;
  left:0;
  position: absolute;
  text-align:center;
  width:100%;
  height: 100%;
  opacity: 0.9;

  display: -ms-flexbox;
   display: -webkit-flex;
   display: flex;
   -webkit-flex-direction: column;
   -ms-flex-direction: column;
   flex-direction: column;
   -webkit-flex-wrap: nowrap;
   -ms-flex-wrap: nowrap;
   flex-wrap: nowrap;
   -webkit-justify-content: center;
   -ms-flex-pack: center;
   justify-content: center;
   -webkit-align-content: space-between;
   -ms-flex-line-pack: justify;
   align-content: space-between;
   -webkit-align-items: center;
   -ms-flex-align: center;
   align-items: center;
}

.bouton {
  background-color: red;
  color:white;
  width: 80%;
  margin:auto;
  -webkit-order: 0;
 -ms-flex-order: 0;
 order: 0;
 -webkit-flex: 0 1 auto;
 -ms-flex: 0 1 auto;
 flex: 0 1 auto;
 -webkit-align-self: auto;
 -ms-flex-item-align: auto;
 align-self: auto;
}

.bouton a {
  color: white;
}

main ul li .bouton {
    display: none;
}

main ul li:hover .bouton {
    transition: 0.5s;
    display: initial;
}

main ul li:hover .zoneover {
      background-color: white;
}

main ul li:hover {
    text-align: center;
    transition: 0.5s;
    background-color: #F2F2F2;
    background-repeat: no-repeat;
}

#logoafpa {
  height: 70px;
  width: auto;
}

.transition {
  padding : 20px 0;   
}



/* Surcouche dans le style au 17/04/2023 */

/* main{
    margin-left: 400px;
    height: 100vh;
}
section{
  position: fixed;
  left: 0;
  background: white;
  top: 0;
  bottom: 130px;
  width: 400px;
  z-index: 98;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: white;
} */
main ul li a > img , main ul li > img   {
  padding: 10px;
  width: 100%;
}
main ul li > p {
  border-radius: 15px;
  background: white;
  color: #2A4154;
  padding: 5px;
  font-size: 1.5em;
}
main ul li {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 5px;
}
body h2, body h3, body h4, body h5, body h6 {
  color: #2A4154 ;
}
/*body h1 strong {
  background: #fff;
  border-radius: 50px;
  display: inline-block;
  width: auto;
  padding: 0 25px;
  margin-bottom: 15px;
}*/
section > div {
  margin-top: 25px;
}
.zoneover .bouton{
  background-color: rgba(0, 0, 0, 0);
}
.zoneover .bouton p{
  background-color: #2A4154;
  border-radius: 15px;
}

/* Surcouche dans le style au 23/05/2023 */

/* Desactivation du contactez-nous.
Commentaire : Pourquoi pas le retirer d'un nav pour y placer la balise HTML <address></adresse> ? <nav> n'étant pas adapté à cet usage. */

footer section nav{
    display: none;
}
main h1 strong > a{
    text-decoration: none;
    color:white;
}
/* FIN */