* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

header {
    background-color: #000;
    opacity: 90%;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    
}
nav .logo img{
    height: 30px;
    width: 30px;
}
nav{
    text-align: center;
    flex-wrap: wrap;
    justify-content: space-between;
   
    top: 0;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #a0d8ef;
}

.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.subtitle {
    font-size: 24px;
    margin-bottom: 40px;
}

.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about, .skills, .projects, .formations, .cv, .contact, .Certifications {
    padding: 100px 20px;
    text-align: center;
}

.about {
    background-color: #fff;
    color: #000;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skills {
    background-image: linear-gradient(to bottom, #f5f5f5, #eaeaea);
    color: #000;
}

.projects {
    background-color: #fff;
    color: #000;
}

.formations {
    background-color: #f5f5f5;
    color: #000;
}
.Certifications{
    background-color: #fff;
    color: #000;
}
.cv{
    background-color: #f5f5f5;
    color: #000;
}
h2 {
    color: #ffa07a;
    font-size: 36px;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #ffa07a;
    padding-bottom: 10px;
}

.about img {
    max-width: 200px;
    border-radius: 50%;
    margin-top: 20px 0 40px 0; /* Ajout de marge en haut et en bas */
}
.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
}


.skill-container, .project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item, .project-item {
    flex-basis: calc(33.333% - 40px);
    margin-bottom: 30px;
}

.skill-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.skill-bar {
    width: 100%;
    background-color: #ddd;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #ffa07a;
    transition: width 1s ease-in-out;
}

.project-image {
    position: relative;
    overflow: hidden;
    border: 2px solid #ffa07a;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 160, 122, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}
.project-overlay p {
    color: #000; /* Couleur du texte */
    transition: color 0.3s ease; /* Transition pour l'effet de survol */
}

.project-item:hover .project-overlay p {
    color: #000; /* Assurez-vous que la couleur reste noire au survol */
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: #ffa07a;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    width: 12px;
    height: 12px;
    background-color: #ffa07a;
    border-radius: 50%;
    top: 5px;
}

.timeline-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
}

.contact {
    background-color: #fff;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ffa07a;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #ffa07a;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #ff8c5a;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-column {
    flex: 1;
    text-align: center;
}

.footer-column h3 {
    color: #ffa07a;
    margin-bottom: 20px;
}

.social-icon {
    font-size: 24px;
    color: #ffa07a;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #ff8c5a;
}

footer a {
    color: #ffa07a;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff8c5a;
}

@media (max-width: 768px) {
    .skill-item, .project-item {
        flex-basis: calc(50% - 30px);
    }

    footer {
        flex-direction: column;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .skill-item, .project-item {
        flex-basis: 100%;
    }
}
/* Styles de base (mobile) */

/* Tablettes */
@media screen and (min-width: 768px) {
    /* Styles pour tablettes */
  }
  
  /* Desktops */
  @media screen and (min-width: 1024px) {
    /* Styles pour desktop */
  }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#nav-list {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#nav-list li {
    margin: 0 15px;
}

@media (max-width: 768px) {



    #nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    #nav-list li {
        flex-basis: calc(33.33% - 5px); /* Pour trois éléments par ligne */
        margin: 0;
    }

    #nav-list li:nth-child(n+4) {
        flex-basis: calc(25% - 5px); /* Pour quatre éléments sur la deuxième ligne */
    }

    #nav-list li a {
        display: block;
        padding: 8px 5px;
        font-size: 12px; /* Réduire la taille de la police */
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
.mentions-legales {
    padding: 100px 20px;
    background-color: #fff;
    color: #000;
    text-align: center;
    
}

.mentions-legales h1 {
    color: #ffa07a;
    font-size: 36px;
    margin-bottom: 40px;
    display: inline-block;
    border-bottom: 2px solid #ffa07a;
    
}

.mentions-legales .content {
    max-width: 800px;
    margin: 0 auto;
}

.mentions-legales h2 {
    color: #ffa07a;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mentions-legales p {
    margin-bottom: 15px;
    line-height: 1.6;
}


