main > h1 {
    color: rgb(var(--couleur-3));
    text-align: center;
    font-style: italic;
}

/* //////////////////////////////////////////////////////////////////////////////////////////// */

/* PRODUIT DU MOMENT */

/* //////////////////////////////////////////////////////////////////////////////////////////// */

#moment{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    padding: 20px;
    width: 70%;
    margin: 20px auto;
    margin-bottom : 50px;
    border: 2px solid rgb(var(--couleur-3));
    border-radius: 15px;
}

#moment > div{
    display : flex;
    flex-direction: column;
}

#moment img{
    max-width: 100%;
    max-height: 100%;
}

/* Label du produit */
#moment h3{
    margin: 0;
    color: rgb(var(--couleur-3));
    font-size: 18pt;
}

#image-container {
    width : 100%;
    padding : 20px auto;
    display : flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-top : 70px;
    margin-bottom : 70px;
}

#image-container a {
    color : rgb(var(--couleur-3));
    text-decoration: underline;
    font-weight : 500;
}

#image-container > img {
    width : 50%;
}

#image-container > div {
    display : flex;
    flex-direction: column;
    align-items: center;
    width : 40%;
    height : 100%;
}

/* //////////////////////////////////////////////////////////////////////////////////////////// */

/* PARTENAIRES */

/* //////////////////////////////////////////////////////////////////////////////////////////// */

.conteneur{
    width: 80%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.image img{
    height: auto;
    width: auto;
    max-width: 95%;
    max-height: 700px;
    transition: all .2s ease-in-out;
}

.image img:hover{
    transform: scale(1.1);
}

.conteneur div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.conteneur div p:nth-child(1){
    font-size: 28pt;
    color: rgb(var(--couleur-3));
}

.conteneur div p:nth-child(2){
    font-size: 16pt;
    color: rgb(var(--couleur-1));
}

.texte p{
    text-align: center;
}

.texte a{
    color: rgb(var(--couleur-3));
    font-size: 14pt;
}

.texte span{
    width: 100%;
    display: flex;
}

.conteneur:nth-child(even) .texte span{
    justify-content: right;
}

.conteneur:nth-child(odd) .texte span{
    justify-content: left;
}

.texte a:hover{
    text-decoration: underline;
    cursor: pointer;
}

#moment a {
    color : rgb(var(--couleur-3));
    font-size : 18px;
    text-decoration: underline;
    margin-bottom : 15px;
}

/* //////////////////////////////////////////////////////////////////////////////////////////// */

/* RESPONSIVE */

/* //////////////////////////////////////////////////////////////////////////////////////////// */

/* TAILLE 3 : Mobile max 767px */

@media screen and (max-width: 767px){

    .conteneur{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .texte p:nth-child(2)
    {
        margin: 0 0 20px 0;
    }

    #image-container {
        flex-direction: column !important;
        width : 100%;
    }

    #image-container > img {
        height : unset;
        width : 90%;
    }

    #image-container > div {
        width : 100%;
    }

    #image-container p, #image-container h2 {
        width : 90%;
    }

    #moment {
        display : flex;
        align-items: center;
        flex-direction: column;
    }

    #moment img {
        width : 100%;
    }
}