/*
Michail Kanakas
10.01.2024
CSS de la page règles
*/

.fadeDuTitre {
    position: relative;
    width: 100%;
    height: 2.5vw;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

#contenu {
    color: black;
}

#contenu .titre {
    display: flex;
    align-items: center;
    font-size: 1.6vw;
    margin-left: 22.5vw;
    margin-right: 22.5vw;
    transition: all 0.4s ease-out;
}

#contenu .titre:hover {
    transition: all 0.4s ease;
    transform: scale(1.04);
}

#contenu .cacher {
    text-align: justify;
    font-family: "Roboto flex", serif;
    font-weight: 500;
    font-size: 1.25vw;
    margin-left: 22.5vw;
    margin-right: 22.5vw;
    margin-top: 1vw;
    display: none;
}

#contenu svg {
    height: 1.6vw;
    margin-right: 1vw;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

#contenu svg path {
    transition: all 0.3s ease-in-out;
}

#contenu h2 {
    margin-bottom: 1vw;
    margin-top: 1vw;
    transition: all 0.3s ease-in;
}

#contenu h2 {
    cursor: pointer;
}

#contenu #premierTitre {
    padding-top: 2.5vw;
}

#contenu #dernierArticle {
    margin-bottom: 5vw;
}

#contenu li {
    margin-top: 0.15vw;
    margin-bottom: 0.15vw;
}

#contenu span {
    font-weight: 900;
}

footer {
    margin-top: 5vw;
}

header svg path {
    transition: all 0.4s ease-out;
}

header svg:hover path {
    fill: #D20A0A;
    transition: all 0.4s ease;
}

@media (max-width: 650px) {

    #contenu p,
    #contenu span,
    #contenu li {
        font-size: 2.25vw;
    }

    #contenu h2 {
        font-size: 2.75vw;
    }

    #contenu .titre,
    #contenu .cacher {
        margin-left: 12.5vw;
        margin-right: 12.5vw;
    }
}