/*
Michail Kanakas
10.01.2024
CSS pour la page découvertes
*/

.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));
}

#menu {
    color: black;
    display: flex;
    justify-content: space-between;
    padding-top: 2vw;
    margin-left: 10vw;
    margin-right: 10vw;
    font-size: 2.5vw;
    margin-bottom: 2vw;
    align-items: center;
}

#menu .categorie {
    text-align: left;
    transition: all 0.4s ease-out;
    cursor: pointer;
}

#menu .categorie:hover {
    text-align: left;
    transition: all 0.4s ease;
    transform: scale(1.05);
}

#menu #indication {
    text-align: right;
    font-size: 2vw;
}

#menu #gauche {
    color: #D20A0A;
}

#menu #droite {
    margin-right: 1.5vw;
}

#records section,
#moments section {
    background-color: white;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-bottom: 3vw;
    color: black;
    box-shadow: 0px 18px 30px rgba(0, 0, 0, 0.07);
    padding: 1vw;
    border-radius: 1.5vw;
    transition: all 0.4s ease-out;
}

#records section:hover,
#moments section:hover {
    transition: all 0.4s ease;
    transform: scale(1.025);
}

.invisible {
    color: black;
    display: none;
    justify-content: center;
    align-items: center;
}

.visible {
    display: flex;
    justify-content: space-between;
}

.visible .colonneGauche {
    width: 50vw;
    margin-left: 0.5vw;
}

.visible .colonneDroite {
    margin-right: 0.5vw;
}

.visible .colonneGauche h1,
#moments .visible h1 {
    margin: 0;
    font-size: 2.75vw;
    cursor: pointer;
}

.visible .colonneGauche p,
#moments .visible p {
    margin: 0;
    margin-top: 0.5vw;
    font-size: 1.75vw;
    font-weight: 500;
    font-family: "Roboto flex", serif;
}

.visible .colonneDroite p,
.visible .colonneDroite h1,
.visible .colonneDroite h2 {
    text-align: end;
    margin: 0;
}

.visible .colonneDroite h1 {
    font-size: 2.5vw;
    color: #D20A0A;
    cursor: pointer;
}

.visible .colonneDroite h1 a {
    color: #D20A0A;
    text-decoration: none;
}

.visible .colonneDroite h2 {
    font-size: 2.25vw;
    color: #929292;
}

.visible .colonneDroite p {
    font-size: 2vw;
}

iframe {
    width: 75vw;
    margin-top: 1.5vw;
    margin-bottom: 0.5vw;
    height: 42.3vw;
}

#moments .visible {
    display: block;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
}

#moments {
    display: none;
}

header svg path {
    transition: all 0.4s ease-out;
}

header svg:hover path {
    fill: #D20A0A;
    transition: all 0.4s ease;
}

@media (max-width: 650px) {

    #records p,
    #moments p {
        font-size: 2.25vw;
    }
}