/* ===========================================================
   FOND ET POLICE
   =========================================================== */

/* Fond global (pages normales) */
body {
  margin-top: 5vh;
  padding: 0;
  background: url('../images/background.png') center center / cover no-repeat;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  z-index: -1;
}

/* Fond alternatif pour les galeries */
body.fond-galerie {
  background: url('../images/mur2.png') center center / cover repeat !important;
  transition: background 1.2s ease-in-out;
}


@font-face {
  font-family: 'GreatVictorian';
  src: url('../fonts/GreatVictorian-Standard.otf') format('opentype');
}

@font-face {
  font-family: 'IMFellEnglish';
  src: url('../fonts/IMFellEnglish-Regular.ttf') format('truetype');
}

h2 {
  font-family: 'GreatVictorian', serif;
  font-size: 60px;
  color: #544f4f;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
}

body, a, button, img, .clickable {
  cursor: url('../images/curseur2.png'), auto !important;
}


/*====================================================
        FENETRE INITIALE DE SELECTION DE LANGUE
====================================================*/
    /* Flou appliqué uniquement au contenu */
    .blurred {
      filter: blur(10px);
    }

    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.1);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }


.modal-content {
  background-image: url('../images/cadre6.png');
  background-color: #f7f6df;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 650px;         /* Largeur fixe */
  max-width: 80%;       /* Largeur maximale sur petits écrans */
  height: 450px;         /* Hauteur automatique selon le contenu */
  padding: 40px;        /* Espacement intérieur */
  text-align: center;
  font-family: 'GreatVictorian', serif;
  color: #2c1f14;
  box-shadow: -10px 10px 20px rgba(0,0,0,0.9);
}

.modal-content h2 {
  padding: 40px;
  text-align: center; 
  font-size: 38px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-shadow: 1px 1px #d4c6b2;
}

.modal-content a {
  display: inline-block;  /* Les boutons s’affichent côte à côte */
  padding: 0px 40px;
  transition: all 0.3s ease;
}

.modal-content a:hover {
  transform: scale(1.2);
}


/*====================================================
                     ETINCELLES AUX CLICS
====================================================*/
.spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: gold;
  opacity: 0.9;
  animation: spark-animation 1000ms ease-out forwards;
  z-index: 9999;
}

@keyframes spark-animation {
  to {
    transform: translate(var(--dx), var(--dy)) scale(0.1);
    opacity: 0;
  }
}


/*====================================================
                     SPA - PAGES FONDUES 
====================================================*/
.spa-page {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spa-page.active {
  display: block;
  opacity: 1;
}


/*====================================================
                     FUMEE DE TRANSITION 
====================================================*/
.smoke-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  background: url('../images/smoke.png') no-repeat center center;
  background-size: cover;
  transition: opacity 0.8s ease-in;
}

/* Fumée active (entrée rapide) */
.smoke-transition.active {
  opacity: 1;
  background: rgba(255,255,255,0.9) url('../images/smoke.png') center center / cover no-repeat;
  animation: smoke-move 6s infinite linear;
}

/* Effet de dissipation progressive */
.smoke-transition.fade-out {
  animation: smoke-dissipate 2s forwards ease-out;
}

/* Mouvement léger de la fumée */
@keyframes smoke-move {
  0%   { transform: translate(0px, 0px) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(0px, 0px) scale(1); }
}

/* Dissipation (opacité + flou) */
@keyframes smoke-dissipate {
  0%   { opacity: 1; filter: blur(0px); }
  50%  { opacity: 0.6; filter: blur(4px); }
  100% { opacity: 0; filter: blur(12px); }
}


/*====================================================
                     PAGES D'ACCUEIL 
====================================================*/
/* Container E - Principal */
#containerE {
  justify-content: flex-start;
  width: 85%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  gap: 0;
  background: url('../images/journal.png') center center / cover repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: -30px 20px 20px rgba(0, 0, 0, 0.8);
}


/* Container A - Logo */
#containerA {
  background-color: transparent;
  width: 90%;
  height: auto;
  padding: 1;
  margin: 0 auto;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo:hover {
  animation: colorize 0.5s forwards;
  transition: transform 2s ease;
}

/* Container B - Image avec effet zoom */
#containerB {
  position: relative;
  height: 100%;
  width: 80%;
  padding: 0;
  margin-top: -5%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5vh;
  border: 0;
  border-radius: 5%;
  background: #3B3737;
}

.image {
  object-fit: contain;
  border: 1px solid #333;
  filter: grayscale(100%) contrast(160%) saturate(500%) brightness(50%);
  will-change: transform;
  transition: transform 2s ease;
}

.image:hover {
  animation: colorize 0.5s forwards;
  transform: scale(0.92);
}

@keyframes colorize {
  0%   { filter: grayscale(100%); }
  50%  { filter: sepia(70%); }
  100% { filter: none; }
}

/* Texte animé au-dessus de l’image d'accueil */
.text-overlay {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap:n wrap;
  justify-content: center;
  gap: 2rem;
  transition: opacity 2s ease, transform 2s ease, filter 2s ease;
}

.text-overlay span {
  font-family: 'GreatVictorian', serif;
  font-size: 10rem;
  color: gold;
  text-shadow: 0 0 12px #000, 6px 6px 10px #000;
  opacity: 0;
  transform: translateY(30px) scale(1.1);
  animation: floatIn 1s ease forwards;
  filter: blur(4px);
}

@keyframes floatIn {
  0% {https://chatgpt.com/c/687378d8-7258-800f-933d-753f008cc180
    opacity: 0;
    transform: translateY(20px) scale(1.1);
    filter: blur(8px);
  }
  50% {
    opacity: 0.8;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(2px);
  }
}

.text-overlay.fade-out {
  opacity: 0;
  transform: translateY(-10px) scale(0);
  filter: blur(6px);
}


/*============== Articles page d'accueil  ===============*/

#containerC {
  background-color: transparent;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 90%;
  padding: 1rem 0;
  margin-top: 0;
  margin-left: 10vh;
  margin-bottom: 1rem;
}

#containerC1 {
  background-color: transparent;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 90%;
  padding: 1rem 0;
  margin-top: 0;
  margin-left: 10vh;
  margin-bottom: 1rem;
}

.article {
 align-self: flex-start;
  min-height: 25vh;
  max-height: 50vh;
  overflow: none;
  padding: 1rem;
  border: 6px double rgba(0,0,0,0.5);
  line-height: 1.4rem;
}

.article p {
  text-align: justify;
  font-size: 1.5rem;
  font-family: "IM Fell English", serif;
  color: #544f4f;
}

.article p::first-letter {
  font-size: 3em;
  font-weight: bold;
  font-family: "GreatVictorian", serif;
  color: #544f4f;
  line-height: 0;
}

.pub {
  display: flex;
  justify-content: center;  /* centre horizontalement */
  align-items: top;      /* centre verticalement */
  padding: 1rem;
  background: transparent;
}

.pub img {
  max-width: 100%;    /* jamais plus large que le conteneur */
  max-height: 100%;   /* jamais plus haute que le conteneur */
  object-fit: contain; /* garde le ratio, s’ajuste sans déborder */
  padding: 0 1rem;
}

/* Main victorienne */
.hand {
  position: relative;
  width: 40%;
  height: auto;
  transition: transform 0.2s ease;
}

.hand:hover img {
  transform: scale(1.4);
}



/*============== DIAPORAMA PERMANENT ACCUEIL================== */
.image-wrapper {
  position: relative;
  width: 90%;
  margin: auto;
  height: auto; /* ou fixe si nécessaire */
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.image-wrapper::before {
  content: "";
  display: block;
  padding-top: 46%; /* ratio pour réserver la place (ici 16:9) */
}

/* Image 1 : fade in puis fade out */
.img1 {
  animation: fade1 8s infinite;
}

/* Image 2 : fade out puis fade in (décalée) */
.img2 {
  animation: fade2 8s infinite;
}


@keyframes fade1 {
  0%   { opacity: 1; }
  40%  { opacity: 0; }
  60%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade2 {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0; }
}


/*====================================================
                     AUTRES PAGES  
====================================================*/

/* Container A2 - Entete-pages */
#containerA2 {
  display: flex;
  justify-content: center;
  background-color: transparent;
  padding: 0;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.Entete-pages {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Titre animé en haut de chaque section */
.section-text-overlay {
  margin-top: 2vh;  /* espace sous l'entête */
  text-align: center;
  font-family: 'GreatVictorian', serif;
  font-size: 6rem;
  font-weight: bold;
  color: #a65353;
  opacity: 0;
  transition: opacity 2s ease;
}

.section-text-overlay.show {
  opacity: 1;
}

/* Articles généraux */
.article-container {
  max-width: 100%;
  margin: 3%;
  background-color: transparent;
  padding: 1rem 0;
  border-left: 2px solid rgba(0,0,0,0.2);
  border-right: 2px solid rgba(0,0,0,0.2);
}

.article-columns {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  text-align: justify;
  font-size: 1.4rem;
  /*font-family: "Times New Roman", Times, serif;*/
  font-family: "IM Fell English", serif;
  color: #544f4f;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.article-columns p {
  flex: 1;
  color: #544f4f;
}

.article-columns p::first-letter {
  font-size: 3em;
  font-weight: bold;
  font-family: "GreatVictorian", serif;
  color: #a65353;
  line-height: 0;
}


/*====================================================
                   Articles - Page Magie
====================================================*/

#intro {
  display: flex;
  justify-content: center;  /* centre horizontalement */
  align-items: center;   /* centre verticalement dans le conteneur */
  margin-top: 3%;
  font-family: 'GreatVictorian', serif;
  font-size: 3rem;
  font-weight: bold;
  color: #544f4f;
}

#intro p {
  margin: 0;
}


#magie-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 90%;
  padding: 5rem;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
}

.magie {
  align-self: flex-start;
  min-height: 25vh;
  max-height: 70vh;
  overflow: none;
  padding: 1rem;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
}

.magie p {
  text-align: justify;
  font-size: 1.5rem;
  font-family: "IM Fell English", serif;
  color: #544f4f;
}

.magie p::first-letter {
  font-size: 3em;
  font-weight: bold;
  font-family: "GreatVictorian", serif;
  color: gold;
  line-height: 0;
}


/*====================================================
                  Illustrations - Page Magie
====================================================*/
.box-illustration {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  padding: 8%;
  height: auto;           /* ← facultatif, mais explicite */
  align-items: start;     /* ← évite que les enfants s'étirent verticalement */
  overflow: visible;      /* ← garantit que rien ne soit masqué */
}

.illustration {
  position: relative;
  display: block;
  margin-top: 8%;
  width: 100%;
  overflow: visible;
}

.illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5%;
}

.illustration::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 60px);
  background: url('../images/cadre4.png') center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}


/*====================================================
                     NAVIGATION
====================================================*/
#containerC3 {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  width: 160vh;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 2rem;
  color: #3B3737;
}

.retour {
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

.autre {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

.suivant {
  text-align: right;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

.page-link img {
  transition: transform 0.4s ease;
}

.page-link:hover img {
  transform: scale(1.2);
}

.inline-icon {
  width: 20%;
  height: auto;
  vertical-align: middle;
}

.inline-icon:hover img {
  transform: scale(1.3);
}


.bouton-lang  {
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}


.bouton-lang:hover img {
  transform: scale(1.2);
}



/*====================================================
                     PIED DE PAGE
====================================================*/
#containerD {
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #544f4f;
  border-top: 1px solid rgba(0,0,0,0.2);
}

.footer-left {
  text-align: left;
  padding-left: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: #544f4f;
}

.footer-center {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #544f4f;
}

.footer-right {
  text-align: right;
  padding-right: 2rem;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: #544f4f;
}


/*====================================================
                     FORMULAIRE DE CONTACT
====================================================*/
/* Cadre rétro avec coins décoratifs */
.cadre-retro {
  position: relative;
  width: 150vh;
  height: 140vh;
  background: transparent;
  padding: 3rem;
  border: 3px double rgba(0,0,0,0.2);
  overflow: hidden;
}

/* Coins décoratifs */
.coin {
  position: absolute;
  width: 100px;   /* ajuste selon taille de coin.png */
  height: 100px;
  background: url("../images/coin.png") no-repeat center/contain;
}

.coin-haut-gauche { top: 0; left: 0; }
.coin-haut-droit  { top: 0; right: 0; transform: scaleX(-1); }
.coin-bas-gauche  { bottom: 0; left: 0; transform: scaleY(-1); }
.coin-bas-droit   { bottom: 0; right: 0; transform: scale(-1,-1); }

.cadre-contenu {
  position: relative;
  z-index: 1;
}

.form-titre {
  text-align: center;
  font-size: 6rem;
  font-family: "GreatVictorian", serif;
  color: #5a3e2b;
  font-weight: bold;
}

/* Champs avec cadre décoratif */
.champ-cadre {
  display: block;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 8px double black;
  border-image: url("../images/cadre2.png") 30 round; 
  border-radius: 10px;
  background: transparent;
}

.champ-cadre label {
  display: block;
  margin-bottom: 1.5rem;
  font-family: "GreatVictorian", serif;
  font-weight: bold;
  font-size: 3rem;
  color: #5a3e2b;
  background: transparent;
}

.champ-cadre input,
.champ-cadre textarea {
  width: 100%;
  border: none;
  font-size: 2rem;
  font-family: "Times New Roman", Times, serif; 
  padding: 1rem;
  background: transparent;
  outline: none;
}

.btn-envoyer {
  position: relative;
  text-align: center;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: #5a3e2b;
  font-family: "GreatVictorian", serif;
  font-size: 5rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-envoyer:hover {
  color: #c59d5f;
  transform: scale(1.2);
}

/* ===============================
         POPUP VICTORIEN 
   =============================== */
.victorian-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  width: 80vw;
  max-width: 700px;
  max-height: 80vh;
  aspect-ratio: 3 / 2;
  background-image: url('../images/cadre5.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4vh 5vw;
  text-align: center;
  box-shadow: -10px 10px 20px rgba(0,0,0,0.9);
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

/* Texte dans le popup */
.victorian-popup h2 {
  font-family: 'GreatVictorian', serif;
  font-size: 50px;
  color: #a65353;
  line-height: 1.5;
  margin: 10px 0;
  text-shadow: 1px 1px #d4c6b2;
}

/* En cas de succès / erreur (bordure autour du cadre si tu veux) */
.victorian-popup.success {
  filter: drop-shadow(0 0 10px rgba(50,120,40,0.7));
}

.victorian-popup.error {
  filter: drop-shadow(0 0 10px rgba(120,20,20,0.7));
}

/* Animation fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -55%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* Responsive mobile */
@media (max-width: 768px) {
  .victorian-popup {
    width: 95vw;
    padding: 2vh 4vw;
  }
  .victorian-popup-close {
    font-size: 1.5rem;
  }
}

/*====================================================
                     CARTE PHOTOGRAPHIE 
====================================================*/
.photo-card {
  position: relative;
  width: 50vh;
  height: 45vh;
  margin: 60px auto;
  padding: 8px;
  background: url('../images/fond.png') center center / cover no-repeat;
  border-top: 2px solid #f7f6d7;
  border-left: 4px solid #cfa757;
  border-right: 2px solid #f7f6d7;
  border-bottom: 4px solid #cfa757;
  border-radius: 8px;
  box-shadow: -10px 10px 15px rgba(0, 0, 0, 0.8);
  /*cursor: pointer;*/
  transition: transform 0.3s ease;
}

.photo-card:hover {
  transform: scale(1.02);
}

.photo-card img {
  width:95%;
  height: 32vh;
  display: block;
  /*position: center / cover;*/
  filter: sepia(100%);
  border: 10px solid #efd473;
  border-radius: 2px;
}

/* Disposition aléatoire */
.photo-card:nth-child(odd) {
   --rotation: -10deg;
   transform: rotate(var(--rotation)) translate(-10px, -5px);
}

.photo-card:nth-child(even) {
  --rotation: 20deg;
  transform: rotate(var(--rotation)) translate(10px, 5px);
}

.pile {
  position: relative;
  width: 150vh;
  height: 95vh;
}

.pile .photo-card {
  position: absolute;
  top: 0;
  left: 0;
  transition: filter 0.3s ease, z-index 0s;
  /*cursor: pointer;*/
}

.pile .photo-card:hover {
  filter: brightness(1.05) contrast(1.1);
}

/* Chaque carte plus éloignée vers la droite et le bas */
.pile a:nth-child(1) { transform: rotate(-4deg) translate(0px, 0px); z-index: 8; }
.pile a:nth-child(2) { transform: rotate(2deg) translate(160px, 180px); z-index: 7; }
.pile a:nth-child(3) { transform: rotate(-3deg) translate(320px, 120px); z-index: 6; }
.pile a:nth-child(4) { transform: rotate(3.5deg) translate(480px, 50px); z-index: 5; }
.pile a:nth-child(5) { transform: rotate(-2deg) translate(640px, 240px); z-index: 4; }
.pile a:nth-child(6) { transform: rotate(1.5deg) translate(800px, 280px); z-index: 3; }
.pile a:nth-child(7) { transform: rotate(-1deg) translate(960px, 200px); z-index: 2; }
.pile a:nth-child(8) { transform: rotate(4deg) translate(1050px, 20px); z-index: 1; }


/*====================================================
                     GALERIE D'IMAGES
====================================================*/

#containerE2 {
  justify-content: flex-start;
  width: 95%;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  gap: 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

#mur {
  justify-content: flex-start;
  width: 100%;
  margin-top: -5vh;
  margin-left: auto;
  margin-right: auto;
  gap: 0;
  background: transparent;
  background: url('../images/mur2.png') center center / cover repeat;
  display: flex;
  flex-direction: column;
}


.inline-icon-galerie {
  display: block;
  margin: 0 auto;
}

.inline-icon-galerie:hover img {
  transform: scale(1.2);
}

.containerB2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  padding: 2rem;
  height: auto;           /* ← facultatif, mais explicite */
  align-items: start;     /* ← évite que les enfants s'étirent verticalement */
  overflow: visible;      /* ← garantit que rien ne soit masqué */
}


/* Chaque cadre */
.gallery-item {
  position: relative; /* sert pour placer le pseudo-élément */
  display: block;
  background: transparent;
  height: auto; /* ← facultatif mais utile */
  padding: 10px;
  margin: 0;
  box-shadow: -15px 20px 25px rgba(0,0,0,1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: -20px 30px 15px rgba(0,0,0,1);
}

/* Image dans chaque cadre */
.gallery-item img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

/* Cadre doré appliqué par-dessus l’image */
.gallery-item::after {
  content: "";
  position: absolute;
  top: -2%; 
  left: -2%;
  width: 110%;
  height: 110%;
  background: url('../images/cadre3.png') center/100% 100% no-repeat;
  pointer-events: none; /* laisse passer les clics sur l’image */
  box-shadow: -15px 20px 25px rgba(0,0,0,1);
}

/* Overlay */
.overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: url('../images/mur2.png') center center / cover no-repeat;*/
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  pointer-events: auto;
  background-color: transparent;
  box-shadow: -10px 10px 15px rgba(0,0,0,1);
  transition: transform 0.2s ease;
}

.close-btn {
  position: absolute;
  z-index: 1001;
  top: 1rem;
  left: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 15rem;
  line-height: 1;
}

.close-btn:hover {
  color: red;
}


@media (max-width: 600px) {
      .gallery {
        column-width: 180px;
        column-gap: 12px;
      }
}
