@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

html,
body {
    margin: 0;
    padding: 0;
}

:root {
    --main-color: #fff;
    --mauve_fluo: #fff;
    --orange_fluo: #fff;
    --cyan_fluo: #fff;
    --vert_fluo: #fff;
}

* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    /* line-height: 1.45rem; */
    color: var(--main-color);

    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background: none;
    margin: 0;
    padding: 0;
    border: none;
    transition: color 2s cubic-bezier(0.075, 0.82, 0.165, 1), all .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

main {
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

h1,
h2,
h3,
p {
    margin: 0;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style-type: none;
}

label {
    display: block;
}

input[type="checkbox"] {
    margin: 0 4px;
}

button:hover {
    color: grey;
}

.offset_top {
    padding: 12px 0 20px 0;
}

.fixed {
    position: sticky;
    top: 0px;
}

.no-bar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-bar::-webkit-scrollbar {
    display: none;
}


/* BACKGROUND */
.background {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: auto;
    z-index: -999;
}


/* HEADER */
header {
    flex: 1;
    height: 100vh;
}

.logo_ensapvs {
    position: absolute;
    bottom: 20px;
    left: 20px;
    fill: var(--main-color);
    width: 50px;
    height: auto;
}


/* INFOS */
.infos {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    font-weight: 500;
}

.infos * {
    font-weight: 500;
}

.infos .content {
    min-width: 30ch;
    max-width: 30ch;
    overflow-y: auto;
}

/* FILTERS */
.filters {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.filters * {
    text-align: right;
}


.filters ul {
    margin-bottom: 10px;
}

/* GRID */
.grid {
    flex: 4;
    margin-top: 20px;
    margin-bottom: 20px;
    height: fit-content;

    display: grid;
    align-items: start;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    grid-auto-flow: dense;
}

.item {
    text-align: center;
    font-size: 5em;
    color: #0580d5;
    transition: .2s;
    aspect-ratio: 1/1;
    text-decoration: none;
    background: var(--cyan_fluo);
    text-align: left;
    color: #000;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.item.fake {
    background: transparent;
}

.item.off {
    display: none;
}

.item * {
    color: #000;
}


.item.doc_architecture {
    background: var(--vert_fluo);
}

.item.doc_entretien {
    background: var(--orange_fluo);
}

.item.doc_article {
    background: var(--mauve_fluo);
}

a.item:hover {
    grid-column: span 5;
    grid-row: span 5;
}

.item>* {
    display: none;
}

.item:hover>* {
    display: block;
}

.puce {
    background: green;
    width: 100%;
    height: 100%;
}