@font-face {
    font-family: 'Acumin Pro';
    font-style: normal;
    font-weight: normal;
    src: local('Acumin Pro'),
        url('/assets/fonts/Acumin-RPro.woff') format('woff');
}

@font-face {
    font-family: 'Acumin Pro Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Acumin Pro Italic'),
        url('/assets/fonts/Acumin-ItPro.woff') format('woff');
}

@font-face {
    font-family: 'Acumin Pro Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Acumin Pro Bold'),
        url('/assets/fonts/Acumin-BdPro.woff') format('woff');
}

@font-face {
    font-family: 'Acumin Pro Bold Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Acumin Pro Bold Italic'),
        url('/assets/fonts/Acumin-BdItPro.woff') format('woff');
}

:root {
    --big-v-yellow: #fdd200;

    /* 2024 colours */
    --2024-yellow: #fdd200;
    --2024-green: #537831;

    /* 2025 colours */
    --2025-yellow: #fdd200;
    --2025-red: #e72130;
    --2025-blue: #1761a8;

    --main-colour: var(--2025-red);
    --secondary-colour: var(--2025-red);
    --button-shadow: var(--2025-red);

    --no-op-colour: color-mix(in srgb, var(--2025-blue) 40%, white);
    /* muted red */
    --error: #d64022;

    --sc-l60: #6b96e1;

    --neutral: #ccc;
    --fire: #d65a22;
    --shadow: #424344;
    --metal: #7e807f;
    --light: #4d77c9;
    --death: #ac40c2;
    --life: #1d8858;
    --beasts: #bf8106;
    --heavens: #d4d6d5;
    --white: #ffffff;
    --black: #000000;

    --display-font: 'Acumin Pro Bold', 'Roboto', serif;
    --body-font: 'Acumin Pro', 'Roboto', Arial, Helvetica, sans-serif;

    --secondary-background-colour: var(--2025-yellow);
    --background-colour: var(--2025-blue);
    --secondary-border: 2px solid var(--secondary-colour);
}

html,
body {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--white);
}

body {
    color: var(--2025-blue);
    margin: 0;
    box-sizing: border-box;
    font-family: 'Acumin Pro', Arial, Helvetica, sans-serif;
    font-size: 14px;
}
main {
    max-width: 1600px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', serif;
    font-weight: 600;
}

a {
    color: rgb(0, 100, 200);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: rgb(0, 80, 160);
}

label {
    display: block;
}

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    -webkit-padding: 0.4em 0;
    padding: 0.4em;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: var(--2025-blue);
}

select {
    margin: 0;
    color: var(--2025-blue);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('/assets/images/dropdown.svg') no-repeat;
    background-size: 12px;
    background-position: 97% 72%;
    padding-right: 24px;
    background-repeat: no-repeat;
    border-color: #ccc;
}

select:focus {
    outline: 2px solid var(--2025-blue);
    outline-offset: -1px;
}

select:hover {
    background-color: var(--2025-blue);
    color: white;
    background-image: url('/assets/images/dropdown-white.svg');
}

input:placeholder-shown {
    font-style: italic;
}
input::placeholder {
    color: var(--no-op-colour);
}

input:disabled {
    color: #ccc;
}

table {
    border-collapse: collapse;
}
th,
td,
tr {
    padding: 8px;
    text-align: center;
}
th,
td,
tr {
    border: none;
}
table {
    border: none;
}
tr {
    background-color: white;
    /* border-bottom: 1px solid var(--big-v-yellow); */
}
/* tr:nth-of-type(odd) {
    background-color: var(--secondary-background-colour);
} */
thead > tr {
    color: var(--main-colour);
    text-transform: uppercase;
    font-family: var(--display-font);
    letter-spacing: 0.05rem;
    font-size: 1.125rem;
}

@media screen and (max-width: 783px) {
    input,
    select {
        font-size: 16px;
    }
}
.print-only {
    display: none;
}
.roster-table {
    width: 100%;
}
@media print {
    body {
        font-size: 10px;
    }
    th,
    td,
    tr {
        padding: 5px !important;
        border: none;
    }
    /* th,
    thead,
    thead > tr {
        background-color: #333 !important;
    } */
    tr > th,
    thead > tr {
        background-color: transparent !important;
        /* color: black !important; */
    }

    .no-print {
        display: none !important;
    }
    .print-only {
        display: inline-block;
    }
    .roster-table th {
        border-bottom: 2px solid var(--main-colour);
    }
    .roster-table td,
    .roster-table tr {
        border-bottom: 1px solid var(--main-colour);
    }
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
    transition: font-variation-settings 0.1s linear, scale 0.1s linear;
}

.material-symbols-outlined:hover {
    font-variation-settings: 'FILL' 0;
}

.symbol-empty {
    font-variation-settings: 'FILL' 0;
}

.no-transition {
    transition: none;
}
.no-transition:hover {
    font-variation-settings: 'FILL' 1;
}
.no-op {
    cursor: default;
    color: var(--no-op-colour);
}
.roll {
    animation-name: spin;
    animation-duration: 500ms;
    animation-iteration-count: 1;
    animation-timing-function: ease-out;
}
.boxed-div {
    border-radius: 12px;
    padding: 12px;
    background-color: var(--secondary-background-colour);
}
.center {
    text-align: center;
}
.mini-title {
    font-family: var(--display-font);
    margin: 0;
}
.rounded-button {
    border-radius: 12px;
    background-color: white;
    color: var(--secondary-colour);
    padding: 8px;
    margin: 4px;
    border: var(--secondary-border);
    transition: background-color 100ms linear;
    min-width: 48px;
}

.rounded-button:hover,
.rounded-button.selected {
    background-color: var(--secondary-colour);
    color: white;
    border-color: var(--secondary-colour);
}
.rounded-button:disabled {
    background-color: white;
    color: grey;
    border: none;
}
.rounded-button:hover {
    box-shadow: 0 4px 12px var(--button-shadow) inset;
}
.rounded-button.cancel {
    color: var(--main-colour);
    border-color: var(--main-colour);
}
.rounded-button.cancel:hover {
    color: white;
    background-color: var(--main-colour);
}
.rounded-button:disabled {
    border: none;
    color: grey;
}
.rounded-button:disabled:hover {
    box-shadow: none;
    background-color: white;
    color: grey;
}
select.rounded-button {
    padding-right: 24px;
}
.left-align {
    text-align: left;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

label {
    font-family: var(--display-font);
}

fieldset {
    border-radius: 12px;
    border: 2px solid;
    border-color: var(--secondary-colour);
    margin-top: 1em;
}

fieldset legend {
    color: var(--secondary-colour);
}

.error {
    color: var(--error);
}
