@import url('http://fonts.cdnfonts.com/css/anurati');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;500;700&display=swap');

.categories, .categories2{
    margin-top: 100px;
}
h2 {
    padding-top: 15px;
    text-transform: uppercase;
    text-decoration: underline;
    color: #ffffff;
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 40px;
    text-align: center;
}

p {
    font-family: Aquatico;
}

p .rank {

    color: #1b0bae;
}

a {
    text-decoration: none;
    color: black;
}

.categories, .cartes {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    grid-gap: .1rem;


}

.cartes {
    display: flex; /* Active le flexbox */
    justify-content: center; /* Centre les cartes horizontalement */
    align-items: center; /* Aligne les cartes verticalement si nécessaire */
    gap: 20px; /* Espacement entre les cartes */
    margin: auto; /* Centre le conteneur */
    width: fit-content; /* Ajuste la largeur au contenu */

    padding: 20px;
}


.card, .card2 {

    min-width: 269px;
    min-height: 400px;
    width: fit-content;
    height: fit-content;
    border-radius: 20px;
    background: #ffffff;
    margin: auto;
    position: relative;
    padding: 1.8rem;
    border: 2px solid #c3c6ce;
    transition: 0.75s ease-out;
    overflow: visible;
    
}
.card2 {
    flex: 1; /* Permet aux cartes de s'adapter à la taille de leur parent */
    max-width: 300px; /* Ajustez selon la taille souhaitée */
    text-align: center; /* Assurez-vous que le texte est bien centré */
}

.categories2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.card-details {
    height: none;
    gap: .5em;
    display: grid;
}


.text-body {
    font-family: 'Poppins';
    font-weight: 200;

    text-align: center;
    color: rgb(59, 59, 59);
}

/*Text*/
.text-title {
    font-family: 'Oswald', sans-serif;
    text-align: center;


    font-size: 1.5em;
}

/*Hover*/
.card:hover {
    border-color: #ff3df5;
    border-width: 3px;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}




#a1,
#b1,
#c1 {
    color: #000000;

}

u {
    text-decoration: underline;
}

.content {
    margin-top: 50px;
    background: rgb(0, 0, 0);
    background: linear-gradient(342deg, rgba(0, 0, 0, 1) 0%, rgb(41, 105, 174) 54%, rgba(0, 60, 239, 0.957) 110%);
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 40px;

}

.pdp {
    width: 185px;
    height: 185px;
    border-radius: 100px;
    border: 2px solid #1b0bae;
    margin: auto;
    padding: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: 0.5s ease-out;
}

.pdp:hover {
    box-shadow: 5px 5px 15px;
    color: rgba(128, 128, 128, 0.36);
    width: 300px;
    height: 300px;
    border-radius: 250px;
}


@media screen and (max-width: 1600px) {
    .categories, .categories2{
        grid-template-columns: repeat(2, 1fr);
        
    }
    .card, .cartes{
        margin-bottom: 20px;   }


    .pdp:hover {
        box-shadow: 0px 0px 0px;
        color: #ffffff;
        width: 185px;
        height: 185px;
        border-radius: 100px;
    }

    .card:hover,.cartes:hover {
        border-width: 2px;
    }

}

@media screen and (max-width: 767px) {
    .categories, .categories2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .cartes {
        display: flex;
        flex-direction: column;
    }

}