/* -------------- FANCY BACKGROUND SHIT -------------- */
html {
    --s: 56px; /* control the size */
    /* Purble */
    --p1: #9d00ff;
    --p2: #5c084f;
    --p3: #ff00ee;
    /* Blue */
    --b1: #00a0db;
    --b2: #008cbe;
    --b3: #00BBFF;
    /* Yellow */
    --y1: #f0f000;
    --y2: #c8c800;
    --y3: #ffff00;

    /* Green */
    --g1: #49db00;
    --g2: #26be00;
    --g3: #11ff00;

    --c1: var(--b1);
    --c2: var(--b2);
    --c3: var(--b3);

    --_g: var(--c3) 0 120deg, #0000 0;
    background:
        conic-gradient(from -60deg at 50% calc(100%/3), var(--_g)),
        conic-gradient(from 120deg at 50% calc(200%/3), var(--_g)),
        conic-gradient(from  60deg at calc(200%/3), var(--c3) 60deg, var(--c2) 0 120deg, #0000 0),
        conic-gradient(from 180deg at calc(100%/3), var(--c1) 60deg, var(--_g)),
        linear-gradient(90deg, var(--c1)   calc(100%/6), var(--c2) 0 50%,
                            var(--c1) 0 calc(500%/6), var(--c2) 0);
    background-size: calc(1.732 * var(--s)) var(--s);
    animation: slideBackground 30s infinite linear;
    height: 100%;
    position: relative;
}

html::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background:
        conic-gradient(from -60deg at 50% calc(100%/3), var(--_g)),
        conic-gradient(from 120deg at 50% calc(200%/3), var(--_g)),
        conic-gradient(from  60deg at calc(200%/3), var(--c3) 60deg, var(--c2) 0 120deg, #0000 0),
        conic-gradient(from 180deg at calc(100%/3), var(--c1) 60deg, var(--_g)),
        linear-gradient(90deg, var(--c1)   calc(100%/6), var(--c2) 0 50%,
        var(--c1) 0 calc(500%/6), var(--c2) 0);
    background-size: calc(1.732 * var(--s)) var(--s);
    filter: blur(4px);
    animation: slideBackground 30s infinite linear;
}

@keyframes slideBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% -100%;
    }
}

/* -------------- FANCY BACKGROUND SHIT -------------- */

/* ------------------ REGULAR STUFF ------------------ */

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: white;
    text-align: center;
}

h1, h2, p, ul, li { text-shadow: black -2px 2px 10px; }

video { pointer-events: none; }

li { display: block; }

/* ------------------ REGULAR STUFF ------------------ */

.tileContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    gap: 20px;
}

.tile {
    --c3:#7EDD80;
    --c4: #FBFF00;

    border-radius: 1vw;
    border-width: 0.5vw;
    border-color: #ffffff;

    border-style: double;

    width: 300px;
    height: auto;
    padding: 30px;

    
    color: white;
    font-weight: bold;

    background-color: var(--c3);
    box-shadow: var(--c4) 0px 10px 0px;
    
    user-select: none; /* e.g. Dragging the mouse over it selects text or u can drag it*/
    transition: 0.4s;
    cursor: pointer;
} .tile span { vertical-align: middle; }

.tile.notReady {
    background-color: var(--c4);
    box-shadow: var(--c3) 0px 10px 0px;
    cursor: not-allowed;
}

.material-icons {
    /* color: var(--c2); */
    font-size: 100px !important;
    /* text-shadow: black -5px 5px 10px; */
}

.tile:hover {
    box-shadow: var(--c4) 0px 0px 0px;
    transform: translate(0%, 5%); /* FIX THIS WEIRD EFFECT WITH THE HOVERING!!! */
    /* I know you, you're never going to fix it, are youu */
} .tile.notReady:hover {
    box-shadow: var(--c3) 0px 0px 0px;
}

.tile.active {
    background-color: red;
    animation-name: pulse;
    animation-iteration-count: infinite;
    animation-direction: both;
    animation-duration: 3s;
} .tile.active > .material-icons {
    color: #FBFF00;
    text-shadow: var(--c4) -2px 2px 20px;
}

@keyframes pulse {
    0% {filter:brightness(1)}
    50% {filter:brightness(0.8)}
    100% {filter:brightness(1)}

    /* 0% {filter: hue-rotate(0deg)}
    50% {filter: hue-rotate(30deg)}
    100% {filter: hue-rotate(0deg)} */
}

/* Chrome, Safari, Edge, Opera  - hide the number box spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#pinHolder {
    padding: 0; 
    margin: 0 auto; 
    display: flex;
    justify-content:center;
} #pinHolder > input {
    transition: 0.2s;
    border: none;
    border-radius: 1vw;
    text-align: center; 
    width: 15%;
    font-size: 200%;
    margin-right:5px;
} #pinHolder > input:focus {
    border: 5px solid var(--c3);
    outline:none;
} #pinHolder.ready > input:focus {
    border: 5px solid var(--c4);
}