@import url("./palette.css");

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

body {
    display: flex;
    flex-direction: column;
    align-items: center;


    text-align: center;

    font-family: 'Courier New', Courier, monospace;

    background-color: var(--surface-0);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

.hidden {
    display: none;
}

div#fullscreen {
    user-select: none;

    margin-top: 7vh;
    width: 75vw;
    height: 93vh;


    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

section#singularities {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5vw;
    justify-content: center;
}

section#singularities > article {
    width: 20vw;
    padding: 1em;
    border-radius: 1em;

    border: .1em solid var(--subtext-0);

    text-align: left;

    background-color: var(--surface-2);

    transition: .25s;
}

section#singularities > article:hover {
    box-shadow: var(--surface-1) 6px 6px 5px 0px;
    transform: scale(1.02);
}

section#singularities > article.new:hover {
    box-shadow: var(--inverse-yellow) 6px 6px 5px 0px;
}

#tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    justify-content: end;
    gap: .5em;

    font-size: .9em;
}

.tag {
    height: 1em;
    padding: .2em .5em;
    border-radius: 1em;
    border: .2em solid;

    font-weight: 900;

    --default-bcolor: var(--inverse-subtext-0);
    --default-tcolor: var(--subtext-0);
    border-color: var(--default-tcolor);
    color: var(--default-tcolor);
    background-color: var(--default-bcolor);
}

.new {
    --default-bcolor: var(--inverse-yellow);
    --default-tcolor: var(--yellow);
}

.mythic {
    --default-bcolor: var(--inverse-pink);
    --default-tcolor: var(--pink);
}

.epic {
    --default-bcolor: var(--inverse-mauve);
    --default-tcolor: var(--mauve);
}

.rare {
    --default-bcolor: var(--inverse-sapphire);
    --default-tcolor: var(--sapphire);
}

.uncommon {
    --default-bcolor: var(--inverse-green);
    --default-tcolor: var(--green);
}

header {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 20vw;
    min-height: 5vh;
    padding: 1em;

    border-radius: 1em;
    border: solid var(--inverse-crust) .2em;

    font-size: 2em;

    background-color: var(--surface-2);
}

header > h1 {
    margin: 0;
    display: inline;
}


footer {
    padding: 1em 0 2em;
    background-color: var(--surface-1);
    width: 100vw;
    font-size: 1.1em;
    color: var(--subtext-1);
}

footer > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    color: var(--subtext-0);
    font-size: .95em;
}
