@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Regular.woff2") format("woff2");
    font-weight: 400;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Medium.woff2") format("woff2");
    font-weight: 450;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
}

html, body {
   margin: 0;
   padding: 0;
   font-family: "Montserrat", "Arial", sans-serif;
   font-size: 100%;
}

* {
   box-sizing: border-box;
}

.center {
   text-align: center;
}

a:hover {
   color: green;
}

a {
   color: black;
   text-decoration: none;
}

.retour {
  display: block;
  text-align: right;
  color: black;
  text-decoration: none;
}

hr{
	background-color:#696969;
	border:none;
	color:#696969;
	margin-top:10px;
	margin-bottom:0px;
	height:1px;
	width:100%;
}

#main-fancy{
	height:100%;
	margin-left:60px;
	margin-right:60px;
	margin-top:30px;
	margin-bottom:30px
}

#main-fancy h1{
	color:#5b5b5b;
        font-family: "Montserrat", "Arial", sans-serif;
	font-size:1.4em;
	font-weight: normal;
}

.expo-header {
  text-align: center;
  margin: 40px auto 20px;
}

.expo-header h1 {
  font-size: 1.6em;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Galerie-catalogue à tailles proportionnelles modérées */
#page #gallery.gallery {
  display: flex !important;
  flex-flow: row wrap !important;
  align-items: center !important;
  justify-content: space-around !important;
  gap: 55px 38px !important;
  padding: 24px 2% 10px !important;
  width: auto !important;
}

#page #gallery.gallery .pic {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}


#page #gallery.gallery .pic a {
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0 !important;

  /* Caisse américaine */
  padding: 5px;
  background: #292929;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}


#page #gallery.gallery .pic img {
  display: block !important;
  width: auto;
  height: auto;
  max-width: 330px !important;
  max-height: 330px !important;
  object-fit: contain;

  /* Fin liseré intérieur */
  border: 1px solid #555;
}

@media (max-width: 700px) {
  #page #gallery.gallery { gap: 28px 18px !important; padding: 18px 2% 8px !important; }
  #page #gallery.gallery .pic img { max-width: min(42vw, 220px) !important; max-height: 220px !important; }
}

/* Séparation entre les toiles et les photos d'exposition */
.gallery-separator {
  flex-basis: 100%;
  width: 100%;
  margin: 25px 0 5px;
  padding-top: 18px;
  border-top: 1px solid #b8b8b3;
  text-align: center;
  color: #666;
  font-size: 0.95em;
  font-weight: normal;
}

/* ---- FANCYBOX ---- */

/* Flèches discrètes */

.fancybox-nav span {
    opacity: 0;
    transition: opacity 0.2s;
}

/* apparition au survol */

.fancybox-wrap:hover .fancybox-nav span {
    opacity: 0.5;
}

/* plus visible si on vise la flèche */

.fancybox-nav span:hover {
    opacity: 1;
}

/* supprimer l'image sprite utilisée par fancybox */

.fancybox-prev span,
.fancybox-next span {
    background: none !important;
}

/* style commun aux flèches */

.fancybox-nav span::before {
    font-size: 56px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

/* flèche gauche */

.fancybox-prev span::before {
    content: "❮";
}

/* flèche droite */

.fancybox-next span::before {
    content: "❯";
}

/* position */

.fancybox-prev span {
    left: 15px;
}

.fancybox-next span {
    right: 15px;
}

/* curseur normal sur les zones de navigation */

.fancybox-prev,
.fancybox-next {
    cursor: default;
}

/* curseur pointeur uniquement au centre */

.fancybox-inner {
    cursor: pointer;
}

