html {
    min-height: 100%;

    --primary-color: #E40066;
    --background-color: #1A2123;
    --background-color-dark: #353f42;
    --background-color-light: #232C2F;
    --accent-background-color: #040926;
    --secondary-color: #FFC914;
    --text-color: #7E98A0;
    --border-color: rgb(75, 85, 99);
    --base-font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}



body {
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: var(--base-font-family), ui-sans-serif
}

.jersey-15-regular {
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    font-style: normal;
}

header {
    background-color: var(--background-color-light);
    padding-left: .5rem;
    border-bottom: 1px solid var(--primary-color);
}

header .title {
    margin: 0;
    padding: 0;
    font-size: 2.5rem;
    user-select: none;
    background-image: linear-gradient(to right, #ff5770, #e4428d, #c42da8, #9e16c3, #6501de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

summary {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: .6rem;
}

details[open] summary {
    margin-bottom:0;
    border-radius: 5px 5px 0 0;
}

details[open] {
    margin-bottom: 1rem;
}

details[open] {
    border-radius: 5px 5px 0 0;
}

details {

}

.hidden {
    display: none !important;
}

main {
    padding: .5rem;
}

main hr {
    border: 0;
    border-top: 1px solid var(--primary-color);
    width: 100%;
}

@keyframes slideaway {
    from {
        display: inline;
    }
    to {
        opacity: 0;
    }
}

select {
    background-color: var(--background-color-light);
    border: 1px solid var(--border-color);
    border-radius: .3rem;
    box-sizing: border-box;
    color: var(--text-color);
    font-size: .875rem;
    font-weight: 600;
    /*text-align: center;*/
    margin: .2rem;
    padding: .2rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-transform: capitalize
}

select:hover {
    border: 1px solid var(--primary-color);
}

select:focus-visible {
    border-color: var(--primary-color);
    outline: none;
}

a.button,
button {
    background-color: var(--background-color-light);
    border: 1px solid var(--border-color);
    border-radius: .3rem;
    box-sizing: border-box;
    color: var(--text-color);
    font-size: .875rem;
    font-weight: 600;
    text-align: center;
    margin: .2rem;
    padding: .5rem;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-transform: capitalize
}

table button {
    margin: .2rem;
    padding: .2rem;
}

a.button {
    padding: 0.6rem;
    display: table;
}

a.button:hover,
button:hover {
    border: 1px solid var(--primary-color);
}

a.button:disabled,
button:disabled {
    background-color: var(--background-color);
    cursor: not-allowed;
}

a.button:disabled:hover,
button:disabled:hover {
    background-color: var(--background-color);
    color: var(--text-color);
}

a.button:focus-visible,
button:focus-visible {
    border-color: var(--primary-color);
    outline: none;
}

input[type=text] {
    border: none;
    width: 99%;
    height: 2rem;
    color: var(--text-color);
    background-color: transparent;
    border-bottom: 1px solid #777777;
    margin-bottom: 0.5rem;
    font-size: .8rem;
    font-family: var(--base-font-family), ui-sans-serif;
}

input[type=number] {
    border: none;
    width: 99%;
    height: 2rem;
    color: var(--text-color);
    background-color: transparent;
    border-bottom: 1px solid #777777;
    margin-bottom: 0.5rem;
    font-size: .8rem;
    font-family: var(--base-font-family), ui-sans-serif;
}

input[type=text]:focus {
    outline: none;
    border-bottom: 1px solid var(--primary-color);
    accent-color: var(--primary-color);
}

input[type=range] {
    outline: none;
    accent-color: var(--primary-color);
}

footer {
    background-color: var(--background-color-light);
    padding: .5rem;
}

textarea {
    border: none;
    width: 99%;
    height: 2rem;
    color: var(--text-color);
    background-color: transparent;
    border-bottom: 1px solid #777777;
    margin-bottom: 0.5rem;
    font-size: .8rem;
    font-family: var(--base-font-family), ui-sans-serif;
}

textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--primary-color);
    accent-color: var(--primary-color);
}

.hr-text {
    position: relative;
    text-align: left;
    border: 0;
    width: 100%;
    margin: 0;
}

.hr-text::before {
    content: "";
    background: var(--primary-color);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text::after {
    background-color: var(--background-color);
    color: var(--primary-color);
    content: attr(data-content);
    margin-left: 1rem;
    line-height: 1.5em;
    padding: 0.5rem;
    position: relative;
}
