:root {
    --border: oklch(100% 0 0 / .1);
    --secondary: oklch(26.9% 0 0);
    --ring: oklch(55.6% 0 0);
    --card: oklch(20.5% 0 0);

    scrollbar-color: #9f9f9f #2c2c2c;

    color: white;
    font-family: GalanoGrotesque;
}

@font-face{
    font-family: Penumbra;
    src: url('./PenumbraWebPro-Serif.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: GalanoGrotesque;
    src: url('./galano-grotesque-alt/GalanoGrotesqueRegular.otf');
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: Penumbra;
    text-shadow: black 5px 5px 5px;
    text-align: center;
    letter-spacing: 0.15em;
}

.grey {
    --type-color: #5c6b78 !important;
}

.blue {
    --type-color: #513893 !important;
}

.brown {
    --type-color: #6e3f10 !important;
}

.green {
    --type-color: #2a6726 !important;
}

.yellow {
    --type-color: #999938 !important;
}

.pink {
    --type-color: #844769 !important;
}

.orange {
    --type-color: #977500 !important;
}

folder {
    width: 150px;
    height: 150px;
    margin: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;

    text-shadow: black 2.5px 2.5px 2.5px;
}

folder > img {
    width: 120px;
    height: 120px;
    margin-bottom: -10px;

    --type-color: #5c6b78;

    image-rendering: pixelated;
    background-color: var(--type-color);
    background-image: url(./Folder.webp);
    background-size: cover;
    background-blend-mode: multiply;
    mask-image: url(./Folder.webp);
    mask-size: cover;

    backdrop-filter: blur(1px);

    transition-duration: .2s;
}

folder:hover > img {
    transform: rotate(2.5deg) translate(0px, -5px);
}

file {
    height: fit-content;
    margin: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;

    text-align: center;
    overflow: hidden;

    --type-color: #5c6b78;

    background-color: var(--type-color);
    border: var(--type-color) solid 3px;
    border-radius: 10px;
    transition-duration: .2s;
}

.disabled {
    opacity: .5;
    cursor: inherit;
    transform: translate(0px, 0px) !important;
}

file > div {
    max-width: 165px;
    margin: 5px;
    padding: 5px 10px;

    text-align: left;
    align-self: baseline;

    border: rgba(255, 255, 255, .25) solid 1px;
    background-color: rgba(0, 0, 0, .333);
}

file > img {
    width: 200px;
    height: 200px;
    margin-bottom: -3px;

    object-fit: contain;
    background-color: #2b2e33;
    transition-duration: .2s;
}

file:hover {
    transform: translate(0px, -5px);
}

block {
    max-width: 750px;
    padding: 10px;
    margin-bottom: 40px;
    line-height: 1.5em;
    display: block;

    --type-color: #513893;

    background-color: #2b2e33;
    border: var(--type-color) solid 3px;
    border-radius: 10px;
}

header {
    background-color: var(--type-color);
    margin: -10px -10px 10px -10px;
    padding: 5px;
}

h2 {
    width: fit-content;
    margin: 0px;
    padding: 5px 10px;

    font-size: 16px;
    font-weight: normal;
    border: rgba(255, 255, 255, .25) solid 1px;
    background-color: rgba(0, 0, 0, .333);
}

header > svg {
    height: 30px;
}

header > svg.bttn {
    cursor: pointer;
    fill: rgba(255, 255, 255, .5);
    transition-duration: .2s;
}

header > svg.bttn:hover {
    fill: rgba(255, 255, 255, 1);
}

block > divider {
    display: block;
    height: 1px;
    margin: 15px -10px;
    background-color: rgba(255, 255, 255, .25);
}

block > img, diagram > img {
    width: 100%;
    margin-top: 10px;

    border-radius: 10px;
}

a {
    font-weight: bolsd;
    cursor: pointer;
    color: #dbcffd;
    text-decoration: underline;
}