body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%239C92AC" fill-opacity="0.04"%3E%3Cpath opacity=".5" d="M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z"/%3E%3Cpath d="M6 5V0H5v5H0v1h5v94h1V6h94V5H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

header {
    background-color: #1e1e1e;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

main {
    padding-top: 60px;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.resume-box {
    background-color: #ffffff;
    color: #121212;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.resume-box p {
    margin: 0;
    line-height: 1.6;
}

.competences-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.competence-box {
    background-color: #ffffff;
    color: #121212;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.competence-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

.competence-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.05) 20px,
        rgba(255, 255, 255, 0.05) 40px
    );
    transform: rotate(45deg);
    z-index: 1;
}

.competence-box h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #121212;
    position: relative;
    z-index: 2;
}

.competence-box ul {
    list-style-type: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.competence-box ul li {
    margin-bottom: 10px;
}

.competence-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.root-me-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.root-me-links a {
    margin-bottom: 10px;
    color: #ffffff;
    text-decoration: none;
}

.root-me-links a:hover {
    text-decoration: underline;
}

.root-me-stats {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.root-me-stats:hover {
    transform: scale(1.05);
}

/* Styles pour la grille de projets */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    width: 100%;
}

.project-card {
    background-color: #1e1e1e;
    border: 2px solid #ffffff;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    color: #ffffff;
    font-size: 1.2em;
}

.project-card:hover {
    background-color: #333;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .competences-container {
        flex-direction: column;
    }

    .competence-box {
        width: 100%;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}
.about-category {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.about-category h3 {
    color: #ff4081;
    margin-bottom: 20px;
}

.school-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.school-logo {
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    .school-info {
        flex-direction: column;
    }

    .school-logo {
        margin-bottom: 20px;
    }
}
.about-category {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.about-category h3 {
    color: #ff4081;
    margin-bottom: 20px;
}

.school-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.school-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .school-info {
        flex-direction: column;
    }

    .school-logo {
        margin-bottom: 20px;
    }
}
