body {
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, rgb(1, 3, 40) 0%, rgb(1, 16, 31) 84%);
    overflow-x: hidden;
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.titlepresentation {
    line-height: 150%;
    font-weight: bold;
    text-align: center;
    color: #ffffff
}

.titlepresentation h1 {
    font-size: 2.7rem;
    margin-top: 170px;
}

.mentions-container {
    margin: 120px auto 100px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}

.card {
    position: relative;
    width: 190px;
    height: 254px;
    background-color: #020621;
    flex-direction: column;
    padding: 1px;
    gap: 2px;
    border-radius: 8px;
    cursor: pointer;
}

.card1 {
    position: relative;
    width: 190px;
    height: 254px;
    background-color: #020621;
    display: flex;
    flex-direction: column;
    padding: 1px;
    gap: 5px;
    border-radius: 8px;
    cursor: pointer;
}

.card1::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -5px;
    margin: auto;
    width: 200px;
    height: 264px;
    border-radius: 10px;
    background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
    z-index: -10;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card1::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -5px;
    margin: auto;
    width: 200px;
    height: 264px;
    border-radius: 10px;
    background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100%);
    z-index: -10;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100%);
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
}

.heading {
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 700;
}

.card p:not(.heading) {
    font-size: 14px;
}

.card p:last-child {
    color: #ffffff;
    font-weight: 600;
}

.card:hover::after {
    filter: blur(30px);
}

.card:hover::before {
    transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

.card1 p:not(.heading) {
    font-size: 14px;
}

.card1 p:last-child {
    color: #ffffff;
    font-weight: 600;
}

.card1:hover::after {
    filter: blur(30px);
}

.card1:hover::before {
    transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

@media (max-width: 768px) {
    .mentions-container {
        margin: 100px auto 80px;
        padding: 15px;
    }

    .mentions-container h1 {
        font-size: 2rem;
    }

    .mentions-section {
        padding: 15px;
    }

    .titlepresentation h1 {
        font-size: 1.6rem;
        margin-top: 170px;
    }
}

.mobile-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background-color: transparent;
    border: none;
    padding: 10px;
    transition: color 0.3s;
}

.mobile-menu:hover {
    color: #f0f0f0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.mobile-menu-content {
    text-align: center;
    color: white;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
}

.mobile-menu-content li {
    margin: 20px 0;
}

.mobile-menu-content a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.mobile-menu-content a:hover {
    color: #f0f0f0;
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}

.no-scroll {
    overflow: hidden;
}

.navbar {
    top: 0;
    width: 100%;
    z-index: 1000;
}

.footer-links {
    position: relative;
    width: 100%;
    background-color: rgba(12, 4, 49, 0);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 2px solid #e81cff;
    box-sizing: border-box;
    margin-top: auto;
    backdrop-filter: blur(5px);
}

.copyright,
.mentions-link {
    color: #cccccc;
}

.mentions-link:hover {
    color: #ffffff;
}

/* Styles pour le menu mobile */
.mobile-menu {
    display: none;
    /* Masqué par défaut */
    font-size: 30px;
    cursor: pointer;
    color: white;
    /* Couleur du texte en blanc */
    background-color: transparent;
    /* Fond transparent */
    border: none;
    /* Pas de bordure */
    padding: 10px;
    /* Ajoute un peu d'espace autour du texte */
    transition: color 0.3s;
    /* Transition douce pour le changement de couleur */
}

.mobile-menu:hover {
    color: #f0f0f0;
    /* Couleur légèrement plus claire au survol */
}

.mobile-menu-overlay {
    display: none;
    /* Masqué par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Augmentez l'opacité ici (0.85 au lieu de 0.7) */
    z-index: 1000;
    /* Au-dessus du contenu */
    justify-content: center;
    align-items: center;
}

.mobile-menu-content {
    text-align: center;
    color: white;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
}

.mobile-menu-content li {
    margin: 20px 0;
    /* Espacement entre les éléments */
}

.mobile-menu-content a {
    color: white;
    /* Couleur du texte en blanc */
    text-decoration: none;
    /* Pas de soulignement */
    font-size: 20px;
    /* Taille de la police */
    transition: color 0.3s;
    /* Transition douce pour le changement de couleur */
}

.mobile-menu-content a:hover {
    color: #f0f0f0;
    /* Couleur légèrement plus claire au survol */
}

/* Afficher le menu mobile sur les petits écrans */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        /* Masquer les liens de navigation par défaut */
    }

    .mobile-menu {
        display: block;
        /* Afficher le bouton de menu mobile */
    }
}

.no-scroll {
    overflow: hidden;
    /* Empêche le défilement */
}