/*

Kirbyxhibit
Thanks to Kirby Starterkit by Bastian Allgeier / Sascha Lack (http://getkirby.com)
A tribute to Indexhibit by Daniel Eatock and Jeffery Vaska 
Big hugs to Greg Cadars

Updated for Kirby 5
Author:  Didier Lechenne + Julien Bidoret


*/

/* ------------------------------------------------------------------------ les graisses pour les polices de caractères, en css */

/* font-weight: 100; Thin (Hairline) */
/* font-weight: 200; Extra Light (Ultra Light) */
/* font-weight: 300; Light */
/* font-weight: 400; normal */
/* font-weight: 500; Medium */
/* font-weight: 600; Semi Bold (Demi Bold) */
/* font-weight: 700; gras / bold */
/* font-weight: 800; Extra Bold (Ultra Bold) */
/* font-weight: 900; Black (Heavy) */
/* font-weight: 950; Extra Black (Ultra Black) */

@import "./fonts/fonts.css";

/* ------------------------------------------------------------------------ Variables */
:root {
  --heading: "Flareserif821 roman", Helvetica, serif;
  --heading-bold: "Flareserif821 bold";
  --labeur: Helvetica, sans-serif;


  --text-color: rgb(51, 0, 0);
  --background-color: rgb(247, 247, 246);

  --heading-size: 28pt;
  --heading-line-height: 28pt;
  --heading-weight: normal;

  --labeur-size: 1em;
  --labeur-line-height: 1.5;
  --labeur-weight: 600;
  --labeur-bold-weight: 700;

  --caption: var(--labeur), sans-serif;
  --caption-size: 9pt;
  --caption-line-height: 12pt;
  --caption-weight: 300;
  --caption-bold-weight: normal;

  --baseline: 1ch;
  --gutter: 3mm;

  /* typographie */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  /* --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo,
    Courier, monospace; */
  --font-family-serif: "PT Serif";

  --text-xs: 0.75rem; /* 0.75rem (12px) */
  --text-sm: 0.875rem; /* 0.875rem (14px) */
  --text-md: 1rem; /* 1rem (16px) */
  --text-lg: 1.125rem; /* 1.125rem (18px) par default*/
  --text-xl: 1.25rem; /* 1.25rem (20px) */
  --text-2xl: 1.5rem; /* 1.5rem (24px) */
  --text-3xl: 1.75rem; /* 1.875rem (30px) */
  --text-4xl: 2.5rem; /* 2.25rem (36px) */
  --text-5xl: 3rem; /* 3rem (48px) */
  --text-6xl: 4rem; /* 3.75rem (60px) */

  --leading-normal: 1.5;
  --text-base: var(--text-md);
  --font-size-tiny: var(--text-xs);
  --font-size-small: var(--text-sm);
  --font-size-medium: var(--text-base);
  --font-size-large: var(--text-xl);
  --font-size-huge: var(--text-2xl);
  --font-size-monster: var(--text-3xl);


  --bigsize: clamp(2.5rem, calc(1.83rem + 3.33vw), 6rem);
  --basesize: 1.15rem;
  --color: rgb(51, 0, 0);
  /* espacements  */
  --spacer: 2rem;
  /* largeur des notes de cÃ´tÃ© */
  --sn-width: 15rem;
  /* couleur dâ€™accentuation */
  --accentcolor: black;
  /* largeur max. des textes */
  --maxwidth: 30rem;

  

}

/* Hard reset
-------------------------------------------------- */
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary,
img,
picture {
  display: block;
}

/* images
-------------------------------------------------- */
picture,
img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.img {
  position: relative;
  padding-bottom: calc(var(--h) / var(--w) * 100%);
  overflow: hidden;
}

.img img,
.img picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  cursor: url("../cursors/curseur-ancre.png") 5 10, auto;

}

figcaption {
  font-family: var(--caption);
  font-size: var(--caption-size);
  line-height: var(--caption-line-height);
  font-weight: var(--caption-weight);
  padding-top: calc(1 * 2mm);
}

figcaption strong em,
figcaption em strong {
  font-weight: var(--caption-bold-weight);
}

/* Links
-------------------------------------------------- */
a {
  color: currentColor;
  text-decoration: none;
  transition: color 0.3s, background 0.3s, border 0.3s;
}
a:hover {
  color: black;
}

/* Site
-------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;  
  

}

body {
  margin: 0 auto;
  font-family: var(--labeur);
  font-size: var(--labeur-size);
  line-height: var(--labeur-line-height);
  background: var(--background-color);
  color: var(--text-color);
  overflow-x: hidden;

}






/* Page
-------------------------------------------------- */
.page {
  display: flex;
  flex-direction: column;
}

/* Header
-------------------------------------------------- */
.header {
  padding: 1.5rem;
  padding-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  justify-content: space-between;
  position: sticky;
  width: 100%;

  border-bottom: 4px solid var(--project-color);
}

.header a {
  color: var(--text-color);
  font-family: var(--heading);
  /* font-size: var(--font-size-huge); */
}



.accueil {
  max-width: 50vw;
  font-weight: 700;
  display: block;
  margin-bottom: 1.5em;

}

.logo {
  width: 20vw;
  fill: var(--project-color);
}  


/* POPUP -------------- */

.popup-button {
    margin-bottom: 60px;
}
 
 
.modal {
    visibility: visible;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90vw;
    /* max-width: 60vw; */
    min-width: 20vw;
    height: 90vh;
    z-index: 9999;
    background: var(--background-color);
    border: 2px solid black;
    pointer-events: auto;

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.modal-mentions{
    visibility: visible;
    position: fixed;
    top: 60%;
    left: 65%;
    width: 50vw;
    /* max-width: 60vw; */
    min-width: 20vw;
    height: 90vh;
    z-index: 9999;
    background: var(--background-color);
    border: 2px solid black;
    pointer-events: auto;

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);

    height: 30em;
    
}

.modal-mentions.hide {
    opacity: 0;
    pointer-events: none;
}
 
.modal.hide {
    opacity: 0;
    pointer-events: none;
}
 
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: visible;
    top: 0;
    left: 0;
    z-index: 9998;
    opacity: 1;
    pointer-events: auto;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
 
.overlay.hide {
    opacity: 0;
    pointer-events: none;
}
 
.popup-content {
    color: var(--color) ;
    position: relative;
    margin: 0 auto;
    padding: 2% 6%;
}
 
.popup-content h3 {
    margin: 0;
    text-align: left;
    font-size: var(--text-6xl);
    font-weight: 300;
    position: relative;
}

.popup-content h4 {

  margin: 0;
  margin-bottom: 1em;
  text-align: left;
  font-size: var(--text-2xl);
  font-weight: 300;
  position: relative;

}
 
 
.popup-content .para {
    color: #73556b;
    margin-bottom: 30px;
    text-align: justify;
}
 
.popup-content .popup-text {
    padding: 0px;
    margin: 0;
    font-size: calc(var(--font-size-small)*1.1);

    display: flex;
    gap: 10%;
}


.popup-content .popup-text-mentions {

    height: 20em;

    display: grid;
    align-items: start;
    font-size: var(--font-size-small);
    gap: 20px 20px;
    /* gap: 10%; */
    overflow-y: scroll;

}

.popup-content .popup-text-mentions h5{

    margin-bottom: -1em;
    font-family: var(--heading-bold);

}
 
.popup-content .popup-text p {
  flex: 1;

}

.popup-content .popup-text .credits {   
  font-size: calc(var(--font-size-small)*0.8);
  color: var(--color);
  opacity: 0.6;
}

 
.popup-content button {
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
}

              /*POPUP ORNEMENTS*/

.ornements {
  position: fixed;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  pointer-events: none;

  z-index: -10;
}

.popup-content img {
  position: fixed;
}

.dauphin {
    top: 5px;
    right: 0;
    width: 30vw;

}

.ancre {
  bottom: 0;
  right: 0;
  width: 8%;
}

.crabe {
    top: 0;
    left: 50%;
    width: 60%;
}

.papillon {

    position: absolute !important;
    bottom: 10px;
    justify-self: center;
    width: 30vw;
}

.ornement-angle1 {
    top: 0;
    left: 52%;
    width: 15%;
}

.ornement-angle2 {
    top: 5px;
    left: 5px;
   max-width: 25%;
}

 

              /*-------*/

              /*POPUP - LOGOS*/


.popup-logos {
    position: fixed;
    display: flex;
    align-items: center;
    bottom: 1em;
    left: 1em;

    gap: 1em;

}

.popup-logos img {
  position: relative !important;
  width: 150px;
}

.compositelogo {
  position: relative !important;
  display: inline;
  max-width: 80px
}




              /*--------*/


.close {
    background: url(../images/croix.svg) no-repeat;
    height: 20px;
    width: 20px;
    position: absolute;
    right: 4vw;
    top: 4vh;
    z-index: 9999;
    cursor: pointer;
    opacity: 1;
    -webkit-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}
 
.close:hover {
    opacity: 0.2;
}
 
.submit {
   /* background: #e74c3c url(../img/heart.png) no-repeat 90% center;*/
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    opacity: 1;
    cursor: pointer;
    -webkit-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}
 
.submit:hover {
    opacity: 0.5;
}

/* Navigation
-------------------------------------------------- */


.diplomes-nav {
  max-width: 100vw;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
}

nav span {
  display: inline;
  margin-bottom: 0.25em;
  margin-right: 0.25em;

}

nav span::after {
  content: " |";
}

nav span:hover {
  font-weight: bold;
}

nav span:hover:before {
  

}

.submenu {
  margin-left: 0.5em;
}

nav .active{
    font-weight: bold;
    color: var(--project-color);

}

nav .active:before {
  display: inline-block;
  width: 1.5em;
  height: 1em;
  background-image: url("../illustrations/dauphin-picto.svg");
  background-size: contain;
  background-repeat: no-repeat;
  content: "";
  vertical-align: middle;
  margin-right: 0.25em;
}

.projects-nav {
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.about-nav{
      margin-top: 1.5em;
}


/* Headings
-------------------------------------------------- */
.h1 {
  font-family: var(--heading);
  font-size: 1.6em;
  font-weight: 700;
  margin-top: 1em;
  margin-bottom: 1.5em;

    display: flex;
    align-items: baseline;
    justify-content: normal;
    gap: 1em;
}

.h2 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 1.5em;
}
.h3 {
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 1.5em;
}
.h4 {
  font-size: 1em;
  font-weight: 400;
  margin-bottom: 0.5em;
}
.h1 a,
.h2 a,
.h3 a,
.h4 a {
  color: inherit;
  border: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* Lists
-------------------------------------------------- */

ul {
  list-style-position: inside;
}

/* Main
-------------------------------------------------- */
main {
  padding: 1rem;
  padding-top: 0;
  padding-bottom: 5em;
  flex: 1;

  position: relative;
  /* max-width: 1200px; */
}

.main > :first-child {
  margin-top: 0;
}
.main hr {
  margin: 3em 0;
  height: 1px;
  /* width: 3em; */
  background: #000;
}
.main p,
.main figure,
.main picture,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}



.main a {
  color: black;
  border-bottom: 1px solid #aaa;
}
.main a:hover {
  border-color: #222;

}


/* Text blocks */
.text p,
.text ul,
.text ol {
  /* max-width: 45em; */
  max-width: 65ch;
  margin-bottom: 1.5em;
}


.text p:last-child,
.text ul:last-child,
.text ol:last-child {
  margin-bottom: 0;
}



.text ul {
  list-style: none;
}
.text ul li:before {
  content: "– ";
}

.text ol {
  margin-left: 1em;
}

.footnotes {
    font-size: var(--font-size-tiny);
}

/* Main gallery
-------------------------------------------------- */
.project-gallery {
  max-width: 900px;
  height: 100vh;
  overflow-y: scroll;
  padding: 0.5em;
  background-color: var(--project-color);

  scrollbar-color: white var(--project-color);
  scrollbar-width: thin;
  border-top: 15px solid var(--project-color);
  border-bottom: 15px solid var(--project-color);
}

.project-gallery figure {
  margin: 1em 0 2em;

}

.project-gallery figure picture {

cursor: url("../cursors/curseur-ancre.png") 5 10, auto;
}

figure.img:hover {
  transform: scale(1.02);
  transition: all 0.3s ease;
}


.projet-excerpt-title:hover {
  font-family: var(--heading-bold);
  color: var(--color);
}

.projet-excerpt-title:hover:before {
  display: inline-block;
  background-image: url("../images/arrow-pointer.svg");
  /* background-size: contain; */
  background-repeat: no-repeat; 
  content: "";
  height: 1em;
  width: 2.5em;
  vertical-align: -5px;
  margin-right: 0.25em;
 
}

/* Projets tags
-------------------------------------------------- */
.projet-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

 
  gap: 0.07rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  text-decoration: none !important;
}


.projet-tags li {
  list-style: none;
  
  
  /* margin-right: 0.5rem; */
}

.all-tags {
  display : flex;
  align-items: center;
  position: sticky;
  top: 10px;
  z-index: 999;

  mix-blend-mode: multiply;
}


.tag-filter {

  border: solid 1px white;
  font-family: var(--labeur);
  font-size: medium;
  padding: 8px;
  color: white;
  background: var(--color);

  transition: all 0.1s ease;
  cursor: cell;
}

.tag-filter:hover{

  background: rgb(43, 119, 250);
  box-shadow: 0px 0px 10px 2px aquamarine;
  color: white;

}

.tag-filter.active{
  background: rgb(14, 161, 87);
  box-shadow: 0px 0px 10px 2px aquamarine;
  color: white;

}

.blog-article-tags a {
  padding: 0.5rem 1rem;
  display: block;
  background: var(--color-light);
  border-radius: var(--rounded);
}

.projet-excerpt figure {
  margin-bottom: 0.5rem;
}

.projet-excerpt picture {
  margin-bottom: 0.5rem;
}

header .h1 {
  font-size: clamp(1.25rem, 4vw, 2rem); /* Responsive de 1.25rem à 2rem */
  margin-bottom: clamp(1.5rem, 5vw, 3rem); /* Margin responsive */
  line-height: 1.25em;
  font-weight: inherit;

}

header small {
  font-size: 0.75em;
  color: var(--project-color);
  opacity: 0.8;
}

.chapo {
  font-family: var(--labeur);
  font-size: var(--labeur-size);
  line-height: var(--labeur-line-height);
  margin-bottom: 1.5em;
  max-width: 75ch;
  font-weight: 600;
}

.grid {
  --columns: 12;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.grid > .column {
  margin-bottom: var(--gutter);
  /* Mobile-first: pas de grid-column défini = occupe toute la largeur automatiquement */
}

.block,
.block figure,
.grid .block,
.grid figure {
  max-width: 900px;
  margin-top: 1em;
  margin-bottom: var(--gutter);
}

/* Pas de margin-top pour le premier élément */
.block > *:first-child,
.block figure:first-child,
.grid .block:first-child {
  margin-top: 0;
}


/* Desktop uniquement */
@media screen and (min-width: 60rem) {
  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns) !important;
  }
}

li {
  list-style: none;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.meta li {
  /* float: left; */
  list-style: none;
  /* margin-right: 2em; */
}
.meta li b {
  font-weight: 400;
  color: var(--text-color);
  padding-right: 0.25em;
}

/* Home
-------------------------------------------------- */
.a_la_une img {
  display: block;
  margin: 1em 0 0.5em;
}

/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev + .nextprev .next {
  margin-left: 1em;
}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 1rem 1.5rem 3rem; /* Symétrique + bottom padding réduit */
  font-size: 0.75em;
}

.footer a {
  color: black;
  border-bottom: 1px solid #aaa;
}
.footer a:hover {
  border-color: #222;
}

@media screen and (min-width: 48.25em) {
  .footer {
    padding: 1rem 1.5rem 6rem 4rem; /* Asymétrique sur desktop */
  }
}

/* Media queries
-------------------------------------------------- */
@media screen and (min-width: 48.25em) {
  .page {
    flex-direction: column;
  }
  a.menu-link {
    display: none;
  }

  .header {
    width: 100%;
    height: fit-content;
    position: relative;
    top: 0;
  }

  main {
    width: 100%;
  }

}

/* page a propos
-------------------------------------------------- */
.about {
  max-width: 45em;
}

.about .grid p {
  margin-bottom: 0;
}
/* margin-bottom: 1.5em; */

/* Gallery block
-------------------------------------------------- */
.gallery ul {
  display: grid;
  grid-template-columns: repeat(var(--columns, 1), 1fr);
  gap: var(--gutter);
  list-style: none;
  padding: 0;
  margin: 0;
}

/* RESPONSIVE - MOBILE */

@media (max-width: 600px) {
  .gallery ul {
    grid-template-columns: 1fr;
  }

  main {
    position: relative;
    top: 0;
  }

  .header {
    display: grid;   
    grid-template-columns: auto;
  }

  .diplomes-nav {
    max-width: 100vw
  }

  .accueil {
    max-width: 100vw;

  }

  .logo {
    min-width: 70vw;
    margin-bottom: 40px;
    justify-self: center;
  }

.all-tags {
   position: relative;
  
}


.popup-content {
    color: var(--color) ;
    position: relative;
    margin: 0 auto;
    padding: 2% 6%;
}
 
.popup-content h3 {

    text-align: center;
    font-size: calc(var(--text-6xl)/2);
    font-weight: 300;
   
}

.popup-content h4 {

  margin: 0;
  margin-bottom: 1em;
  text-align: left;
  font-size: calc(var(--text-2xl)/1.9);
  font-weight: 300;
  position: relative;

}
 
 
.popup-content .popup-text {
    padding: 0px;
    margin: 0;
    font-size: calc(var(--font-size-small)/1.3);
    overflow-y: scroll;

    display: grid;
    grid-template-rows: 1fr 2fr;
    gap: 5%;
}

.popup-content .ancre {
  width: 12%;
}

.popup-content .popup-text .credits {   
  font-size: calc(var(--font-size-small)*0.6);
  max-height : 45%;
   overflow-y: scroll;
  
}

.popup-content .popup-text-mentions {  
  font-size: calc(var(--font-size-small)*0.6);
  height: 45em;
}

.popup-logos img {
  width: 80px;
}

.compositelogo {
  max-width: 40px;
}

img.info-item {
  max-width: 20vw !important;
}

.popup-trigger {
  max-width: 100px;
}


.left {
  scrollbar-color: white var(--project-color) ;
}

.h1 {
  justify-content: space-evenly;
  gap: 0em;
}

.modal-mentions {
  width: 60vw;
  top: 60%;
  left: 65%;
}


.popup-trigger {
  width: 100px !important;
  font-size: calc(var(--text-xs)*0.8) !important;
  gap: 10% !important;
}

img#bouton-flèche, img#bouton-coquillage {
    width: 7vw !important;

}


.close {
  top: 1.5vh;
}




}










.gallery li {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  display: block;
}



/* Vertical alignment for blocks in columns
-------------------------------------------------- */
.column {
  display: flex;
  flex-direction: column;
}

[data-template="project"] .column {
    height: 100vh;
}

.column .blocks {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.column .blocks figure {
 margin-bottom: 0;
}

/* Vertical alignment using auto margins */
.self-start {
  margin-bottom: auto;
  max-height: fit-content !important;
  
}

.self-center {
  margin-top: auto;
  margin-bottom: auto;
}

.self-end {
  margin-top: auto;
}

/* Text alignment */
.left {
  text-align: left;
  height: 100vh;
  overflow-y: scroll;
  padding: 0em 0.6em;

  scrollbar-color: white var(--project-color);
  scrollbar-width: thin;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}



/* FICHE CONTACT */ 

.self-center.hidden {
  display: none;
}


.info-toggle-wrapper {
  display: flex;
  gap: 1em;
  align-items: end;
  margin: 1em 0;
}

.more-info-btn {
  padding: 10px 20px;
  background: var(--project-color);
  color: white;
  border: none;
  cursor: pointer;
  font-family: var(--heading);
  font-size: var(--text-md);
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.more-info-btn:hover {
  opacity: 0.8;
}

.more-info-btn.hidden {
  display: none;
}

.text.block.block-type-markdown.self-center {
    margin: 0 1em;
}

.text.block.block-type-markdown.self-center p{
    margin-bottom: 0;
}

/* CREDITS photos/texte */

.text.block.block-type-markdown.self-start p {
    padding-top: 1em;
    font-size: smaller;
    border-top: 2px solid;
}


/*------------- BARRE INFOS */

.info-bar {
  position: fixed;
  bottom: -1px;
  left: 0;
  width: 100%;
  background-color: var(--project-color);
  color: #fff;
  padding: 0.5em 1em;  
  z-index: 1000;
}

.info-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100vw;
  margin: 0 auto;
}

.info-item {
  font-size: 12px;
}

img.info-item {
  max-width: 10vw;
}

img#bouton-coquillage {
    width: 2vw;

}

img#bouton-flèche {
    width: 2vw;

}

              /* ----bouton popup */

.popup-trigger {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  font-family: var(--heading);
  font-size: var(--text-md);
  transition: all 0.3s ease;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    gap: 5%;
}

.popup-trigger:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}