/* Importation des polices */
@font-face {
    font-family: 'Sackers-Gothic-Std-Heavy';
    src: url('css/fonts/Sackers-Gothic-Std-Heavy.woff') format('woff'),
         url('css/fonts/Sackers-Gothic-Std-Heavy.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Curseurs personnalisés */
body {
    cursor: url('css/cursors/default_cursor.png'), auto; /* Curseur classique personnalisé */
}

a, .btn {
    cursor: url('css/cursors/pointer_cursor.png'), pointer; /* Curseur pointer personnalisé */
}

p, h1, h2 {
    cursor: url('css/cursors/text_cursor.png'), text; /* Curseur texte personnalisé */
}

body {
    background-color: #1e1e1e;
    color: #e0e0e0;
    padding-top: 80px;
    font-family: 'Sackers-Gothic-Std-Heavy', sans-serif; /* Ajout de la police au texte */
    
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #292929;
    border-bottom: 2px solid #7e579d;
    box-shadow: 0 0 15px rgba(78, 39, 95, 0.7);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header img {
    height: 50px;
    margin: 0 auto; /* Centrer le logo */
}

header nav {
    display: flex;
    flex-direction: column; /* Aligner les boutons verticalement */
}

header nav a {
    text-decoration: none;
    color: #e0e0e0;
    margin-top: 20px; /* Ajouter de l'espace entre les boutons */
    font-family: 'Sackers-Gothic-Std-Heavy';
    transition: color 0.3s ease, transform 0.3s ease;
}

header nav a:hover {
    color: #7e579d;
    transform: scale(1.1);
}

.presentation {
    text-align: center;
    padding: 50px 20px;
    background-color: #292929;
    margin: 40px auto 20px; /* Ajouté de la marge supérieure */
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(78, 39, 95, 0.7);
}

.presentation h1 {
    font-size: 2.5em;
    color: #e0e0e0;
    font-family: 'Sackers-Gothic-Std-Heavy';
}

.presentation p {
    font-size: 1.2em;
    margin-top: 20px;
    color: #cccccc;
}

section {
    padding: 50px 20px;
    margin: 20px 0;
    background-color: #292929;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(78, 39, 95, 0.7);
}

section h2 {
    font-size: 2em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Sackers-Gothic-Std-Heavy';
}

.btn {
    display: flex;
    width: 25%;
    justify-content: center; /* Pour aligner les boutons horizontalement au centre */
    align-items: center; /* Pour aligner les boutons verticalement au centre */
    padding: 10px 20px;
    margin: 20px auto; /* Pour centrer les boutons horizontalement */
    background-color: #7e579d;
    color: #e0e0e0;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    transform: skew(-20deg);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease; /* Transition fluide */
}

.btn:hover {
    background-color: #e0e0e0;
    color: #7e579d;
    transform: scale(1.1) skew(20deg);
    border: 5px solid #7e579d;
    box-shadow: 0 0 10px #7e579d, 0 0 20px #7e579d, 0 0 30px #482f5f; /* Ombre néon */
}

footer {
    background-color: #292929;
    padding: 20px;
    border-top: 2px solid #7e579d;
    box-shadow: 0 0 15px rgba(78, 39, 95, 0.7);
}

footer h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #e0e0e0;
    font-family: 'Sackers-Gothic-Std-Heavy';
}

.reseaux {
    display: flex;
    justify-content: center;
    align-items: center;
}

.reseaux div {
    margin: 0 20px;
    text-align: center;
}

.reseaux img {
    height: 30px;
}

.reseaux a {
    display: block;
    margin-top: 10px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Sackers-Gothic-Std-Heavy';
    transition: color 0.3s ease, transform 0.3s ease;
}

.reseaux a:hover {
    color: #7e579d;
    transform: scale(1.1);
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #1e1e1e;
}

.message-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 50%;
    max-width: 600px;
    padding: 20px;
    background-color: #292929;
    background: 50%;
    border-radius: 10px;
    backdrop-filter: blur(7px);
    box-shadow: 0 0 15px rgba(78, 39, 95, 0.7);
    z-index: 10;
}

.message-404 h1 {
    font-size: 8em;
    font-family: 'Sackers-Gothic-Std-Heavy';
    color: #7e579d;
    margin-bottom: 20px;
}

.message-404 p {
    font-size: 1.2em;
    color: #cccccc;
    margin-bottom: 30px;
}
  

/* Media queries pour version mobile */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1em;
    }

    header img {
        margin-bottom: 10px;
    }

    .presentation {
        padding: 30px 30px;
        margin: 30px 30px;
    }

    .presentation h1 {
        font-size: 2em;
    }

    .presentation p {
        font-size: 1.05em;
    }

    .btn {
        width: 60%; /* Boutons plus larges sur mobile */
        padding: 10px 15px;
        margin: 15px auto;
        margin: 10%;
    }

    .btn:hover {
        background-color: #e0e0e0;
        color: #7e579d;
        transform: scale(1.0) skew(0deg);
        border: 5px solid #7e579d;
        box-shadow: none; /* Ombre enlevée */
    }

    footer {
        margin-top: auto;
    }

    footer h2 {
        font-size: 1.2em; /* Réduire la taille du texte dans le footer */
    }

    .reseaux div {
        margin: 0 10px; /* Réduction des marges entre les éléments */
    }

    .reseaux img {
        height: 20px; /* Réduire la taille des icônes */
    }

    .reseaux a {
        font-size: 0.5em; /* Réduire la taille du texte des liens */
    }
}

/* Media queries pour version très petite (téléphones) */
@media (max-width: 480px) {
    .presentation h1 {
        font-size: 1.8em;
    }

    .presentation p {
        font-size: 0.9em;
    }

    .btn {
        width: 70%; /* Augmenter encore la largeur des boutons */
    }

    .reseaux img {
        height: 20px;
    }

    footer h2 {
        font-size: 1em;
    }

    .reseaux a {
        font-size: 0.4em;
    }
}