html {
    background: black;
    scrollbar-color: rgb(100, 100, 100) rgb(37, 37, 37);
}
textarea {
    scrollbar-color: initial;
}
body {
    font-family: monospace;
    background: black;
    background: url("/assets/stars.png");
    background-blend-mode: multiply;
    background-attachment: fixed;
    image-rendering: pixelated;
    background-size: 600px;
    color: white;
    margin: 0;
}
li {
    font-size: 1.1em;
}
hr {
    color: rgb(179, 179, 0);
    border-style: none none solid none;
}
b {
    color: rgb(131, 255, 207);
}
code {
    background-color: rgb(7, 7, 7);
    color: rgb(177, 177, 177);
    padding: 2px 4px;
    font-size: 0.9em;
}

/* Email */
.e-m-a,
.i-l {
    display: none; /* Spam prevention */
}
.email {
    color: rgb(251, 255, 0);
}

/* Buttons */
.buttons {
    display: flex;
    gap: 10px;
    width: fit-content;
    margin: auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.buttons img,
#progress {
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 88px;
    height: 31px;
}
#progress {
    display: none;
}

/* Header */
#header {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    max-width: 100%;
}
#flag {
    width: 125px;
    object-fit: cover;
    image-rendering: auto;
    border-radius: 20px;
    padding: 2px;
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
#title {
    background: white;
    background: linear-gradient(
        90deg,
        rgb(255, 50, 118),
        rgb(255, 165, 31),
        rgb(219, 205, 0),
        rgb(133, 231, 14),
        rgb(59, 216, 255),
        rgb(216, 87, 255)
    );
    background-clip: text;
    color: transparent;
    background-size: cover;
    margin: 0px auto;
    width: 415px;
    font-size: 3em;
    text-shadow: none;
    filter: drop-shadow(5px 5px 3px rgba(255, 238, 0, 0.3));
    padding: 10px;
    text-align: center;
}
#desc {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 2px 2px 0px black;
    text-align: center;
    padding: 0px 10px;
}

/* Containers */
.wrapper {
    margin: 0px auto;
    padding: 10px 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    min-height: 100dvh;
}
.container {
    width: 100%;
    max-width: 1000px;
    background: url("/assets/background.png");
    background-size: 900px;
    padding: 20px;
    border: 3px outset rgb(116, 31, 31);
    border-image: linear-gradient(
        180deg,
        rgb(223, 0, 74),
        rgb(224, 135, 0),
        rgb(236, 193, 0),
        rgb(111, 202, 0),
        rgb(0, 169, 211),
        rgb(118, 0, 197)
    );
    border-image-slice: 1;
    color: white;
    box-sizing: border-box;
    box-shadow: 0px 0px 10px rgba(5, 1, 49, 1) inset;
}
.container p {
    font-size: 1.2em;
    line-height: 1.3em;
}
.container p:last-child {
    margin-bottom: 10px;
}
h1 {
    font-family: "Lemon", system-ui;
    font-size: 1.6em;
    font-weight: normal;
    margin-top: 5px;
    background: white;
    background: linear-gradient(
        90deg,
        rgb(255, 50, 118),
        rgb(255, 165, 31),
        rgb(219, 205, 0),
        rgb(133, 231, 14),
        rgb(59, 216, 255),
        rgb(216, 87, 255)
    );
    background-size: cover;
    background-clip: text;
    color: transparent;
    width: fit-content;
    filter: drop-shadow(2px 2px 0px black);
}
h2 {
    background: white;
    background: linear-gradient(
        90deg,
        rgb(255, 191, 54),
        rgba(239, 229, 36, 1),
        rgb(168, 255, 61)
    );
    background-size: cover;
    background-clip: text;
    color: transparent;
    width: fit-content;
}
li {
    line-height: 1.4em;
    font-size: 1.1em;
}
li::marker {
    color: cyan;
    font-weight: bold;
}

/* Quicklink */
#quicklinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.9em;
    margin-bottom: 20px;
}
#quicklinks a {
    text-decoration: none;
    padding: 5px 10px;
    color: white;
    background: black;
    background: linear-gradient(
        90deg,
        rgb(255, 50, 118),
        rgb(255, 165, 31),
        rgb(219, 205, 0),
        rgb(133, 231, 14),
        rgb(59, 216, 255),
        rgb(216, 87, 255)
    );
    background-size: cover;
    background-clip: text;
    color: transparent;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: brightness(0);
}
#quicklinks a:hover {
    background: rgb(247, 255, 139);
    color: black;
}

/* Members */
table {
    border-collapse: collapse;
    font-size: 1.1em;
}
td {
    border-top: 1px dashed rgba(255, 255, 255, 0.5);
    padding: 10px 5px;
    vertical-align: top;
    display: flex;
    gap: 10px;
}
tr:nth-child(1) td {
    border-top: none;
}
#members-wrapper {
    /* max-height: 400px; */
    overflow-y: scroll;
    scrollbar-width: thin;
    border: 1px solid rgb(172, 99, 4);
    scrollbar-color: #f7b910 #b67b0d;
    padding: 0px 10px;
    background: rgba(0, 0, 0, 0.4);
    image-rendering: pixelated;
}
a {
    color: rgb(255, 230, 0);
}
a:hover {
    color: white;
}
.member-links {
    display: flex;
    flex: 2.3;
    gap: 10px;
    align-items: center;
}
.member-desc {
    flex: 6;
    height: fit-content;
    margin: auto;
}
.member-desc.empty {
    display: none;
}

/* Widgets */
#widgets {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0px;
    flex-wrap: wrap;
}
.widget {
    width: fit-content;
}
.widget-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.widget-wrapper textarea {
    flex-grow: 1;
}
.widget-wrapper h3 {
    text-decoration: underline;
    margin: 0;
    margin-bottom: 10px;
}
#widgets textarea {
    background: rgb(0, 10, 0);
    border: 1px solid rgb(24, 74, 87);
    color: rgb(0, 204, 136);
}

/* Form */
form {
    padding: 0px 10px;
    margin: 30px auto 0px auto;
}
form label {
    color: rgb(209, 255, 101);
    line-height: 1.5em;
        display: flex;
    flex-direction: column;
}
form .required-note, form label .req {
    color: rgb(255, 255, 255);
}
.required-note {
    font-size: 0.8rem !important;
}
input::placeholder, textarea::placeholder {
    color: rgba(0, 223, 167, 0.5);
}
form input, form textarea {
    width: calc(100% - 10px);
    padding: 5px;
    background: rgb(0, 10, 0);
    border: 1px solid rgb(24, 74, 87);
    color: rgb(236, 255, 184);
    font-size: 1rem;
    font-family: monospace;
}
input:focus {
    outline: 1px solid rgb(182, 170, 0);
}
form input[name="description"] {
    text-align: top;
}
.alternative {
    color: rgb(0, 199, 192);
    font-style: italic;
}
.alternative .email {
    color: rgb(246, 255, 126);
}
form button {
    background-color: rgb(0, 82, 50);
    color: yellow;
    font-family: monospace;
    padding: 5px;
    border-radius: 10px;
    font-size: 1rem;
    border: 1px solid rgb(0, 138, 108);
}
form button:hover {
    cursor: pointer;
    border-color: rgb(0, 255, 242);
    color: white;
    background-color: rgb(5, 117, 74);
}


/* Small screen styling */
@media screen and (max-width: 620px) {
    body {
        margin: 10px 0;
    }
    .container {
        padding: 10px 15px;
    }
    #members-container {
        padding: 10px 0px;
    }
    #members-container > *:not(#members-wrapper) {
        padding: 0px 15px;
    }
    #members-wrapper {
        border-left: none;
        border-right: none;
    }
    #flag {
        display: none;
    }
    .buttons {
        position: absolute;
        opacity: 0.25;
        z-index: 0;
        top: 60px;
    }
    #progress {
        display: block;
    }
    #header {
        margin-top: 0px;
    }
    #title {
        font-size: 2.4em;
        filter: drop-shadow(2px 2px 2px rgba(255, 238, 0, 0.4));
    }
    #quicklinks,
    #desc,
    #progress {
        z-index: 1;
    }
    td {
        flex-direction: column;
    }
    .member-links .empty {
        display: none;
    }
}