* {
    position: relative;
}

body {
    font-family: 'Roboto', sans-serif;
    position: relative;
    width: 100%;
    margin-left: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

/*declaration des variaables*/
:root {
    --text-color: #e8dc86;
    --text-fond: yellow;
    --text-hover: #f8eb8f69;
    --button-hover: #7a6a01;
}

img {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

nav {
    border: none;
    display: flex;
    align-items: center;
    width: 100%;
    background: black;
    justify-content: space-around;
    transform: translateZ(0);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo {
    width: 170px;
    height: 150px;
}

.btm-logo {
    text-align: center;
    display: flex;
    height: 110px;
    width: auto;
}
/*personalisation du logo*/

.navLinks {
    display: flex;
    place-items: center;
    list-style: none;
    gap: 50px;
    color: white;
    font-size: 18px;
}

li {
    transition: all 0.5s ease;
    transform: translateY(0);
    list-style: none;
    cursor: pointer;
}

li:hover {
    transition: all 0.5s ease;
    transform: translateY(-4px);
    color: var(--text-color);
}

.li-primaire {
    color: var(--text-color);
}

.btm-nav-contact {
    font-size: 14px;
    padding: 7px;
    border-radius: 5px;
    border: none;
    background: var(--text-color);
    transition: all 0.5s ease;
    cursor: pointer;
}

.btm-nav-contact:hover {
    transition: all 0.5s ease;
    background: var(--button-hover);
    transform: scale(0.98);
}

.lien-contact {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.5s ease;
}

.lien-contact:hover {
    color: rgba(175, 175, 5, 0.959);
    transition: all 0.5s ease;
    margin: 0;
    transform: scale(1.04)translateY(-4px);
}

/*personalisation de la navbar sur petit ecran*/

.hamburger {
    display: none;
    cursor: pointer;
    transition: all 0.8s ease;
}

.hamburger:hover {
    transition: all 0.8s ease;
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px;
    background: var(--text-color);
}

/*hero page*/

.about-hero{
    height: 60vh;
    background: url("../images/annexe\ \(8\).jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    margin-top: 2%;
}

.about-hero-content{
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.about-hero-content h1{
    font-size: 40px;
}


/*presentation technicien*/

.about-intro{
    padding: 30px 3%;
}

.about-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 65%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    place-items: center;
    place-content: center;
}

.about-img {
    width: 110%;
    height: 110%;
    transition: all 0.8s ease;
}

.about-img:hover {
    transition: all 0.8s ease;
    transform: rotate(5deg)scale(1.05);
}

.about-text p{
    color: #555;
}


/*objectifs et valeur*/

.about-values{
    padding: 80px 10%;
    background: var(--text-color);
    text-align: center;
}

.values-container{
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.value-box{
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(70, 70, 70, 0.519);
    transition: all 0.8s ease;
}

.value-box:hover {
    transition: all 0.8s ease;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.624);
    transform: scale(1.02)translateY(-5px);
}

/*competences*/

.skills{
    padding: 80px 10%;
    text-align: center;
}

.skills-container{
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill{
    background: var(--text-color);
    padding: 15px 25px;
    border-radius: 5px;
}

i {
    color: var(--text-fond);
    filter: drop-shadow(1px 1px 1px black);
}

/*blog equipe*/

.team{
    padding: 15px 10%;
    background: var(--text-hover);
    text-align: center;
}

.team-card{
    max-width: 300px;
    margin: auto;
}

.team-card {
    width: 100%;
}

.profil {
    width: 50%;
    height: 40vh;
    filter: drop-shadow(2px 3px 5px yellow);
    animation: flotter 4s infinite;
    border-radius: 100px;
}

@keyframes flotter {
    0% {
        transform: translateY(0);        
    }
    50% {
        transform: translateY(20px);        
    }
}

.title-profil {
    position: absolute;
    font-size: 85%;
    top: 50%;
    left: 33%;
    line-height: 1.8;
    color: var(--text-color);
    text-shadow: 2px 2px 2px black;
}


/*statistiques*/

.about-stats{
    padding: 80px 10%;
    background: #111;
    color: white;
}

.stats-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    text-align: center;
}

.stat h3{
    font-size: 40px;
    color: var(--text-fond);
}


/*call to action*/

.about-cta{
    padding: 80px 10%;
    text-align: center;
}

.about-cta p{
    max-width: 600px;
    margin: 20px auto;
}

.cta-btn{
    background: var(--text-color);
    padding: 12px 25px;
    text-decoration: none;
    font-size: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s ease;
}
.cta-btn:hover {
    transition: all 0.5s ease;
    background: var(--button-hover);
    color: white;
    transform: scale(0.97);
}


/*responsive android*/

@media (max-width: 900px) {

    .navLinks {
        flex-direction: column;
        display: none;
        place-items: initial;
        gap: 20px;
        top: 5dvh;
        right: 0;
        height: 100vh;
        width: 20vh;
        position: fixed;
        background: #2d2b1a;
        border-radius: 15px 0 0 15px;
        padding: 15px;
        transition: all 1s ease;
        transform: translateX(110px);
        opacity: 0;
        z-index: 999;
        border: none;
        border-left: 3px solid var(--text-color);
        border-top: 3px solid var(--text-color);
        box-shadow: -1px -1px 5px var(--text-fond);
    }

    .navLinks.open {
        display: flex;
        opacity: 1;
        transition: all 1s ease;
        transform: translateX(0);
        z-index: 10;
    }

    .hamburger {
        display: block;
    }

    .logo {
        width: 100px;
        height: 90px;
    }

    .btm-logo {
        height: 60px;
    }

/*Description de la navbar*/
}

/*programme d'apparution des elements a l'ecran*/

.haut {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease;
}

.haut.active {
    opacity: 1;
    transform: translateY(0);
}

.bas {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.bas.active {
    opacity: 1;
    transform: translateY(0);
}
