/*
CSS parte pribatuarendako
*/
.precsuiv{
	display:block;
	width:100%;
	text-align:center;
}
.precsuiv img{
	border-radius: 50%;
}

/*
CSS - parte publikoa
*/

:root {
  --color-text: #2C3E50;
  --color-link: #5D6D7E;
  --color-link-hover: #2980B9;
  --color-link-active: #1ABC9C;
  --color-link-visited: #7D8C96;
  --berdea : #3E5C3A;
  --urrea : #D4AF37;
  --xuria : #FFF;
  --ilun : #001D18;
  --swiper-navigation-color: #5D6D7E;
  --swiper-pagination-color: #5D6D7E;
  --swiper-navigation-size: 44px;
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 2em;
  --swiper-pagination-bottom:2em;
}

.body {
	color: var(--color-text);
	height: 100%;
	margin: 0;
	padding: 0;
	/*overflow: hidden; */
	
	padding-top: 80px;
	background-color: #f0f0f0;
}

a {
	color: var(--color-link);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--color-link-hover);
	background:none;
}

a:active {
	color: var(--color-link-active);
}

a:visited {
	color: var(--color-link-visited);
}


header {
  position: fixed; /* Rend l'élément fixe par rapport à la fenêtre du navigateur */
  top: 0;          /* Le positionne en haut de la fenêtre */
  left: 0;         /* Le positionne à gauche de la fenêtre (pour qu'il prenne toute la largeur) */
  width: 100%;       /* Assure qu'il occupe toute la largeur */
  height:80px;
  overflow:hidden;
  
  background-color: #f0f0f0;
  padding: 10px 0;
  z-index: 5; 
}

footer {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
   height:80px;
  overflow:hidden;
  
  background-color: #f0f0f0;
  padding: 1em 0;
  text-align: center;
  z-index: 5;
}

.firstline, .swiper {
  position: relative; /* Important pour que les enfants positionnés en absolute se basent sur lui */
  width: 100vw;
  height: calc(100vh - 160px);
  overflow: hidden; /* Empêche le contenu de dépasser si l'image a des proportions différentes */
  text-align:center;
}
.secondline, .thirdline {
	min-height: calc(100vh - 160px);
	overflow: scroll;
}
.galeria {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.borobil {
	background:var(--xuria);
	width: 250px; /* Largeur maximale du cercle */
	height: 250px; /* Hauteur maximale du cercle (pour le rendre rond) */
	border-radius: 50%; /* Transforme l'élément en cercle */
	overflow: hidden; /* Empêche le contenu de dépasser du cercle */
	display: flex; /* Pour centrer facilement le contenu à l'intérieur */
	justify-content: center; /* Centre horizontalement */
	align-items: center; /* Centre verticalement */
	margin: 10px; /* Ajoute un peu d'espace autour des cercles */
	box-shadow: #ccc 5px 5px 10px 3px;
	transition: box-shadow 0.3s ease;
}
.borobil:hover {
	box-shadow: #eee 5px 5px 15px 5px;
	transition: box-shadow 0.3s ease
}

.borobil img {
      max-width: fit-content;
}

.borobil h3 {
	width: 100%;
	height: 100%;
	margin: 0;
	display: flex;
	justify-content: center; /* Centre horizontalement */
	align-items: center;     /* Centre verticalement */
	text-align: center;
	padding: 10px;
	box-sizing: border-box; /* Pour que le padding n’ajoute pas à la taille */
	color: var(--xuria);
}
.borobilDenak h3 a {color: var(--urrea);}

.divTxoriNagusi {
/*	position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 2em);*/
    height: calc(100% - 2em);
    margin: 0;
    padding: 1em;
    margin: 1em;
    border: 1px dotted #ccc;
	background:#ffff;
	box-shadow: 0px 0px 5px 5px #ccc;
}

.divTxoriNagusi img { /* Cibler l'élément <img> généré par balise_img */
  object-fit: cover; /* L'image remplira le conteneur en conservant ses proportions (peut rogner) */
  object-position: center center;
  width: 100%;
  height: 100%;
}

h1, .h1 {
   font-family: 'RosaSansRegular';
   font-weight: bold;
   font-style: normal;
}
h2 {
   font-family: 'RosaSansRegular';
   font-weight: normal;
   font-style: normal;
}

.txoriNagusiInfo{
	display: block;
    position: fixed;
    bottom: 3em;
    right: 3em;
    background: rgba(255, 255, 255, 0.4);
    padding: 1em;
}
.txoriNagusiInfo h3, .txoriNagusiInfo p {
	padding:0;
	color:var(--ilun);}

.divopenseadragon {
	width: 100%;
    height: calc(100% - 2em);
    margin: 1em auto;
}
.hidden {
  display: none;
}
.taula100{
	width:100%;
	}
.taulaEzker, .taulaEskuin {width:25%;}
.taulaErdian {width:50%;}
.borobilDenak {background: var(--berdea);}

#toggle-buttons a {
	margin-right: 10px;
	text-decoration: none;
	color: inherit;
	padding: 5px 10px;
}
#toggle-buttons a.aktiboa {
	font-weight: bold;
	border-bottom: 2px solid currentColor;
}
.espezieInfo{
	text-align: left;
    margin: 2em;
    padding: 2em;
    background: var(--xuria);
}
.espezieInfo h3, .espezieInfo h4, .espezieInfo h5 {margin:0;}
.espezieInfo h3 {
	color:var(--berdea);
	font-weight:800;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.popupEduki {
	text-align:left;
	background: var(--xuria);
	padding: 2em;
	max-width: 90%;
	max-height: 90%;
	overflow-y: auto;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.popupClose {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 2rem;
	cursor: pointer;
	color: #666;
}
.popupEduki ul {
	list-style: none;
	padding: 0;
	margin: 1.5em 1.5em 0.5em 0.5em;
}
.popupEduki ul > li {
	margin-bottom: 15px;
	font-size: 1rem;
	line-height: 1.4;
}
.popupEduki ul ul {
	margin-top: 5px;
	margin-left: 20px;
}
.popupEduki ul ul li {
	margin-bottom: 5px;
}