html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin: 0;
  padding: 0;
  height: 100svh;
  background: url('/images/fond.jpg') center/cover no-repeat fixed;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 203px;
  z-index: 5000;
  margin: 0;
  padding: 0;
}

main {
  padding-top: 185px;
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 16px;
  font-size: 20px;
  background: #881437;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

  #backToTop.visible {
    opacity: 0.8;
    pointer-events: auto;
  }

  #backToTop:hover {
    opacity: 1;
  }

#pied-f {
  max-width: 510px;
  width: 100%;
  text-align: center;
}

#map {
  height: 500px;
  width: 100%;
}

@font-face {
  font-family: 'Victory';
  src: url('/fonts/Belgium Victory Italic.otf') format('opentype');
  font-weight: 700;
}

.separateur {
  height: 54px;
  background: url('/images/separateur.png') no-repeat center;
  background-size: auto 18px;
}

.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

  .social-buttons a {
    display: inline-block;
    width: 48px;
    height: 48px;
    background-size: cover;
    transition: transform 0.2s;
  }

    .social-buttons a:hover {
      transform: scale(1.1);
    }

.facebook {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1b/Facebook_icon.svg');
}

.instagram {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png');
}

footer {
  background: url('/images/latte.png');
  color: wheat;
  text-align: center;
  height: 32px;
}

  footer div {
    padding-top: 4px;
  }

  footer a {
    color: wheat;
    text-decoration: none;
  }

    footer a:hover {
      color: black;
    }

#bandeau {
  height: 185px;
  background: url('/images/planches.png') no-repeat;
  background-size: 100% 185px;
  margin: 0;
  padding: 0;
}

.sub-a {
  position: fixed;
  left: 40px;
  top: 140px;
  font-size: 6px;
  font-variant-caps: small-caps;
}

.salon {
  position: fixed;
  font-family: 'Victory';
  font-size: 18px;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
}

.rameau-tl {
  position: fixed;
  width: 125px;
  height: 110px;
}

  .rameau-tl img {
    width: 100%;
    height: auto;
  }

.rameau-br {
  position: fixed;
  width: 180px;
  height: 161px;
  left: 100%;
  top: 24px;
  transform: translateX(-100%);
}

  .rameau-br img {
    width: 100%;
    height: auto;
  }

.logo {
  position: fixed;
  left: 50%;
  width: 160px;
  height: 168px;
  background-color: #F6ECE380;
  text-align: center;
  transform: translateX(-50%);
  padding: 8px 6px 0 0;
  margin-top: 4px;
}

  .logo svg {
    width: 90%;
    height: auto;
  }

.firstletter {
  float: left;
  margin-top: -4px;
  margin-right: -4px;
  font-size: 1.2em;
  font-weight: 800;
  text-align: right;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

section {
  max-width: 900px;
  margin: auto;
  padding-left: 4px;
  padding-right: 4px;
  scroll-margin-top: 210px;
}

.submenu {
  position: fixed;
  width: 100%;
  height: 20px;
  padding-top: 18px;
  background-color: #A22538;
  color: white;
  text-align: center;
}

  .submenu a {
    color: white;
    text-decoration: none;
    font-variant: small-caps;
  }

    .submenu a:hover {
      color: wheat;
    }

  .submenu span {
    padding-left: 5px;
    color: black;
  }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  max-width: 900px;
  margin: 40px auto;
  padding-top: 4px;
  width: 94%;
}

  .gallery img {
    width: 100%;
    max-width: 300px;
    border-radius: 6px;
    cursor: pointer;
  }

body > div.pswp.pswp--open.pswp--has_mouse.pswp--ui-visible > section {
  max-width: unset;
}

.photo-link {
  text-decoration: none;
  padding-left: 10px;
  color: black;
}

.plus-code-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  font: 14px Arial, sans-serif;
  color: black;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
}

  .plus-code-btn:hover {
    background-color: #f1f3f4;
  }

  .plus-code-btn .icon {
    margin-right: 6px;
    font-size: 16px;
  }

.deux-colonnes {
  display: flex;
  gap: 20px;
  text-align: center;
  max-width: 900px;
}

  .deux-colonnes p {
    text-align: justify;
    text-align-last: left;
  }

.colonne-gauche {
  flex: 4;
}

.colonne-droite {
  flex: 3;
}

#horaires {
  width: 245px;
  height: 213px;
  background: url('/images/tableau.jpg');
  font-size: 12px;
  padding-top: 1px;
}

  #horaires p, #horaires h4 {
    color: white;
    text-align: center;
    width: 100%;
    text-align-last: center;
  }

#comptoir {
  max-width: 400px;
}

#adresse {
  width: 300px;
  height: 270px;
  background-image: url('/images/rameau.svg'), url('/images/planches.png');
  background-size: 100%, contain;
  background-repeat: no-repeat, repeat;
  background-position-y: 80px, 0px;
  color: white;
  line-height: 32px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#vitrine {
  text-align: center;
  margin: auto;
}

  #vitrine div {
    width: 80%;
    text-align: center;
    margin: auto;
  }

  #vitrine img {
    max-height: 500px;
  }

.image300x100, .image300x150 {
  width: 100%;
  max-width: 300px;
}

.image300x100 {
  min-width: 100px;
}

.image300x150 {
  min-width: 150px;
}

  .image300x150 img {
    max-width: 300px;
  }

.colonne-debut, .colonne-centree, .colonne-fin {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.colonne-debut {
  align-items: start;
}

.colonne-centree {
  align-items: center;
}

.colonne-fin {
  align-items: end;
}

#separateur-images-salon {
  height: 20%;
  min-height: 110px;
  max-height: 500px;
}

@media (max-height: 480px) and (orientation: landscape), (max-width: 480px) and (orientation: portrait) {
  main {
    padding-top: 76px;
  }

  #bandeau {
    height: 90px;
    background-size: 100% 90px;
  }

  .logo {
    width: 70px;
    height: 74px;
  }

  .rameau-tl {
    width: 80px;
    height: 80px;
  }

  .rameau-br {
    width: 80px;
    height: 80px;
  }

  .sub-a {
    top: 65px;
    left: 29px;
    font-size: 2px;
  }

  .salon {
    font-size: 9px;
    top: 70px;
    transform: translateX(-50%);
  }

  .deux-colonnes {
    display: block;
    text-align: center;
  }

  #separateur-images-salon {
    height: 4px;
    min-height: 4px;
    max-height: 4px;
  }

  .colonne-debut, .colonne-centree, .colonne-fin {
    align-items: center;
  }

  .submenu {
    top: 90px;
    padding-top: 4px;
  }

  section {
    scroll-margin-top: 90px;
  }

  .gallery img {
    max-width: 180px;
  }
}