h1
{
    text-align: center;
    color: white;
}
h2
{
    text-align: center;
    /*position: relative; left:200px; top:20px;*/
}
h3
{
    text-decoration: underline;
    text-align: center;
    /*position: relative; left:200px; top:20px;*/
}
/*
section
{
    text-align: justify;
    text-align: center;

}*/
/*
header
{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
*/
/* Navigation */


nav .menu 
{
    list-style-type: none;
    display: flex;
    justify-content : center;
    background: #272727;
    margin-right: auto;
    margin-left: auto;
    justify-content: space-around;
    width: 50%;
    min-width: 500px;
    padding-bottom: 15px;
    padding-top: 15px;
}
nav .menu li
{
    margin-right: 15px;
}

nav .menu li a
{

    font-size: 1.3em;
    color: #f6f4e6;
    padding-bottom: 3px;
    text-decoration: none;
    width: 50%;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

nav .menu a:hover {
  color: #fddb3a;
}

    

}
footer
{
    background-image: url("bleu.png");
    background-attachment: fixed; /* Le fond restera fixe */
    background-repeat: repeat; /* Le fond ne sera pas répété */
    color: black; /* Le texte de la page sera noir */
}
body 
{
    /*background: black;*/
    color: white;
    background-image: url("../image/fond.jpg");
    background-attachment:fixed;
    background-size: cover;
    background-repeat: no-repeat;
    /*width: 0 !important */

}
overflow-x: hidden;

/* flux rss */
div
{
    color: white;
}


/*---------------comlpétances-------------*/

#skills {
    text-align: center;
}

.skills-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill {
    cursor: pointer;
    text-align: center;
    margin: 20px;
}

.skill img {
    width: 100px; /* Ajustez selon la taille de vos images */
    height: auto;
}

#skill-detail {
    margin-top: 20px;
    font-style: italic;
}
.progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-top: 10px;
}

.progress {
    height: 20px;
    border-radius: 5px;
    background-color: #4CAF50;
    text-align: right;
    line-height: 20px; /* Assurez-vous que cela correspond à la hauteur de votre barre de progression pour centrer le texte verticalement */
    color: white;
    padding-right: 5px;
}




/*--------------------------------------------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #333;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    color: #fff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.rss-tag {
    cursor: pointer;
    display: inline-block;
    margin: 10px;
    padding: 10px;
    background-color: #444;
    color: #fff;
    border-radius: 5px;
}

.rss-tag i {
    margin-right: 5px;
}

.rss-tag:hover {
    background-color: #555;
}


.modal-content a:hover {
    color: #fff; /* Couleur des liens au survol */
    text-decoration: underline; /* Ajoute un soulignement au survol, optionnel */
}


/* Styles existants pour les modales */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: rgba(112, 114, 110, 0.8); /* Couleur de fond plus sombre avec transparence */
    color: #FFF; /* Texte en blanc pour le contraste */
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}




------------------/*cv*/------------

.profile-section {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.profile-name {
    color: #0056b3;
    font-size: 24px;
}

.profile-subheading {
    color: #0056b3;
    margin-top: 20px;
    border-bottom: 2px solid #0056b3;
}

.profile-section p, .profile-section li {
    font-size: 14px;
    line-height: 1.6;
    color: #FFF;
}

.email-link {
    color: #0077cc;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

.skills-list, .experience-list, .projects-list, .education-list, .interests-list {
    list-style-type: none;
    padding: 0;
}

.skills-list li, .experience-list li, .projects-list li, .education-list li, .interests-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6 10"><polygon fill="%230056b3" points="0,0 6,5 0,10"/></svg>') no-repeat left 0.5em center;
    padding-left: 20px;
    background-size: 10px 10px;
    margin-bottom: 5px;
}



---------/*projet*/--------

.project-tag {
    display: inline-block;
    padding: 10px;
    margin: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.project-tag {
    background-color: white;
    border: 1px solid #ccc;
    width: 180px;
    height: 250px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.1);
    transform: rotate(-5deg); /* Légère rotation pour l'effet incliné */
    background-image: url('path_to_your_texture_image.jpg'); /* Texture de papier ou effet vieilli */
    background-size: cover;
    position: relative; /* Nécessaire pour le pseudo-élément */
    overflow: hidden; /* Garde le pseudo-élément à l'intérieur */
}

.project-tag:hover {
    transform: rotate(0deg) scale(1.05); /* Animation sur survol */
    cursor: pointer;
}

.project-tag::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: #f00;
    transform: rotate(45deg); /* Bande rouge inclinée */
    opacity: 0.5; /* Transparence de la bande */
}




-------------------/*contact*/------------
