:root {
    --border: 3px solid #8f563b;
}

* {
    box-sizing: border-box;
    scrollbar-color: white #8f563b;
    scrollbar-width: thin;
}

::selection {
    background: #8f563b;
    color: white;
}

@font-face {
    font-family: "Buba";
    src: url("fonts/Buba.otf");
}

@font-face {
    font-family: "Hanged Letters";
    src: url("fonts/HangedLetters.ttf");
}

body {
    font-family: "Arial";
    font-size: 1rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(143, 86, 59, 1) 100%);
    background-attachment: fixed;
}

a {
    color: #8f563b;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #b28873;
}

#wrapper {
    width: 600px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 10px 0 0 #b28873;
    border-radius: 20px 20px 0 0;
}

#container {
    border: var(--border);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    background-color: #ede1db;
}

table,
th,
td {
    border: var(--border);
    border-collapse: collapse;
    text-align: center;
}

table {
    width: 100%;
}

th,
td {
    padding: 5px 10px;
}

th {
    background-color: #b28873;
    color: white;
}

td {
    background-color: white;
}

ul {
    position: relative;
    list-style: none;
    margin: 0;
    padding-left: 1.2em;
}

ul li:before {
    content: "■";
    position: absolute;
    left: 0;
    color: #8f563b;
}

header {
    font-family: "Buba";
    font-size: 35px;
    text-align: center;
    color: #8f563b;
    border: var(--border);
    padding: 5px 10px;
    background-color: white;
    width: fit-content;
    border-radius: 20px;
    margin: auto;
    box-shadow: 10px 10px 0 0 #b28873;
}

#code,
#members,
#footer,
#welcome,
#join,
#rules,
#about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

#webringulist {
    width: 100%;
}

#footer {
    padding: 5px 10px;
    border: var(--border);
    border-top: none;
    background-color: #b28873;
    color: white;
}

#footer a {
    color: white;
}

#header {
    text-align: center;
    border: var(--border);
    border-bottom: none;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

#title {
    font-family: "Hanged Letters";
    font-size: 50px;
    color: white;
    background-color: #b28873;
}

.box {
    border: var(--border);
    background-color: white;
    width: -webkit-fill-available;
    padding: 5px;
}

#links {
    padding: 5px 10px;
    border-top: var(--border);
}

#melanatedmembers {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 10px;
}

hr {
    border-style: dashed;
    width: 100%;
    border-color: #8f563b;
}

input[type="text"],
select {
    border: var(--border);
    font-family: "Arial";
    color: black;
    font-size: 0.8rem;
    background-color: white;
    flex: 1;
}

input[type="text"]:focus {
    border: var(--border);
    outline: none !important;
}

button {
    font-size: 1rem;
    font-family: "Arial";
    border: var(--border);
    padding: 7.5px 10px;
    color: white;
    background-color: #8f563b;
    width: 100%;
    transition: 0.3s;
    cursor: pointer;
}

button:hover {
    background-color: #b28873;
    color: white;
}

button:disabled {
    cursor: not-allowed;
    background-color: #8f563b;
    color: white;
    opacity: 0.8;
}

#submission {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
