html {
    --background: #C9B4D2;
    --header: #C8ABD9;
    --text: #000;
    --primary: #da99e3;
    --secondary: #8200DB;
    --accent: #cb5b69;
    --font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html.dark {
    --background: #130021;
    --header: #2D1242;
    --text: #f1def6;
    --primary: #da99e3;
    --secondary: #8c2129;
    --accent: #cb5b69;
    --font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body,
p {
    margin: 0;
}

:root {
    color: var(--text) !important;
}

body {
    font-family: var(--font);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh !important;
}

.header {
    display: flex;
    justify-content: space-between;
    background-color: var(--header);
    padding: 16px 32px 16px 32px;
    font-size: 1.75rem;
}

.header>div {
    display: flex;
    flex-direction: row;
}

a {
    transition: all 0.5s;
    color: var(--header-link-base);
    text-decoration: underline dotted;
}

.header>*>a:hover {
    text-decoration: underline !important;
    color: var(--primary) !important;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.content {
    width: auto;
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background);
}

.content>.footer {
    margin-top: auto;
    margin-bottom: 10px;
}

.secondary:hover {
    color: var(--secondary) !important;
}

p.secondary {
    cursor: pointer;
    text-decoration: underline dotted;
}

#cat-image {
    width: calc(25%);
    height: auto;
    border-radius: 1.5rem;
    margin-top: auto;
}

.center {
    margin-top: auto;
    background-color: var(--header);
    border-radius: 1.5rem;
    border-color: rgb(from var(--primary) calc(r * 0.3) calc(g * 0.3) calc(b * 0.3));
    border-width: 2px;
    border-style: solid;
    padding: 12px;
    max-width: 50%;
}

#instructions {
    margin-left: 15px;
    margin-right: 15px;
}

#instructions h2::before {
    content: "▶";
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-2px);
}

#instructions.active h2::before {
    transition: transform 0.3s ease-in-out;
    transform: rotate(90deg) translateY(-2px);
}

#instructions h2 {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    user-select: none;
}

#instructions ol {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    transition: margin-top 0.3s ease-in-out;
    margin: 0;
}

#instructions.active ol {
    margin-top: 10px;
    max-height: 500px;
    transition: max-height 0.3s ease-in-out;
    transition: margin-top 0.3s ease-in-out;
}

.button-design, .mod-button {
    padding: 10px 0px;
    border-radius: 0.5rem;
    border: 2px solid rgb(from var(--primary) calc(r * 0.5) calc(g * 0.5) calc(b * 0.5));
    background-color: var(--primary);
    color: white;
    font-family: monospace;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    width: 100rem;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.secondary-button {
    background-color: var(--secondary);
    border-color: rgb(from var(--secondary) calc(r * 0.5) calc(g * 0.5) calc(b * 0.5));
}

.mod-button {
    background-color: #ababab;
    border-color: #555555;
}

.mod-button.selected {
    background-color: limegreen;
    border-color: darkgreen;
}

#input {
    display: flex;
    margin-bottom: 12px;
    gap: 12px
}

#mod-selection {
    display: flex;
    margin-bottom: 12px;
    gap: 12px
}