/* Adaptation mobile pour L'Orme Seul
   A charger après style.css et css/screen.css.
*/

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  #bloc_page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  header {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 15px;
  }

  header .logo {
    width: 100%;
    text-align: center;
  }

  header .logo img {
    max-width: 90%;
  }

  header .info {
    width: 100%;
    margin: 10px 0 0;
    text-align: center;
  }

  header .info br {
    display: none;
  }

  .tel,
  .adr,
  .mail {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    line-height: 1.4;
  }

  nav {
    width: 100%;
  }

  nav ul.nav_haut,
  nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  nav li {
    width: 100%;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  nav li a {
    display: block;
    min-height: 44px;
    padding: 12px 10px;
  }

  #slider {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 auto;
  }

  #mask,
  #image_container {
    width: 100%;
    max-width: 100%;
  }

  #image_container img {
    display: block;
    width: 100%;
    height: auto;
  }

  #fleche_gauche,
  #fleche_droite {
    max-width: 40px;
  }

  #slider_description {
    width: 100%;
    padding: 10px 15px;
    text-align: center;
    line-height: 1.4;
  }

  section.examples-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }

  section.examples-section article {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  section.examples-section p {
    line-height: 1.6;
  }

  .container,
  .image-set {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .example-image-link {
    display: inline-block;
    width: 46%;
    margin: 1%;
    vertical-align: top;
  }

  .example-image {
    display: block;
    width: 100%;
    height: auto;
  }

  footer {
    width: 100%;
  }

  #arriere-plan-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
  }

  #footer-chambre,
  #ouverture,
  #mes_photos,
  #proximite,
  #info {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 25px;
    text-align: center;
  }

  #proximite ul,
  #info ul {
    padding-left: 0;
    list-style-position: inside;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

h5
{
    font-size: 1em;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-top: 10px;
    color: #ffffff;
    text-decoration: underline;
}

  .tel,
  .adr,
  .mail {
    flex-direction: column;
    gap: 3px;
  }

  .example-image-link {
    width: 96%;
    margin: 2% 0;
  }

  #fleche_gauche,
  #fleche_droite {
    max-width: 32px;
  }
}