@font-face {
    font-family: 'ABKStuttgart';
    font-weight: normal;
    src: url('../fnt/ABKStuttgartWeb-Regular.woff2') format('woff2');
    ;
}
@font-face {
  font-family: 'ABKStuttgart';
  font-weight: bold;
  src:url('../fnt/ABKStuttgartWeb-Bold.woff2') format('woff2');
}

body {
background: #ffffff;
  min-height: 100vh;     /* s’adapte au contenu */
  display: flex;
  flex-direction: column;
  cursor: none;
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom:0px;
  margin:0;
}

.return {
position:fixed;
left: 30px;
top: 20px;
width: 30px;   
z-index: 995; 
}

/* ======================== CURSOR ======================== */
@media (pointer: fine) {
  body.custom-cursor-enabled * {
    cursor: none !important; /* masque le curseur système */
  }

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px; /* adapte à la taille de ton PNG */
    height: 32px;
    background-image: url("../img/custom_cursor/cursor.svg");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
  }

  .cursor-visible {
    opacity: 1;
  }

  .cursor-pointer {
    background-image: url("../img/custom_cursor/pointer.svg");
  }

    .cursor-active {
    background-image: url("../img/custom_cursor/pointer-click.svg");
    transform: scale(0.9);
  }
}



/*FOOTER*/

footer{
  padding:5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.seed {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.1s ease;
}

.seed-wrapper {
    position: relative;
    width: 100%;
    z-index: 2;
}

.seed-wrapper .seed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

/* Style pour chaque graine */
.seed-link {
  position: relative;
  width: 100%;            /* Les graines prennent toute la largeur d'une colonne */
  height: auto;
  display: block;
}


/* Image principale : participe au layout */
.seed.normal {
  position: static;       /* IMPORTANT */
  width: 100%;
  height: auto;
  display: block;
}

/* Image hover : superposée */
.seed.hover {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0;
  pointer-events: none;
}

/* Conteneur de graines avec display: grid */
.seed-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* Deux colonnes égales */
  row-gap:-50px;
  column-gap: 100px;                  /* Espacement de 15px entre les graines */
  padding: 50px;
  z-index: 20;
  justify-content: center;                      /* Éviter que les graines soient collées en haut */
  margin-bottom: 0px;
  margin-left: 150px;
  margin-right: 150px ; 
  /* Ajouter un peu de marge en bas pour le défilement */
  border-bottom:dotted 3px red
}


@keyframes jiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* L’animation uniquement pour les graines .normal */
.seed.normal {
  animation: jiggle 0.5s ease-in-out infinite;
  animation-play-state: paused;
}

/* Effet hover pour afficher la deuxième image */
.seed.hover {
  transition: opacity 0.5s ease;
  opacity: 0;
  
}

/* Affiche l'image avec la classe .hover au survol */
.seed-link:hover .hover {
  opacity: 1;
  animation: opacity 0.5s ease;
}

.seed-link:hover .normal {
  opacity: 0;
}

/* Style du titre en haut de la page */
.title {
  width: 650px;
  position: absolute;         /* Garde le titre fixe en haut de la page */
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 10px;
}

.section-title {
  position: relative;  
  width: 500px;
  left: 10%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 10px;
  padding-top: 70px;
  padding-bottom:30px;
  transform: rotate(-11deg);

}

/* Style pour les paragraphes fixes */
.intro-text {
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: 0px;
  margin-top: 60px;
  color: red;
  font-family: 'ABKStuttgart';
  font-size: 17px;
  z-index:3
}

.can {
  position: absolute;
  top: -450px;     /* place à ajuster */
  left: -400px;
  width: 1400px;
  z-index: 1;
}

.language-toggle{
position:fixed;
  top:10px;
  right:20px;
  z-index: 99;
}

.language-toggle button {
  background-color: rgb(255, 255, 255);   /* Fond transparent */
  border: 0px solid #00000000;           /* Bordure noire */
  color: #ff0000;                      /* Texte en noir */
  font-size: 20px; 
  padding: 0%;
  font-family: 'ABKStuttgart', sans-serif;                 /* Taille de police */                 /* Espacement interne */
  cursor: pointer;                  /* Le curseur devient une main lorsqu'on survole */      /* Transition fluide */
}

/*///////MENU MARKEE/////////*/


.ongoing-container {
  position: relative;
  margin-top: 10px;
  margin-left: 510px;
  margin-right: 0px;
  display: flex;
  justify-content: center;
  border-top: #ff0000 dotted 3px;
  border-bottom: #ff0000 dotted 3px;
  z-index: 20;
  overflow: visible;
}

.ongoing-menu {
  position: absolute;
  top: 100%;
  left:1%;
  width: 70%;
  background: #fff;
  border-top: #ff0000 dotted 3px;
  border-left: #fff;
  border-right: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    font-size: 17px;
    color: #ff0000;
    font-family: 'ABKStuttgart';
    text-transform: capitalize;
}

a{
  text-decoration:none;
}

.ongoing-container:hover .ongoing-menu {
  max-height: 250px;
  margin:10px;
  border-bottom: #ff0000 dotted 3px;
}

.ongoing-menu:hover {
  background: #ff0000;
  color: #fff;
  border-top: #ffffff dotted 3px;
  border-bottom: #ffffff dotted 3px;
}

.ongoing-menu p {
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-family: 'ABKStuttgart';
  color: red;
  transition: color 0.3s ease;
}

.ongoing-menu:hover p {
  color: #fff;
}


@font-face {
    font-family: 'ABKStuttgart';
    src: url('fnt/ABKStuttgartWeb-Regular.woff2') format('woff2');
    font-family: 'Bookmania';
    src: url('fnt/bookmania-light.woff') format('woff');
}

.map_image{
    width:50%;
    align-content: center;
}

.map{
    display: flex;
    justify-content: center; /* centre horizontalement */
}

.blank{
  stroke:red;
  fill:rgb(255, 255, 255);
  stroke-width: 1px;
  cursor: none;
}

.garten{
  stroke: red;
  fill:white;
  transition:fill 0.7s ease-in-out;
  stroke-width: 1px;
  stroke-dasharray:5,5;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.map .garten:hover{
  stroke:rgb(255, 0, 0);
  fill:rgb(255, 0, 0);
}

.bau{
  stroke:red;
  fill:rgb(255, 255, 255);
  transition:fill 0.6s ease-in-out;
  stroke-width: 1px;
  stroke-linejoin:round;
  cursor: auto;
}

.construction{
  stroke: red;
  fill:white;
  transition:fill 0.7s ease-in-out;
  stroke-width: 1px;
  stroke-dasharray:5,5;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.it{
  font-family: "Bookmania";
  
}

.map .construction:hover{
  stroke:rgb(255, 0, 0);
  fill:rgb(255, 0, 0);
}

.map .bau:hover{
  stroke:rgb(255, 0, 0);
  fill:rgb(255, 0, 0);
}

#tooltip {
  font-family: 'ABKStuttgart', sans-serif;
  font-weight: normal;
  font-style: normal;
  position: fixed;
  pointer-events: none;
  background: rgb(255, 255, 255);
  color: rgb(255, 0, 0);
  border:solid red 1px;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 1px;
  transform: translate(0%, -120%);
  transition: opacity 0.7s ease-in-out;
  white-space: nowrap;
  z-index: 9999;
}

.rose{
  fill:rgb(255, 255, 255)
}

#outsiders .rose {
  fill:red;
}

#outsiders .rose:hover {
  fill:red;
  r: 3;
  rx: 3;
  ry:4;
  transition: r 1s, rx 1s, ry 1s;
}

#svg-viewer .rose{
fill:rgb(255, 0, 0);
transition: r 1s, rx 1s, ry 1s;
}




/*VIEWER*/

.hidden {
  display: none !important;
}

#svg-viewer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9998;
}

#svg-viewer.active {
  display: block;
}

#garten-title {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10000;
  font-family: 'ABKStuttgart';
  font-size: 25px;
  color: red;
  background: white;
  padding: 0.4rem 0.7rem;
  border: 2px solid red;
}

#svg-viewer.active #garten-title {
  opacity: 1;
}

/* fond flou */
.svg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(10px);
    z-index: 1;
}

/* conteneur centré */
.svg-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centre */
  width: 70%;   /* ajuster selon ce que tu veux */
  max-width: 1000px; /* ou autre valeur */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 2;
}

/* SVG zoomé */
.svg-container svg {
  width: 150vw;
  pointer-events: auto;
  background: transparent;
}


/* hover roses (exemple) */

#svg-viewer .rose:hover {
  fill: red;
  r: 3;
  rx: 3;
  ry:4;
  transition: r 1s, rx 1s, ry 1s;
  pointer-events: all;
}



/* SMALL */

@media (max-width: 600px) {

.ongoing-menu {
  width: 100%;
  left:0%;
}

header{
  padding-bottom: 40px;
}

.intro-text {
position:relative;
width: 90vw;
top:15px;
background-color: #ffffff;
margin-right: auto;
font-size: 14px;
line-height: 18px;

}

.language-toggle {
  position: fixed;
  inset: 10px 10px auto auto;
  max-width: 100vw;
}

.language-toggle button {
  font-size: 15px; 
}

.title {
  width: 230px;  
  left:50%;
  top: 1px; /* Garde le titre fixe en haut de la page */
  z-index: 1000;
  padding: 10px;
}

.section-title {
  position: relative;  
  width: 200px;
  left: 5%;
  padding: 10px;
  padding-top: 20px;
  padding-bottom:20px;

}

.ongoing-container{
  position: relative;
  margin: 1px;
  justify-content:center;
}

.ongoing-container p{
font-size: 14px;
  text-align: center;
}
.can {
  width: 100vw;
  left: 30%;
  transform: translateX(-50%);
  top: -100px;
}

.seed-link {           /* Les graines prennent toute la largeur d'une colonne */
  height: auto;
  display: block;
}

.seed-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);  /* Deux colonnes égales */
  row-gap: 50px;                             /* Espacement de 15px entre les graines */
  padding: 20px;
  z-index: 20;
  margin-top: 20px;                       /* Éviter que les graines soient collées en haut */
  margin-bottom: 10px;
  margin-left: 10px;  
  margin-right: 10px;
}

.map_image{
    width:95%;
    padding:20px
}

.return {
position:fixed;
left: 30px;
top: 20px;
width: 20px;   
z-index: 995; 
}

.svg-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* centre */
  width:100vw;
  height: auto;   /* ajuster selon ce que tu veux */
  max-width: 1000px; /* ou autre valeur */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 2;
}

.svg-container svg {
  width: 100%;
  height: 100%;
  pointer-events: auto;
  background: transparent;
}
}

@media (min-width: 900px) and (max-width: 1500px) {

.map__image{
  padding:80px;
  width:80%;
}

.ongoing-container {
  position: relative;
  margin-top: 10px;
  margin-left: 440px;
  margin-right: 0px;
  display: flex;
  justify-content: center;
  border-top: #ff0000 dotted 3px;
  border-bottom: #ff0000 dotted 3px;
  z-index: 20;
  overflow: visible;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    font-size: 17px;
    color: #ff0000;
    font-family: 'ABKStuttgart';
    text-transform: capitalize;
}

.can {
  position: absolute;
  top: -450px;     /* place à ajuster */
  left: -400px;
  width: 1300px;
  z-index: 1;
}

  .seed-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* Deux colonnes égales */
  column-gap: 30px;  /* Espace de 10px entre les colonnes */
  row-gap: 30px;                             /* Espacement de 15px entre les graines */
  padding: 20px;
  z-index: 20;
  margin-top: 150px;                       /* Éviter que les graines soient collées en haut */

}



.title {
  width: 400px;
  position: absolute;         /* Garde le titre fixe en haut de la page */
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 10px;
}






}
