/* Structure
--------------------------------------------- */

/* Supprimer le style qui crée un rond noir fixe */
body::after {
    content: none;
}

body {
    background-color: #ff0044;
    color: #f5f5f5;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    cursor: none; /* Masquer le curseur par défaut */
    position: relative;
}

*, *:hover, *::before, *::after {
    cursor: none !important; /* Désactiver tous les curseurs par défaut */
}

.custom-cursor {
    position: fixed;
    width: 15px; /* Taille du rond noir */
    height: 15px;
    background-color: #101010; /* Couleur du rond noir */
    border-radius: 50%; /* Forme ronde */
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 1; /* Assurez-vous que le curseur personnalisé est visible */
    transition: transform 0.5s ease; /* Transition pour un effet fluide */
}

.custom-cursor.is-selecting {
    background-color: #f5f5f5; /* Changer la couleur en blanc lors de la sélection */
}

a, button {
    cursor: none; /* Désactiver le curseur de sélection sur les éléments cliquables */
}

/* Portfolio
--------------------------------------------- */

.portfolio-grid .portfolio-item {
    width: 30%;
    margin-bottom: 1rem;
    text-align: center; /* Centrer le contenu */
}

.portfolio-grid .portfolio-item .title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 0.1; /* Ajustez cette valeur selon vos besoins */
}

.portfolio-grid .portfolio-item .preview-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Masquer les autres éléments */
.portfolio-grid .portfolio-item .content,
.portfolio-grid .portfolio-item .meta {
    display: none;
}
.site-title {
        display: none;
    }

.site-header,
.site-main,
.site-footer {
    padding: 1.5rem;
}

.site-header{
    align-items: center;
}

.site-footer{
    align-items: center;
}

.accueil .site-title {
    display: none;
}


/* Header
--------------------------------------------- */

.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0.1rem;
}

.main-navigation {
   width: auto;
   white-space: nowrap;
}

.main-navigation a {
    margin: 0 10px; /* Ajout de marges entre les éléments de navigation */
    color: #f5f5f5;
}

.site-title a {
    color: #1aff00;
}

/*p.site-title,
h1.site-title{
    font-size: 5rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: -0.025;
    text-align: center;    
} */

/* Main
--------------------------------------------- */

h1 {
    position: relative;
    top: -6rem; /* Ajustez cette valeur selon vos besoins */
    font-size: 7rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 6rem;
}

.site-main {
    justify-content: center;
    text-align: justify;
    margin: 0 auto;
    padding-left: 25%;
    padding-right: 25%;
}



/* Portfolio
--------------------------------------------- */

.portfolio-grid .portfolio-item {
    width: 30%;
    margin-bottom: 1rem;
    text-align: center; /* Centrer le contenu */
}

.portfolio-grid .portfolio-item .title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 0.2; /* Ajustez cette valeur selon vos besoins */
}

.portfolio-grid .portfolio-item .preview-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Masquer les autres éléments */
.portfolio-grid .portfolio-item .content,
.portfolio-grid .portfolio-item .meta {
    display: none;
}

/* Masquer le contenu des articles dans la catégorie portfolio */
.category-portfolio .portfolio-item .content,
.category-portfolio .portfolio-item .meta {
    display: none;
}

/* Footer
--------------------------------------------- */

.site-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 50%;
    padding: 1rem; /* Ajoutez du padding si nécessaire */
    
}

.site-footer a {
    text-decoration: none;
    color: #101010;
}

.portfolio-grid {
    display: flex;
    justify-content: space-between;
}

.portfolio-grid .portfolio-item {
    width: 30%;
    margin-bottom: 1rem;
}

/* Liens - Enlever le soulignement et mettre en noir */
a {
    text-decoration: none; /* Enlever le soulignement */
    color: #101010; /* Mettre le texte en noir */
}

a:hover {
    text-decoration: none; /* Optionnel : Ajouter un soulignement au survol */
    color: #f5f5f5; /* Optionnel : Changer légèrement la couleur au survol */
}

/* Bloc d'aperçu pour les articles */
.article-preview {
    width: 200px;
    height: 200px;
    background-color: #e0e0e0; /* Couleur de fond par défaut */
    margin: 1rem auto; /* Centrer le bloc */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc; /* Bordure optionnelle */
    overflow: hidden; /* Masquer le contenu qui dépasse */
    position: relative; /* Nécessaire pour positionner le bloc blanc */
}

.article-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuster l'image pour remplir le bloc */
}

.article-preview::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0); /* Transparent par défaut */
    transition: background-color 0.3s ease; /* Transition fluide */
    z-index: 1; /* S'assurer que le bloc est au-dessus de l'image */
}

.article-preview:hover::after {
    background-color: rgba(255, 255, 255, 0.7); /* Bloc blanc semi-transparent au survol */
}

iframe {
    border-radius: 10px; /* Coins arrondis */
}

.spline-3d-container {
    margin: 2rem auto;
    max-width: 1200px; /* Ajustez la largeur maximale */
    height: 700px; /* Ajustez la hauteur */
    overflow: hidden;
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre */
}

.spline-3d-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
