* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Lulo';
    src: url('/font/Lulo.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/font/Montserrat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat2';
    src: url('/font/Montserrat-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat3';
    src: url('/font/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat4';
    src: url('/font/Montserrat-Thin.ttf');
}

html, body {
    height: 100%;
    --scroll-behavior: smooth;
    scroll-behavior: smooth;
}

html {
    background-color: black;
}

#contenu {
    min-height: 100%;
    position: relative;
}

header {
    justify-content: space-between;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    height: 7%;

    h1 {
        color: white;
        font-family: 'Montserrat';
    }

    img {
        margin-left: 50px;
        margin-top: 15px;
    }   

    div.headerdiv2 {

        justify-content: right;
        display: flex;
        align-items: center;
        height: 100px;

        

        div.reseau {
            display: flex;
            
        }   

        .reseau:hover {
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }
    
        .lien:hover {
            text-decoration: underline;
        }
        
    }
 
}

.headerdiv2 {
    display: flex;
    gap: 2.5em;
    align-items: center;

    a {
        text-decoration: none;
        color: white;
        font-family: 'Montserrat';
        font-size: 1.3em;
    }

    div.reseau {
        display: flex;
        margin-right: 15px;       
    }   

    .reseau:hover {
        text-decoration: none;
    }

    div.lien {
        display: flex;
        align-items: center;    
        white-space: nowrap;
        gap: 20px;

    
    }   
        
}


body {
    background-color: black;
}

footer {
    display: flex;
    position: absolute;
    justify-content: space-between;
    align-items: bottom;
    background-color: black; /* Couleur de fond transparente */
    height: 3%;
    width: 100%;
    color: white;
    font-family: "Montserrat";

    div {
        margin-right: 5%;
        margin-left: 5%;
    }
}

h2 {
    color: white;
    font-family: 'Lulo';
    margin-top: 2%;
    margin-right: 5%;
    margin-left: 25%;
}


.container1 {
    display: flex;
    text-align: right;
    justify-content: flex-end; /* Changé de center à flex-end */
    gap: 20px;
    margin-top: 10%;
    p {
        color: white;
        font-family: 'Montserrat';
        width: 40%;
        text-align: justify;
        margin-top: 20px;
    }

    img {
        text-align: right;
    }
}

.container2 {
    display: flex;
    text-align: right;
    justify-content: flex-start; /* Changé de center à flex-end */
    gap: 20px;
    margin-top: 10%;
    p {
        color: white;
        font-family: 'Montserrat';
        width: 40%;
        text-align: justify;
        margin-top: 15px;
    }

    img {
        text-align: left;
    }
}





.gridcontainer {
    column-count: 6; /* Deux colonnes */
    margin-bottom: 40px;
}

.griditem {
    break-inside: avoid; /* Empêche la coupure des éléments entre les colonnes */
    margin-bottom: 5%;

    img {
        transition: transform 0.3s ease; /* Transition fluide */
    }

    img:hover {
        transform: scale(1.1); /* Agrandissement de 10% */
    }
}

.im {
    width: 100%;
    height: auto; /* Conserve le ratio d'aspect */
    display: block;
}

.timeline {
    display: flex;
}


.logiciel {
    margin-top: 5%;
    color: white;
    font-family: 'Lulo';
    text-align: center;
    margin-bottom: 50px;
}

.skills {
    display: flex;
    text-align: center;
    justify-content: center;
    gap: 3%;
    margin-bottom: 10%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat';
    font-size: 1.5em;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: #ccc;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hamburger {
    display: flex;
}

.mobile-menu {
    display: block;
}

h2 {
    font-size: 120% !important;
    margin-top: 8% !important;
    margin-left: 5% !important;
    margin-right: 5%;
    text-align: center;
    letter-spacing: 8px !important;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat';
    font-size: 1.5em;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: #ccc;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.mobile-menu {
    display: block;
}

h2 {
    font-size: 120% !important;
    margin-top: 3% !important;
    margin-left: 5% !important;
    margin-right: 5%;
    text-align: center;
    letter-spacing: 8px !important;
}

header {
    padding: 15px 20px;
    height: auto;

    img {
        margin-left: 0;
        margin-top: 0;
    }
}

.download-btn {
    display: inline-block;         /* Rend la surface entière cliquable */
    padding: 12px 28px;            /* Gère la taille du bouton */
    background-color: black;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;         /* Enlève le soulignement */
    font-weight: bold;
    border: none;
    cursor: pointer;
    border: solid 1px white;
    font-family: 'LuloCleanOne';
    border-radius: 30px;
    margin-top: 5%;
  
}
.download-btn:hover {
    background-color:white;
    color: black;
}

.cv {
    text-align: center;
}