body {
    margin: 0;
    background-color: lightslategray;
    overflow-x: hidden;
}

.jacquard-24-regular {
  font-family: "Jacquard 24", system-ui;
  font-weight: 400;
  font-style: normal;
}

/*première partie "page d'accueil*/
#top {
    padding: 10px;
    background-color: lightslategray;
}

h2 {
    position: relative;
    font-family: "jacquard 24", system-ui;
    font-size: 230pt;
    padding: 140px;
    padding-bottom: 20px;
    margin: 0;
    display: flex;
    justify-content: center;
    color: black;

}

.ligne::after,
.ligne::before {
    content: "";
    position: absolute;
    height: 4px;
    width: 200%;
    top: 50%;
    right: 100%;
    background: black;

}

.ligne {
    display: inline-block;
    position: relative;
    padding: 0px 15px 5px 15px
}

.ligne::after {
    left: 100%;
}

.deco {
    display: grid;
    justify-content: center;
    font-family: "jacquard 24", system-ui;
    font-size: 28pt;
    padding-bottom: 7%;
}

/*deuxième partie "page catalogue*/
#main {
    display: grid;
    grid-template-columns: repeat(3, 1fr) minmax(50px, 1fr);
    grid-template-rows: repeat(4, min-content);
    justify-content: center;
    gap: 3%;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    margin-left: 4rem;
    margin-right: 4rem;
    background-color: lightslategray;
}

#info {
    position: fixed;
    z-index: 2;
    top: 50.0%;
    width: 33%;
    transform: translate(15%, 10%);
    cursor: pointer;
}

.cards {
    cursor: pointer;
    display: block;
    height: 50vh;
    width: 20vw;
    box-shadow: 5px 5px 5px black;
    border: 1px solid black
}

.remplissage {
    width: 100%;
    height: 100%;

}

#text {
    position: fixed;
    display: none;
    top: -35.8vh;
    left: 27vw;
    height: auto;
    width: 65vw;
    z-index: 2;
    color: black;
    font-family: arial, sans-serif;
    font-size: 14pt;
    padding: 1%;

}