@media all {
  /*Variables*/
  :root {
    --fondHtml: #e6e9e9;
    --fondBody: #bccfd4;
    --deH2aP: #376191;
    --h1: #8ab8c3;
    --noir: #000;
    --lien: #376191;
    --blanc: whitesmoke;
    --gris: #ddd;
    --tel: #02336a;
  }
  /*GLOBAL */
  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
  }

  html,
  body,
  header,
  main,
  footer {
    margin: 0;
    padding: 0;
  }

  html {
    background-color: var(--fondHtml);
    -webkit-font-smoothing: antialiased;
    font-size: 62.5%;
  }

  body {
    width: 60vw;
    margin: 0 auto;
  }

  main {
    background-color: var(--fondBody);
    font-family: "Libre Baskerville", serif;
    font-size: 1.6rem;
    padding: 2em 1.3em 4em;
  }

  header {
    background-color: var(--fondBody);
    font-family: "Libre Baskerville", serif;
    font-size: 1.6rem;
    margin: 0 auto;
    padding-top: 10px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    line-height: 1.3;
    color: var(--deH2aP);
  }

  p {
    margin: 5px 5px 0px 0;
  }

  h1 {
    text-align: center;
    color: var(--h1);
    text-shadow: 2px 2px 2px var(--noir);
    font-size: 4.8rem;
    padding: 0;
    margin: 0;
  }

  h2 {
    margin-top: 1.3em;
  }

  img {
    display: block;
    margin: 1.3em auto;
    width: 130px;
  }

  .centered-element {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1rem;
  }

  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.8rem;
  }

  .centered-element2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1rem;
  }

  .centre {
    text-align: center;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px var(--blanc);
  }

  .centre2 {
    text-align: center;
    font-size: 1.8rem;
  }

  .gauche {
    text-align: left;
    font-size: 2.5rem;
    padding: -8px 0 0px;
    width: 68%;
    text-shadow: 1px 1px 2px var(--blanc);
  }

  .gauche p,
  .gauche2 p {
    margin: 0;
    padding: 0;
    color: var(--deH2aP);
  }

  .complet {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
  }

  span {
    color: var(--tel);
  }

  .attention {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 20px;
    left: -15px;
    background-color: var(--gris);
    transform: rotate(-10deg);
  }

  .attention img {
    width: 30px;
  }

  .horraires {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 25px;
    /* padding-bottom: 100vh; */
  }

  .horraires p {
    padding: 0;
    margin: 0;
  }

  .horraires a {
    color: var(--lien);
  }

  .anim {
    border-radius: 50%;
    background-color: var(--blanc);
    margin-left: 1.8rem;
  }

  .attention h3 {
    padding: 0;
  }
}

/* grand écran  */
@media screen and (max-width: 1440px) and (min-width: 1170px) {
  body {
    width: 80vw;
    margin: 0 auto;
  }

  .centre2 {
    font-size: 2rem;
  }

  .centre,
  .gauche {
    font-size: 2.4rem;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 2rem;
  }
  .horraires {
    /* padding-bottom: 100vh; */
  }
}

/* écran médium  */
@media screen and (max-width: 1170px) and (min-width: 1060px) {
  body {
    width: 90vw;
    margin: 0 auto;
  }

  .attention h3 {
    font-size: 1.6rem;
  }

  .centre2 {
    font-size: 1.8rem;
  }

  .centre,
  .gauche {
    font-size: 2.4rem;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.8rem;
  }
  .horraires {
    /* padding-bottom: 100vh; */
  }
}

/* petit écran : tablette, tel en mode portrait  */
@media screen and (max-width: 1060px) and (min-width: 950px) {
  h1 {
    font-size: 4rem;
  }

  body {
    width: 90vw;
    margin: 0 auto;
  }

  .attention h3 {
    font-size: 1.6rem;
  }

  .centre2 {
    font-size: 1.8rem;
  }

  .centre,
  .gauche {
    font-size: 1.9rem;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.6rem;
  }
  .horraires {
    /* padding-bottom: 100vh; */
  }
}

/* écran de smartphone  */
@media screen and (max-width: 950px) and (min-width: 840px) {
  h1 {
    font-size: 3.8rem;
  }

  body {
    width: 90vw;
    margin: 0 auto;
  }

  .centre2 {
    font-size: 1.6rem;
  }

  .attention h3 {
    font-size: 1.6rem;
  }

  .centre,
  .gauche {
    font-size: 1.9rem;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.6rem;
  }
  .horraires {
    /* padding-bottom: 100vh; */
  }
}

/* écran de smartphone de la mort qui tue*/
@media screen and (max-width: 840px) and (min-width: 760px) {
  h1 {
    font-size: 3.8rem;
  }

  body {
    width: 100vw;
    margin: 0 auto;
  }

  .centre2 {
    font-size: 1.6rem;
  }

  .attention h3 {
    font-size: 1.6rem;
  }

  .centre,
  .gauche {
    font-size: 1.9rem;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.6rem;
  }
  .horraires {
    padding-bottom: 20vh;
  }
}

@media screen and (max-width: 760px) and (min-width: 720px) {
  h1 {
    font-size: 3.6rem;
  }

  body {
    width: 100vw;
    margin: 0 auto;
  }

  .centre2 {
    font-size: 1.5rem;
  }

  .attention h3 {
    font-size: 1.5rem;
  }

  .centre,
  .gauche {
    font-size: 1.9rem;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.5rem;
  }
  .horraires {
    padding-bottom: 20vh;
  }
}

@media screen and (max-width: 720px) and (min-width: 570px) {
  h1 {
    font-size: 3.4rem;
    padding-bottom: 20px;
  }

  body {
    width: 100vw;
    margin: 0 auto;
  }

  main {
    padding: 10px;
  }
  .complet {
    padding-bottom: 20px;
  }

  .centre2 {
    font-size: 1.5rem;
    padding-bottom: 20px;
  }
  .attention {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 16px;
    left: -8px;
    background-color: var(--gris);
    transform: rotate(-10deg);
  }

  .attention h3 {
    font-size: 1.2rem;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .attention img {
    width: 20px;
  }

  img {
    display: block;
    margin: 1.3em auto;
    width: 75px;
  }
  .centre,
  .gauche {
    font-size: 1.8rem;
  }

  .centre {
    padding-top: 20px;
  }
  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.5rem;
  }

  .horraires {
    padding-bottom: 16vh;
  }
}

@media screen and (max-width: 570px) and (min-width: 350px) {
  h1 {
    font-size: 2.6rem;
    padding-bottom: 20px;
  }

  body {
    width: 100vw;
    margin: 0 auto;
  }

  main {
    padding: 10px;
  }
  .complet {
    padding-bottom: 20px;
  }

  .centre2 {
    font-size: 1.7rem;
    padding-bottom: 10px;
  }
  .attention {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 16px;
    left: -8px;
    background-color: var(--gris);
    transform: rotate(-10deg);
  }

  .attention h3 {
    font-size: 1.4rem;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .attention img {
    width: 20px;
  }

  img {
    display: block;
    margin: 1.3em auto;
    width: 55px;
  }
  .centre,
  .gauche {
    font-size: 1.7rem;
  }

  .centered-element {
    text-align: left;
  }

  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.4rem;
  }

  .horraires {
    padding-bottom: 18vh;
  }
}

@media screen and (max-width: 570px) and (min-width: 350px) {
  h1 {
    font-size: 2.6rem;
    padding: 10px 0 20px;
  }

  body {
    width: 100vw;
    margin: 0 auto;
    overflow-x: hidden;
  }

  main {
    padding: 10px;
  }
  .complet {
    padding-bottom: 20px;
  }

  .centre2 {
    font-size: 1.8rem;
    padding-bottom: 10px;
  }
  .attention {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 16px;
    left: -8px;
    background-color: var(--gris);
    transform: rotate(-10deg);
  }

  .attention h3 {
    font-size: 1.4rem;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .attention img {
    width: 20px;
  }

  img {
    display: block;
    margin: 1.3em auto;
    width: 55px;
  }
  .centre,
  .gauche {
    font-size: 1.7rem;
  }

  .centered-element {
    text-align: left;
  }

  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.4rem;
    text-align: left;
  }

  .horraires {
    padding-bottom: 18vh;
  }
  .decald {
    margin-left: 7px;
  }
}
@media screen and (max-width: 350px) and (min-width: 300px) {
  h1 {
    font-size: 2.1rem;
    padding-bottom: 20px;
  }

  body {
    width: 100vw;
    margin: 0 auto;
    overflow-x: hidden;
  }

  main {
    padding: 10px 5px;
  }
  .complet {
    /* padding-bottom: 20px; */
    display: block;
  }

  .centre2 {
    font-size: 1.7rem;
    padding-bottom: 10px;
  }
  .attention {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 16px;
    left: -11px;
    background-color: var(--gris);
    transform: rotate(-10deg);
  }

  .attention h3 {
    font-size: 1.4rem;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .attention img {
    width: 20px;
  }

  .anim {
    margin: 3.6rem;
  }

  img {
    display: block;
    /* margin: 1em auto; */
    width: 100px;
  }
  .centre,
  .gauche {
    font-size: 1.55rem;
    text-align: center;
    width: 100vw;
    margin: 0;
  }

  .centered-element {
    text-align: left;
  }

  .centered-element p,
  .centered-element2 p,
  .horraires p,
  .horraires a {
    font-size: 1.5rem;
    /* margin-left: 1rem; */
    text-align: left;
  }

  .horraires {
    padding-bottom: 22vh;
  }
  .decald {
    margin-left: 7px;
  }
}
