body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
header {
    background: #333;
    color: #fff;
    padding: 0.10em 0;
    text-align: center;
}
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: #444;
    z-index: 1000;
}
nav ul {
    padding: 0;
    list-style: none;
    text-align: center;
    margin: 0;
}
nav ul li {
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
}
nav ul li a:hover {
    text-decoration: underline;
}
.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
    padding-top: 100px; 
}
#main {
    padding: 2em 0;
}
.section {
    margin: 2em 0;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
}
h2 {
    text-align: center;
    color: #333;
}
.skills, .projects, .experiences, .education, .synthesis, .veille, .aps, .synthèse {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.skill, .project, .experience, .education-item, .ap,.synthesi {
    width: 45%;
    margin: 1em 0;
    padding: 1em;
    background: #e4e4f4;
    border-radius: 8px;
    text-align: center;
}
.project {
    position: relative; 
}

.logoarrow {
    position: absolute;
    bottom: 10px; 
    right: 10px;  
}
.logoarrow:hover {
    -ms-transform: scale(1.1); 
    -webkit-transform: scale(1.1); 
    transform: scale(1.1);
} 
.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e4e4f4;
    margin: 1em 0;
    padding: 1em;
    border-radius: 8px;
}
.BTS {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e4e4f4;
    margin: 1em 0;
    padding: 1em;
    border-radius: 8px;
}
.BTS-text {
    text-align: center;
    width: 50%;
}

.about-text {
    width: 60%;
}

.about-image {
    width: 50%;
    text-align: right;
}

.logoaboutme {
    max-width: auto;
}
footer {
    text-align: center;
    padding: 1em 0;
    background: #333;
    color: #fff;
}
.progress-container {
    width: 100%;
    background: #f4f4f4;
    padding: 1em 0;
}
.progress-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.progress-step {
    width: 20%;
    text-align: center;
    position: relative;
}
.progress-step:before {
    content: '';
    width: 100%;
    height: 5px;
    background: #ddd;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
.progress-step:after {
    content: '';
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.progress-step.completed:before {
    background: #333;
}
.progress-step.completed:after {
    background: #00b300;
}
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-container p {
    margin: 0.5em 0;
}
.contact-container a {
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}
.contact-container a:hover {
    background: #333;
    color: #fff;
}
.logo:hover {
    -ms-transform: scale(1.2); 
    -webkit-transform: scale(1.2); 
    transform: scale(1.2);
}


/* Media Queries */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .skill, .project, .experience, .education-item {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .skill img, .project img, .experience img, .education-item img {
        width: 100%;
        height: auto;
    }
}

#rss-feed {
    width: 80%;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #e4e4f4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rss-article {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    background-color: #fafafa;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.rss-article:hover {
    background-color: #f0f0f0;
}

.rss-article:last-child {
    border-bottom: none;
}

.rss-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #007bff;
    margin: 0;
}

.rss-title a {
    color: inherit;
    text-decoration: none;
}

.rss-title a:hover {
    text-decoration: underline;
}

.rss-description {
    font-size: 1em;
    color: #666;
    margin: 10px 0 0;
    line-height: 1.6;
}


.rss-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 10px 0;
    border-radius: 5px;
}

.button {
    cursor: pointer;
    padding: 1em 2em;
    font-size: 1em;
    color: white;
    text-decoration: none;
    background: #212121;
    background-size: cover;
    background-blend-mode: overlay;
    border-radius: 0.5em;
    outline: 0.1em solid #353535;
    border: 0;
    box-shadow: 0 0 1em 1em rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: white;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 1em 0.45em rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #212121, #252525);
    background: radial-gradient(circle at bottom, rgba(50, 100, 180, 0.5) 10%, #212121 70%);
    outline: 0;
}

.icon {
    fill: white;
    width: 1em;
    height: 1em;
}


.cta {
    position: relative;
    margin: auto;
    padding: 12px 18px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
  }
  
  .cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 50px;
    background: #b1dae7;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
  }
  
  .cta span {
    position: relative;
    font-family: "Ubuntu", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #234567;
  }
  
  .cta svg {
    position: relative;
    top: 0;
    margin-left: 10px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #234567;
    stroke-width: 2;
    transform: translateX(-5px);
    transition: all 0.3s ease;
  }
  
  .cta:hover:before {
    width: 100%;
    background: #b1dae7;
  }
  
  .cta:hover svg {
    transform: translateX(0);
  }
  
  .cta:active {
    transform: scale(0.95);
  }
  
  .synthèse iframe {
    width: 100%; /* L'iframe occupe toute la largeur disponible */
    height: 80vh; /* Ajuste la hauteur à 80% de la hauteur de la fenêtre */
    border: none; /* Supprime la bordure de l'iframe */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajoute une ombre légère pour un effet esthétique */
    border-radius: 8px; /* Arrondit légèrement les coins */
    margin: 20px 0; /* Ajoute un espacement au-dessus et en dessous */
}

.synthèse {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre l'iframe horizontalement */
    padding: 20px; /* Ajoute un espacement intérieur */
    background-color: #f9f9f9; /* Ajoute un fond clair pour contraster */
    border-radius: 8px; /* Arrondit les coins du conteneur */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ajoute une ombre légère au conteneur */
}