.TitreSection {
    text-align: center;
    font-size: 60px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.soustitre {
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin: 0px;
    font-weight: 200;
}

/*Partie 1*/

#Partie1 {
    background-color: rgb(255, 255, 255);
    height: 100vh;
    padding-top: 50px;
}

.veilleAccueil {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.veilleAccueil-G {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.veilleAccueil-D {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.veilleAccueil-G img {
    height: 80%;
    width: 80%;
    border-radius: 15px;
}

/*Partie 2*/

#Partie2 {
    background-color: rgb(255, 255, 255);
}

.block2 {
    display: flex;
    align-items: center;
    padding: 50px;
}

.block2-G {
    width: 18%;
    height: auto;
}

.block2-D {
    width: 82%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.bar {
    height: 75%;
    border-left: solid 2px rgb(0, 0, 0);
    opacity: 0.4;
}

.card {
    position: relative;
    background-color: rgb(207, 207, 207);
    height: 60vh;
    width: 32vh;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s;
}

.card-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
}


.card-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 10px;
}

.card-date,
.card-rating,
.card-description {
    font-size: 16px;
    margin: 5px 0;
}

.card:hover img {
    opacity: 0.3;
}

.card:hover .card-info {
    opacity: 1;
}

.card:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.sous2 {
    margin-top: 50px;
}

.card-description {
    margin: 5px;
}

.outil {
    display: inline-block;
    /* Pour que les rectangles s'affichent côte à côte */
    color: #ffffff;
    /* Couleur de texte sombre */
    padding: 5px 10px;
    /* Espacement intérieur */
    border-radius: 8px;
    /* Coins arrondis */
    border: 1px solid rgb(255, 255, 255);
    margin: 5px;
    /* Espacement entre les outils */
    font-size: 0.9rem;
    /* Taille de police */
    transition: background-color 0.3s;
    /* Transition pour l'effet au survol */
}

@media (max-width: 480px) {
    .veilleAccueil {
        flex-direction: column;
    }

    .veilleAccueil-G {
        width: 90%;
    }

    .veilleAccueil-D {
        width: 90%;
    }

    .TitreSection {
        font-size: 30px;
    }
}