:root {
    --noir: #000000;
    --blanc: #FFFFFF;
    --gris: #2A2A2A;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--blanc);
    color: var(--noir);
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
    font-family: 'Odibee Sans', sans-serif !important;
}
/* Appliquer Odibee Sans aux titres H1 */
h1 {
    font-family: 'Odibee Sans', sans-serif;
    font-size: 5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-width: 100%;
}
a.white {
    color: white;
    font-family: 'Odibee Sans', sans-serif;
}

.blanc {
    color: var(--blanc);
}
.font {
    font-family: 'Odibee Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.font2 {
    font-family: 'Odibee Sans', sans-serif;
    letter-spacing: 0.1em;
}
.hero {
    height: 100vh;
    background: var(--noir);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}

.white {
    color: white;
}

.logomini {
    margin-right: 15px;
}   
img.topimage {
    max-width: 90%;
}
.navbar {
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    text-align: center;
}


h4.text-white.homepage {
    font-size: 21px;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--noir);
    margin: 1rem auto;
}

h5.font2.text-muted {
    font-size: 16px;
}



.competence-card {
    border: 0px solid var(--gris);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.competence-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.icon-fa {
    font-size: 3rem;
    color: var(--noir);
    margin-bottom: 1rem;
}

.timeline h4 i {
    color: var(--gris);
}

footer {
    background-color: var(--noir);
    color: var(--blanc);
}

section {
scroll-margin-top: 70px; /* Ajustez cette valeur selon la hauteur de votre navbar */
}
@media (max-width: 768px) {
section {
scroll-margin-top: 120px; /* Plus grand décalage pour mobile */
}
}

.map-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}

.bw-map {
width: 100%;
height: 100%;
filter: grayscale(100%) contrast(120%);
border: 0;
opacity: 0.4;
}

.map-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
}

footer .container {
z-index: 1;
position: relative;
background: rgba(0, 0, 0, 0.0);
padding: 2rem;
border-radius: 5px;
}

footer p {
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
.map-container {
height: 400px;
}

h1 {
    font-family: 'Odibee Sans', sans-serif;
    font-size: 3rem;

}

h4.text-white.homepage {
    font-size: 18px;
}

h4.text-white {
    font-size: 16px;
}

footer .container {
background: rgba(0, 0, 0, 0.0);
}
}
.container.text-center.position-relative {
background: transparent;
}