/* eternle stylesheet v0.4.1 */
/* by las-r on github */

html {
    height: 100%;
}

body {
    margin: 50px;
    min-height: 100vh;
    background-color: #000;
    background-image:
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url("background.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: monospace;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}

h1, h2 {
    font-weight: 500;
    margin: 1rem 0;
}

h1 {
    font-size: 3rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    text-align: left;
}

p.title {
    text-align: center;
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

p.footer {
    text-align: center;
    font-size: 0.9rem;
}

p.attr {
    font-size: 0.8rem;
    color: #999;
}

input {
    padding: 0.4rem 0.6rem;
    margin-bottom: 1rem;
    border: 1px solid #555;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.3);
    color: #fff;
    font-family: monospace;
}

input:focus {
    outline: none;
    border-color: #888;
}

.btns {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

button {
    padding: 0.5rem 1rem;
    background: rgba(34, 34, 34, 0.3); /* slightly transparent */
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    cursor: pointer;
    font-family: monospace;
    transition: 0.2s;
}

button:hover {
    background: rgba(51, 51, 51, 0.3);
    border-color: #888;
}

input, button {
    backdrop-filter: blur(3px);
}

table {
    width: 90%;
    max-width: 400px;
    margin: auto;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

th, td {
    padding: 0.5rem 0.75rem;
    text-align: left;
}

tr {
    border-bottom: 1px solid #555;
}

tr:last-child {
    border-bottom: none;
}

.game {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

hr {
    margin: 2rem;
}

.center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

.hidden {
    display: none;
}

details {
    user-select: none;
    margin-top: 1rem;
    font-size: 12px;
}

i {
    color: #aaa;
}
