/*
Theme Name: MMI Theme Projet Collectif
Theme URI: https://blandinenahorny.com/mesthemes
Author: Blandine Nahorny
Author URI: https://blandinenahorny.com
Description: Le thème développé pour le projet collectif MMI 3
Version: 1.0
*/

/* Global */
/* Global */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #f9f9f9;
    color: #555;
    margin: 0;
    margin-top: 80px; /* Espace pour le header fixe */
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header - Fixed at the top */
header {
    background-color: #ffecf0;
    color: #555;
    padding: 10px 20px;
    border-bottom: 2px solid #ffa3b0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Content area with offset for header */
.content {
    max-width: 1200px;
    width: 90%; /* Ajustement pour les petits écrans */
    margin: 100px auto 20px;
    padding: 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
    margin-top: 80px; /* Espace pour le header fixe */
}

/* Footer - Sticky at the bottom */
footer {
    background-color: #ffe9ec;
    color: #555;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    border-top: 1px solid #ffa3b0;
    flex-shrink: 0; /* Empêche le footer de rétrécir */
    position: relative;
    bottom: 0;
    margin-top: auto; /* Place le footer en bas de la page */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        flex-direction: column;
    }

    .content {
        margin: 80px auto 20px; /* Réduit le décalage du haut pour les petits écrans */
        padding: 15px;
    }

    footer {
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    .content {
        margin: 70px auto 20px;
        padding: 10px;
        width: 95%;
    }

    footer {
        padding: 10px;
    }
}


/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
    height: auto;
}

/* Navigation */
.navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    color: #555;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: #ffa3b0;
    color: white;
}

/* Menu Hamburger */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
}

/* Ajustement de l'alignement dans user-actions */
.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start; /* Place les boutons plus à gauche */
    margin-left: auto; /* Centre le reste du contenu dans le header */
    margin-right: 60px;
}

.user-actions .button {
    background-color: #ff8aae;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
}

/* Ajustement pour les boutons de connexion */
.user-actions .button.login-button {
    margin-right: 30px; /* Écarte légèrement les boutons entre eux */
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #ffecf0;
        padding: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .user-actions {
        flex-direction: column;
        gap: 5px;
        align-items: flex-end;
        width: 100%;
        margin-top: 10px;
    }

    .user-actions .button {
        width: 100%;
        text-align: center;
    }
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Project Card */
.project-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: scale(1.05);
}

/* Project Image - Make it responsive */
.project-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

/* Project Title */
.project-title {
    font-size: 1.4em;
    color: #333;
    margin: 10px 0;
    padding: 0 10px;
    font-weight: 600;
}

/* Project Excerpt - Limit to 2 lines and improve readability */
.project-excerpt {
    font-size: 1em;
    color: #333;
    padding: 0 10px 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* Project Card Links */
.project-card a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.project-card a:hover {
    color: #ff6397;
}

/* Download Button */
.download-button {
    display: inline-block;
    background-color: #ff8aae;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #ff6397;
}

/* Formulaire de connexion */
.login-form-container {
    max-width: 400px;
    margin: 120px auto; /* Ajout d'espace pour le header fixe */
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ffa3b0;
}

/* Style du formulaire de connexion */
.login-form-container h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.login-form-container label {
    display: block;
    font-size: 1em;
    color: #555;
    margin-bottom: 8px;
    text-align: left;
}

.login-form-container input[type="text"],
.login-form-container input[type="email"],
.login-form-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.login-form-container input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #ff8aae;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form-container input[type="submit"]:hover {
    background-color: #ff6397;
}

.login-form-container .forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.login-form-container .forgot-password:hover {
    color: #ff8aae;
}

/* Formulaire d'inscription */
.registration-form {
    max-width: 500px;
    margin: 120px auto;
    padding: 30px;
    background-color: #ffe9ec;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #ffa3b0;
}

.registration-form h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
}

.registration-form label {
    display: block;
    font-size: 1em;
    color: #555;
    margin-bottom: 8px;
    text-align: left;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.registration-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #ff8aae;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.registration-form input[type="submit"]:hover {
    background-color: #ff6397;
}

.registration-form .already-registered,
.login-form-container .new-account {
    display: block;
    margin-top: 20px;
    font-size: 0.9em;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.registration-form .already-registered:hover,
.login-form-container .new-account:hover {
    color: #ff8aae;
}

/* Equipes Container */
.equipes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Affiche 3 colonnes en fonction de l'espace disponible */
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px; /* Espace pour le header fixe */
}

.equipes-container h1 {
    font-size: 2.5em;
    color: #555;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center; /* Centrage du titre */
}

/* Team Card */
.equipe-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transition: transform 0.3s ease;
    text-align: center;
}

.equipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.equipe-card a {
    color: #333;
    text-decoration: none;
}

.equipe-card h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

/* Team Thumbnail */
.equipe-thumbnail {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.equipe-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Members */
.equipe-members {
    margin-top: 20px;
}

.equipe-members h3 {
    font-size: 1.4em;
    color: #666;
    margin-bottom: 10px;
}

.equipe-members p {
    font-size: 1em;
    color: #444;
    margin: 5px 0;
}

/* Team Project */
.equipe-projects {
    margin-top: 20px;
}

.equipe-projects h3 {
    font-size: 1.4em;
    color: #666;
    margin-bottom: 10px;
}

.equipe-projects p {
    font-size: 1em;
    color: #444;
    margin: 5px 0;
}

/* Responsive Grid for Team Cards */
@media (min-width: 768px) {
    .equipes-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px; /* Espace accru entre les colonnes pour un rendu plus espacé */
    }
}

/* Buttons */
a.button {
    display: inline-block;
    background-color: #ff8aae;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: 20px;
}

a.button:hover {
    background-color: #ff6397;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 20px; /* Marge inférieure de 20px */
}

.navigation-buttons .nav-left {
    flex: 1;
    text-align: left;
    margin-left: 20px; /* Marge de 20px à gauche */
}

.navigation-buttons .nav-right {
    flex: 1;
    text-align: right;
    margin-right: 20px; /* Marge de 20px à droite */
}

.nav-button {
    background-color: #ff8aae;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #ff6397;
}
/* Image de l'équipe en cercle centré */
/* Image de l'équipe en cercle centré */
.single-team .group-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 80px; /* Augmentation de la marge supérieure */
}

.single-team .group-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Centrage des titres et sections */
.team-title, .team-members h3, .team-projects h3 {
    text-align: center;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

/* Cartes des membres de l'équipe */
.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.team-members .etudiant-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    width: 120px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-members .etudiant-card:hover {
    transform: scale(1.05);
}

.team-members .etudiant-thumbnail img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Cartes des projets sélectionnés en rectangles */
.team-projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.team-projects .projet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px; /* Change de 50% à 10px pour un rectangle */
    width: 150px; /* Augmentation de la largeur */
    height: 100px; /* Augmentation de la hauteur pour un format rectangulaire */
    margin: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-projects .projet-card:hover {
    transform: scale(1.05);
}

.team-projects .projet-card img {
    width: 100%;
    height: auto; /* Maintien du ratio de l'image */
    object-fit: cover;
    border-radius: 0; /* Pas de bordure arrondie pour les images */
}

.team-projects h4 {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
    text-align: center;
}

.team-projects h4 a {
    color: #555;
    text-decoration: none;
}

.team-projects h4 a:hover {
    color: #ff6397;
}


/* Boutons de navigation pour les équipes */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 20px; /* Marge inférieure de 20px */
}

.navigation-buttons .nav-left {
    flex: 1;
    text-align: left;
}

.navigation-buttons .nav-right {
    flex: 1;
    text-align: right;
}

.nav-button {
    background-color: #ff8aae;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: #ff6397;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-members, .team-projects {
        flex-direction: column;
        align-items: center;
    }

    .navigation-buttons {
        flex-direction: column;
        align-items: center;
    }

    .navigation-buttons .nav-left, .navigation-buttons .nav-right {
        text-align: center;
        margin: 5px 0;
    }
}

/* Global */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.content h1 {
    font-size: 2.2em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0;
}

/* Project Card */
.project-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.project-card a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 15px;
}

/* Project Image */
.project-image {
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #ff8aae;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Title */
.project-title {
    font-size: 1.4em;
    color: #333;
    margin: 15px 0 10px;
    font-weight: 600;
}

/* Project Excerpt */
.project-excerpt {
    font-size: 1em;
    color: #333;
    padding: 0 10px 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Augmentez le nombre de lignes */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* Hover Effect for Project Title */
.project-card:hover .project-title {
    color: #ff6397;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .content h1 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .project-title {
        font-size: 1.2em;
    }

    .project-excerpt {
        font-size: 1em;
        color: #333;
        padding: 0 10px 15px;    
    }
}

/* Style de la grille des projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Card de projet */
.project-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: scale(1.05);
}

/* Image du projet */
.project-image {
    width: 100%;
    height: 200px; /* Ajustez la hauteur selon vos besoins */
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Titre du projet */
.project-title {
    font-size: 1.4em;
    color: #333;
    margin: 10px 0;
    padding: 0 10px;
    font-weight: 600;
}

/* Extrait du projet */
.project-excerpt {
    font-size: 1em;
    color: #555;
    padding: 0 10px 15px;
    line-height: 1.4;
}

/* Global styles for single post content */
.single-post-content {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 80px; /* Espace pour le header fixe */
}

/* Titre du projet */
.single-post-content h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Image associée du projet */
.associated-image {
    margin: 20px 0;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.associated-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Contenu du projet */
.post-content {
    margin-top: 20px;
    text-align: left;
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

/* Section des fichiers du projet */
.project-files {
    margin-top: 30px;
    text-align: center;
}

.project-files h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.download-button {
    display: inline-block;
    background-color: #ff8aae;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.download-button:hover {
    background-color: #ff6397;
}

/* Section du commanditaire */
.project-sponsor {
    margin-top: 30px;
    text-align: center;
}

.project-sponsor h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.project-sponsor p {
    font-size: 1em;
    color: #555;
    margin: 5px 0;
}

/* Navigation entre projets */
.project-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.project-navigation .prev-project, .project-navigation .next-project {
    font-size: 1em;
}

.project-navigation .prev-project a, .project-navigation .next-project a {
    color: #ff8aae;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-navigation .prev-project a:hover, .project-navigation .next-project a:hover {
    color: #ff6397;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-post-content {
        margin: 30px 20px;
    }

    .project-navigation {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Container des projets */
.projects-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

/* Style du titre principal */
.projects-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Style de la carte de projet */
.project-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Titre du projet */
.project-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Titre de la liste des équipes */
.team-list-title {
    font-size: 1.5em;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

/* Liste des équipes associées */
.associated-teams {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    list-style: none;
    padding: 0;
}

/* Style de chaque équipe associée */
.team-item {
    text-align: center;
    width: 100px;
}

.team-link {
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.team-link:hover {
    transform: scale(1.05);
}

/* Bulle avec l'image de l'équipe */
.team-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nom de l'équipe */
.team-name {
    font-size: 0.9em;
    color: #555;
    text-align: center;
    font-weight: bold;
}

/* Conteneur principal */
.home-content {
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* Titre principal */
.home-title {
    font-size: 2.5em;
    color: #ff6397;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Paragraphe introductif */
.home-intro {
    font-size: 1.2em;
    color: #555;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Liste des étapes */
.home-steps-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    counter-reset: step-counter;
}

/* Chaque étape de la liste */
.home-step-item {
    font-size: 1em;
    color: #444;
    text-align: left;
    position: relative;
    margin: 10px 0;
    padding-left: 30px;
    line-height: 1.5;
    font-weight: 500;
}

/* Numéro de chaque étape */
.home-step-item::before {
    content: counter(step-counter) ".";
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6397;
    font-size: 1.2em;
    font-weight: bold;
}

/* Conclusion */
.home-conclusion {
    font-size: 1.2em;
    color: #ff6397;
    font-weight: bold;
    margin-top: 20px;
}

/* Main Content Container */
.main-container {
    max-width: 1200px;
    width: 90%;
    margin: 100px auto 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.main-title {
    font-size: 2em;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Projects Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Individual Project Card */
.project-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: scale(1.05);
}

/* Project Image */
.project-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

/* Project Title */
.project-title {
    font-size: 1.4em;
    color: #333;
    margin: 15px 10px;
    font-weight: 600;
}

/* Project Description */
.project-description {
    font-size: 1em;
    color: #555;
    padding: 0 10px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
}


