

/* Pour les écrans de moins de 768px (tablettes et téléphones) */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        margin: 5px;
    }
}

/* Pour les écrans de moins de 480px (petits téléphones) */
@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
        margin: 5px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-image: url(./images/4884273.jpg);
    background-size:cover ;
    background-position:fixed;
    background-repeat: repeat;
    color: #faf9f9;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header {
    width: 100%;
    padding: 20px;
    text-align: center;
    background-color: rgba(0, 31, 63, 0.8);
}



h1 {
    color: #0074d9;
}

/* Général pour le bouton menu */
.menu-button {
    background-color: transparent;
    border: 2px solid #007BFF;
    padding: 12px;
    font-size: 30px; /* Taille de l'icône */
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
}



/* Icône du bouton avec transition */
.menu-button i {
    transition: transform 0.4s ease;
}

/* Effet au survol du bouton */
.menu-button:hover {
    background-color: #007BFF;
    color: black;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6), 0 0 20px rgba(0, 123, 255, 0.5); /* Effet lumineux */
}

.menu-button:hover i {
    transform: rotate(90deg); /* Rotation de l'icône */
}

/* Style pour le container du menu */
.menu-container {
    position: relative;
    display: inline-block;
}

/* Style du menu déroulant - caché par défaut */
.dropdown-content {
    display: none; /* Masqué par défaut */
    position: absolute;
    top: 50px; /* Positionnement sous le bouton */
    background-color: #f1f1f1;
    min-width: 160px;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0; /* Menu invisible par défaut */
    transform: translateY(-10px); /* Déplacement vertical pour animation */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Afficher le menu au survol du bouton */
.menu-container:hover .dropdown-content {
    display: block;
    opacity: 1; /* Rendre le menu visible */
    transform: translateY(0); /* Menu se déplace vers sa position finale */
}

/* Style pour les liens du menu */
.dropdown-content a {
    color: #333;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

/* Effet au survol des éléments du menu */
.dropdown-content a:hover {
    background-color: #007BFF;
    color: white;
}

/* Effet de zoom sur les éléments du menu */
.dropdown-content a:hover {
    transform: scale(1.05);
}



.profil {
    font-size: 10px;
    font-weight: bold;
    color: yellow;
    text-shadow: 0 0 10px yellow;
    display: inline-block;
    animation: clignote 0.8s infinite alternate;
    position: relative;
    left: 430px;
    top: -370px;
}

@keyframes clignote {
    from {
        opacity: 2;
    }
    to {
        opacity: 0;
    }
}








 .view-button {
        background-color: #007bff;
        color: #faf7f7;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

    .view-button:hover {
        background-color: #0056b3;
    }

header {
    text-align: center;
    margin-bottom: 20px;
}

.veille{
    text-decoration: none;
    color:#0074d9;
}
.navbar {
    background-color: #f8f8f8;
    padding: 10px 0;
}


.reset-button {
    font-size: 2em;
    font-weight: bold;
    color: #03b6e9;
    background: #8b666000;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.reset-button:hover {
    background-color: #0056b3;
}


.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 350px;
    margin-top: 10px;
}

.nav-button {
    background-color: transparent;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #0056b3;
}





.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 1000;
    animation: fadeInModal 0.5s ease;
}

.contact-modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    margin: 100px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.5s ease;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.contact-modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
}

.contact-modal-content form {
    display: flex;
    flex-direction: column;
}

.contact-modal-content label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #555;
}

.contact-modal-content input[type="email"],
.contact-modal-content input[type="text"],
.contact-modal-content textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 15px;
    width: 100%;
}

.contact-modal-content input[type="submit"] {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-modal-content input[type="submit"]:hover {
    background: #0056b3;
}


@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


.skills {
    width: 70%;
    margin: 00px auto 0;
    padding-top: 70px;
}

.skills h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}

.skill {
    margin-bottom: 20px;
    position: relative;
}

.skill label {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #fff;
}
.container-fond {
    background: linear-gradient(to right, rgba(0, 123, 255, 0), rgba(0, 170, 255, 0));
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Titre principal */
.titre-section {
    color: #f1d232;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Conteneur des boutons */
.container-parcours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

/* Style des boutons */
.container-bouton-parcours {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    text-align: center;
    transition: transform 0.3s ease;
    width: 270px;
}

.container-bouton-parcours:hover {
    transform: translateY(-5px);
}

/* Bouton style */
.bouton {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #007bff;
    font-size: 20px;
    font-weight: bold;
}

.bouton p {
    margin-top: 10px;
}

/* Image stylisée */
.image-bouton {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.image-bouton:hover {
    transform: scale(1.05);
}

/* Modale */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* Contenu de la modale */
.modal-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 80%;
    color: #333;
    text-align: left;
    position: relative;
    animation: fadeIn 0.6s ease-out;
}

/* Animation modale */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Titre modale */
.modal-content h2 {
    margin-bottom: 20px;
    color: #007bff;
    font-size: 28px;
    text-align: center;
}

/* Informations */
.info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    font-size: 18px;
}


.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    border: none;
    background: none;
    color: #888;
    cursor: pointer;
}

.close:hover {
    color: red;
}
.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.2);
}

.progress {
    height: 100%;
    display: block;
    border-radius: 50px;
    transition: width 1s ease-in-out;
    position: relative;
}

.progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    opacity: 0.5;
    filter: blur(8px);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

h1.bienvenue {
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: bold;
    color: yellow;
    position: relative;
    animation: glow 1.5s infinite alternate, slideIn 1s ease-in-out;
}

h2.portfolio {
    font-size: 2.5rem;
    color: yellow;
    position: relative;
    animation: glow 1.5s infinite alternate, slideIn 1.2s ease-in-out;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px yellow, 0 0 20px yellow;
    }
    to {
        text-shadow: 0 0 20px yellow, 0 0 30px orange;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.text-box:hover h1.bienvenue, .text-box:hover h2.portfolio {
    transform: scale(1.08);
    transition: transform 0.3s ease-in-out;
    text-shadow: 0 0 25px yellow, 0 0 35px orange;
}

.text-box {
    position: relative;
    top: 200px; /* Descend le texte */
    left: -40px; /* Décale légèrement à gauche */
}


.image-droite {
    width: 350px;
    height: auto;
    margin-left: 850px; /* Augmente cette valeur pour décaler plus à droite */
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.8);
}


.image-droite:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 0, 1), 0 0 40px rgba(255, 165, 0, 1);
}

/* Style du bouton A PROPOS */
.nav-button {
    background-color: transparent;
    color: #007BFF;
    border: 2px solid #007BFF; /* Bordure bleue */
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease; /* Transition fluide pour les effets */
    position: relative;
}

.nav-button:hover {
    background-color: #007BFF;
    color: white; /* Le texte devient blanc au survol */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.7), 0 0 15px rgba(0, 123, 255, 0.5); /* Effet lumineux au survol */
}

.nav-button:active {
    background-color: #0056b3;
    color: white;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.9), 0 0 25px rgba(0, 123, 255, 0.7);
}


#about-content {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #e3dede;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    overflow-y: auto;
}

#about-content h2 {
    font-size: 35px;
    margin-bottom: 20px;
}

#about-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Bouton de fermeture dans la page A PROPOS */
#about-content button {
    background-color: #FF5733;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

#about-content button:hover {
    background-color: #c73d2f;
}


.page2 {
    margin-bottom:50px ;
    padding: 20px;
    border:1px solid #ccc;
}
/* Arrière-plan stylé sur la section */
.competences {
    position: relative; /* Position relative pour utiliser ::before */
    text-align: center;
    padding: 200px;
    color: white;
    border-radius: 15px;
}

/* Création de l'arrière-plan via pseudo-élément ::before */
.competences::before {
    content: none; /* Nécessaire pour afficher le pseudo-élément */
    position: fixed; /* Positionnement absolu */
    top: 0; bottom: 0; left: 0; right: 0;

    background: linear-gradient(135deg, #1a1a2e, #16213e);
    z-index: -1;
    border-radius: 0px;
    filter: blur(10px);
}


.competences h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #FFD700;
    text-shadow: 0px 0px 10px rgba(255, 215, 0, 0.8);
}


.competences-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}


.competence {
    text-align: center;
    width: 220px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px); /* Effet de flou d'arrière-plan */
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}


.competence:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 25px rgba(255, 215, 0, 0.8);
}


.description {
    font-size: 14px;
    font-style: italic;
    color: #FFD700;
    margin-bottom: 10px;
}

/* Images stylées */
.competence img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

/* Effet lumineux sur l’image au survol */
.competence img:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 20px rgba(255, 215, 0, 0.8);
}


.competence p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}


/* Section Mes Projets */
#mes-projets {
    margin: 40px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #6c5ce7, #00cec9); /* Dégradé lumineux */
    border-radius: 15px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
}

.mes-projets h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #ffd700;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Conteneur des projets */
.projets-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

/* Chaque projet */
.projet {
    width: 23%; /* Pour aligner 4 images */
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
    background: rgba(2, 22, 52, 0.8);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    position: relative;
}

/* Effet au survol de l'image */
.projet:hover {
    transform: translateY(-15px);
    box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Image des projets */
.projet img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Zoom et effet lumineux au survol de l'image */
.projet img:hover {
    transform: scale(1.05);
    filter: brightness(1.2); /* Rendre l'image plus lumineuse */
}

/* Description des projets */
.projet p {
    font-size: 18px;
    margin-top: 15px;
    color: #faf9f9;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Changer la couleur de la description au survol */
.projet:hover p {
    color: #00cec9;
    transform: translateY(5px);
}

/* Effet de glow au survol du texte */
.pr
html {
    scroll-behavior: smooth; /* Active le défilement fluide */
}



/* Style de l'image */
.image-droite {
    width: 250px; /* Ajuste la taille de l'image */
    cursor: pointer; /* Change le curseur pour montrer que c'est cliquable */
    border-radius: 10px; /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Ajoute une ombre subtile à l'image */
    transition: transform 0.3s ease; /* Ajoute une animation */
}

.image-droite:hover {
    transform: scale(1.1); /* Agrandit légèrement l'image au survol */
}

/* Style de la fenêtre modale */
.modal {
    display: none; /* Cache la modale par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fond sombre transparent */
    z-index: 1000; /* Assure que la fenêtre modale soit au-dessus du contenu */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

/* Fenêtre modale proprement dite */
.modal-contenu {
    background-color: #fffbff;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 80%;
    color: #333;
    text-align: left;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 1s ease-out;
}

/* Animation pour l'entrée de la fenêtre modale */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Style du titre dans la modale */
.modal h2 {
    margin-bottom: 20px;
    color: #007bff;
    font-size: 28px;
    text-align: center;
    font-weight: bold;
}

/* Style des éléments d'information */
.info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.info-item i {
    font-size: 24px;
    color: rgba(0, 123, 255, 0.43);
}


.fermer {
    position: absolute;
    top: 50px;
    right: 10px;
    font-size: 30px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.fermer:hover {
    color: red;


#image-bouton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}



.image-droite {
    width: 250px; /* Ajuste la taille de l'image */
    cursor: pointer; /* Change le curseur pour montrer que c'est cliquable */
    border-radius: 10px; /* Ajoute des coins arrondis à l'image */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Ajoute une ombre subtile à l'image */
    transition: transform 0.3s ease; /* Ajoute une animation */
}

.image-droite:hover {
    transform: scale(1.1);
}


.texte-clignotant {
    position: absolute;
    top: -55px;
    left: 88%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.7), 0 0 20px rgba(255, 255, 0, 0.7); /* Ombre lumineuse jaune */
    animation: clignotement 1.5s infinite; /* Animation du clignotement */
    background-color: rgba(0, 0, 0, 0.6); /* Fond semi-transparent pour faire ressortir le texte */
    border-radius: 5px;
    padding: 5px;
}

@keyframes clignotement {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}


#image-bouton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}




    /* Conteneur du bouton */
    .button-container {
        text-align: center;
        margin: 20px;
    }

    /* Bouton principal avec image */
    .projects-btn {
        background-color: #4CAF50;
        border: none;
        color: white;
        padding: 20px 40px;
        font-size: 20px;
        cursor: pointer;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    /* Image dans le bouton */
    .projects-btn .btn-image {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    /* Effet au clic : zoom + lumière */
    .projects-btn:active {
        transform: scale(1.1);
        box-shadow: 0 0 25px 10px rgba(255, 255, 0, 0.6);
    }

    /* Liste des projets */
    .projects-list {
        background-color: white; /* Fond blanc */
        padding: 20px;
        border-radius: 10px;
        margin: 20px auto;
        max-width: 500px;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .projects-list ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .projects-list li {
        margin: 12px 0;
    }

    .projects-list a {
        color: #4CAF50;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
    }

    .projects-list a:hover {
        text-decoration: underline;
    }

















































    


    .footer {
        background-color: black; /* noir bleuté/gris très foncé */
        color: #f1f1f1;
        padding: 40px 20px;
        text-align: center;
        border-top: 488px solid #1e293b; /* fine barre grise en haut */
    }

    .footer-container {
        max-width: 1100px;
        margin: 0 auto;
    }

    .footer-logo {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .footer-links,
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .footer a {
        color: #f1f1f1;
        text-decoration: none;
        font-size: 16px;
        transition: color 0.3s ease;
    }

    .footer a:hover {
        color: #38bdf8; /* bleu clair */
    }

    .footer i {
        margin-right: 8px;
        font-size: 18px;
    }

    .footer-social a i {
        font-size: 24px;
        margin-right: 0;
    }



