.modal {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .7);

    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 100%;
    height: 100%;

    background: white;
}

.modal-content>button {
    z-index: 2;
}

#pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

main {
    display: grid;
    grid-auto-flow: column dense;
    align-items: start;


    grid-template-columns: minmax(100px, 270px);
    grid-template-rows: minmax(100px, 270px);

    padding: 20px;
    gap: 10px;
}

main>div {
    height: 100%;
    display: grid;
    grid-auto-flow: row;
    align-content: start;
    justify-content: center;

    gap: 50px;

    padding: 15px;

    cursor: pointer;
}

#pdf-modal {
    padding: 0;
}
