@font-face {
    font-family: "Doto";
    src: url("./fonts/Doto.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --background-color: #0c131c;
}

body {
    margin: 0;
    isolation: isolate;
    font-family: "Doto", sans-serif;
    background-color: var(--background-color);
    overflow: hidden;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.welcome {
  grid-row: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  color: white;
}

.welcome_name {
    margin: 0;
    width: 75%;
    text-align: center;
    font-size: clamp(2rem, 5vw, 5rem);
}

.welcome_sub {
    margin: 0;
    width: 50%;
    text-align: center;
    font-size: clamp(1.5rem, 2.5vw, 5rem);
}

.welcome_name,
.welcome_sub {
    text-shadow: 0 0 2px #0c131c, 0 0 4px #0c131c, 0 0 7px #0c131c;
}

.welcome_links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.welcome_links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.welcome_links img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    opacity: 0.8;
}

.welcome_links a:hover img,
.welcome_links a:focus-visible img {
    opacity: 1;
}

.content {
    padding: 3rem;
}

body.is_painting {
    user-select: none;
    -webkit-user-select: none;
}

main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    padding: 0 1rem;
    overflow: hidden;
}

.bottom {
    grid-row: 3;
    align-self: stretch;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    margin: 0;
    max-width: 100%;
    color: var(--background-color);
    text-align: center;
    font-size: clamp(1rem, 1.75vw, 2rem);
    font-weight: 800;
    line-height: 1.4;
}

.bottom p {
    margin: 0;
}

.copyright {
    color: white;
    padding-bottom: max(0.25rem, env(safe-area-inset-bottom));
}

.splash_layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.4;
}

.splash_layer canvas {
    display: block;
    image-rendering: pixelated;
}
