/* Imports */

@import url("https://jgamestaken.net/static/constants.css");
@import url('https://jgamestaken.net/static/fonts/jgamestaken-blocky/jgamestaken-blocky.css');

/* Define body */

body {
    background-color: var(--background-colour);

    width: 100vw;
    height: 100vh;

    overflow: hidden;

    padding: 0;
    margin: 0;
}

.content {
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    z-index: 2;
}

/* Splash text */

h1 {
    color: var(--text-colour);

    font-size: clamp(20px, 6vw, 100px);;
    font-family: jgamestaken-blocky;

    z-index: 3;

    margin: 40px;

    border: none;
}

h2 {
    color: var(--secondary-text-colour);

    font-size: clamp(10px, 6vw, 30px);
    font-family: jgamestaken-blocky;

    z-index: 3;

    margin: 10px;
    margin-bottom: 40px;

    border: none;
}

/* Divider */

hr {
    width: 40vw;
    height: 3px;

    margin-bottom: 40px;

    background-color: var(--text-colour);
    color: var(--text-colour);

    border: none;
}

@media (max-width: 600px) {
    hr {
        width: 80vw;
    }
}

/* Buttons */

.buttongrid {
    display: flex;
    flex-direction: row;

    gap: 24px;
}

a {
    padding: 16px 20px;

    color: var(--button-text-colour-unselected);

    font-size: 14px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    border-radius: 8px;
    border: 2px solid var(--border-colour);

    background: transparent;

    text-decoration: none;

    cursor: pointer;

    transition: all 0.2s ease;

    z-index: 4;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

a img {
    width: 24px;
    height: 24px;
}

a:hover {
    transform: scale(1.1);
    
    background-color: var(--border-colour);

    color: var(--button-text-colour-selected);
}

a:hover img {
    filter: invert(100%);
}

/* Buttons on mobile */

@media (max-width: 600px) {
    .buttongrid {
        flex-direction: column;
    }

    a {
        width: 70vw;
    }
}

/* Dots */

.scene {
    position: absolute;
    inset: 0;
    z-index: 0;

    overflow: hidden;

    width: 100vw;
    height: 100vh;

    filter: blur(4px);
    transform: scale(1.02); /* prevents edge blur cutoff */
}

#dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    z-index: 1;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--text-colour);
    border-radius: 50%;

    pointer-events: none;

    z-index: 1;
}

#lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 0;
}

/* Status page dot */

p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 18px;

    color: var(--text-colour);
    text-align: center;

    display: inline-flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;

    gap: 12px;

    z-index: 4;
}

.statusDot {
    width: 15px;
    height: 15px;

    border-radius: 100vh;

    background-color: #33ff33;
}

