:root {
  /* Ponder grid theme colors */
  --filter-handle-bg: #7f7f7f; /* #333333; */
  --filter-handle-expanded-bg: #7f7f7f; /* #2a2a2a; */
  --criterion-header-bg: #1a1a1a;
  --cell-bg: #1e1e1e;
  --cell-hover-bg: rgba(255, 215, 0, 0.1);
  --grid-gap-color: #111;
  
  /* Sort indicators */
  --sort-indicator-color: #888;
  --sort-indicator-hover: #fff;
}
html {
    overflow: hidden;             /* prevent elastic overscroll on mobile */
    overscroll-behavior: none;
}
body {
    font-family: Arial, sans-serif;
    background-color: seagreen;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;             /* prevent elastic overscroll on mobile */
    overscroll-behavior: none;
    color: #333;
}
h1 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}
h1 a {
    text-decoration: none;
    color: inherit;
}
form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
fieldset {
    display: flex;
    flex-direction: column;
    width: 100%;
}
label {
    margin-bottom: 8px;
    font-weight: bold;
}
input[type="text"],
input[type="email"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}
button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}
button[type="submit"]:hover {
    background-color: #45a049;
}
#feedback {
    color: red;
    margin-top: -15px;
    margin-bottom: 15px;
}
#earlyaccess {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #555;
}
#earlyaccess a {
    color: #1e90ff;
    text-decoration: none;
}
#earlyaccess a:hover {
    text-decoration: underline;
}
button.link-button {
    z-index: 100;
    position: absolute;
    top: 3em;
    right: 0.1em;
    color: white;
    background-color: red;
    border-radius: 0.5em;
    font-size: 1.1em;
    cursor: pointer;
    transform: rotate(38deg);
    border: none;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}
button.link-button:hover {
    background-color: darkred;
}
#logo-banner {
    background-image: url('/img/thinkertoys-cute-lightbulb.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
}
