body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}


@media screen and (max-width: 900px) {
    .title {
        font-size: 2.0em;
        text-shadow: 0.1em 0.1em 0.2em black;
        line-height: 1.0;
        font-weight: lighter;
    }

}

header {
    grid-column: 1 ;
    grid-row: 1;
    background-color: #3498db20;
    position: absolute;
    z-index: 100;
    font-size: 0.5em;
    text-shadow: 0.1em 0.1em 0.2em black;
    line-height: 1.2;
    font-weight: lighter;
    padding: 20px 10px 20px 10px;
    border-radius: 15px;
}

.page-content {
    display: grid;
    position: absolute;
    top: 0vh;
    max-width: 30%;
    grid-template-rows: repeat(1, 1fr);
    grid-template-columns: repeat(1, 1fr);
    left: 5%;
}

.card {
    width: 15vh;
    height: 15vh;
    min-width: 150px;
    min-height: 150px;
}
.page-content header{
    font-size: 1.2em;
}
.page-content>header {
    position: relative;
}

a:nth-child(2) .card:before {
   
    background-image: url(./img/france.jpg);
    
}

a:nth-child(3) .card:before {
    background-image: url(./img/Bardenas_0010.jpg);
   
}

a:nth-child(4) .card:before{
    background-image: url(./img/carnets2voyages.jpg);
}

a:nth-child(4) .title {
    color: black;
}

/* style carte leaflet */

#map {
    width: 100%;
    height: 100%;
     z-index: 10;
}
/* Style personnalisé pour les popups */
.custom-popup .leaflet-popup-content-wrapper {
    background-color: #333333;
    /* Fond sombre */
    color: #f0f0f0;
    /* Texte clair */
    border-radius: 8px;
    /* Coins arrondis */
    border: 2px solid #ffcc00;
    /* Bordure dorée */
}

.custom-popup .leaflet-popup-tip {
    background-color: #ffffff00;
    /* Couleur de la pointe du popup */
    display: none;
}

.custom-popup a {
    color: #ffcc00;
    /* Lien couleur dorée */
    text-decoration: underline;
}

.custom-popup a:hover {
    color: #ff9900;
    /* Couleur de lien au survol */
}