:root {
    --blue: #202bce;
    --pink: #e14464;
    --yellow: #f8c630;
    --half-yellow: color-mix(in srgb, var(--yellow) 50%, white 50%);
    --dark-pink: color-mix(in srgb, var(--pink) 50%, black 50%);
    --dark-blue: color-mix(in srgb, var(--blue) 50%, black 50%);
}
/* body.blue {
    background-image: linear-gradient(rgb(117, 167, 232),rgb(39, 94, 167));
} */
@font-face {
    font-family: 'Rope MF';
    src: url('RopeMF.woff2') format('woff2'),
        url('RopeMF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Afacad Flux", serif;
    font-optical-sizing: auto;
    font-style: normal;
    display: flex;
    flex-direction: column;
    font-variation-settings:
        "slnt" 0;
    color: var(--half-yellow);
    background-image: linear-gradient(to bottom right, var(--blue),var(--pink));
    background-attachment: fixed;
}
.titleblock {
    text-align: center;
    color: var(--yellow);
    align-self: center;
    background-color: #0004;
    box-shadow: 0 0 80px 39px #0005;
    margin: 40px 0 20px;
    padding: 20px;
    border-radius: 50px;
}
.red {
    color: red;
}
.tabs a{
    color: var(--yellow);
    margin: 4px;
}
.tabs {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    font-size: larger;
}
a.title {
    color: var(--yellow) !important;
    text-decoration: none;
}

.title {
    font-size: 120px;
    font-family: 'Rope MF';
}
table.schedule th {
    text-align: right;
    padding-right: 10px;
}

.main {
    background-color: var(--half-yellow);
    min-height: 75%;
    margin: 50px;
    padding: 20px;
    border-radius: 20px;
    border: 2px solid black;
    max-width: max(1000px, 100%);
}

.main-container {
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin-top: 20px;
}
/*

.inverted {
    background-color: var(--maroon);
    color: var(--tan);
}

.btn.inverted:hover {
    color: var(--tan);
    background-color: var(--darkmaroon);
}
i.outline {
    -webkit-text-stroke: 1px var(--maroon);
    color: transparent;
}
i.outline.favorite {
    color: var(--maroon);
}
@keyframes loadingFlashColors {
    0% {
      color: color-mix(in srgb, var(--maroon) 20%, transparent 80%);
    }
    100% {
      color: color-mix(in srgb, var(--maroon) 60%, transparent 40%);
    }
  }
.loading_fav {
    animation-name: loadingFlashColors;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.table-small.larplist {
    margin-left: 10px;
}
.table-small.larplist td {
    padding-left: 10px;
}

div.add_larp,
div.larp_url,
div.button_ctr {
    align-self: center;
    padding-left: 10px;
}

div.edit_larp {
    align-self: baseline;
    margin-top: 3px;
    padding-right: 10px;
}

span.delete_button a {
    color: var(--maroon);
    opacity: 40%;
}

span.delete_button a:hover {
    color: var(--maroon);
    opacity: 100%;
}

div.run div.add_larp a {
    color: var(--green);
}
.badge {
    font-size: 8pt;
    padding: 3px;
    background-color: red;
    border: 1px solid white;
    position: absolute;
}

div.add_larp a {
    color: var(--green);
}

.larp_url a {
    color: var(--maroon);
}

div.run {
    padding-left: 5px;
    padding-top: 3px;
}

div.highlight {
    box-shadow: 0px 0px 20px 10px var(--pink);
    border-radius: 5px;
    margin: 5px;
}


.header {
    background-color: var(--maroon);
    color: var(--tan);
    display: flex;
    padding: 10px;
    /* width: calc(100% - 20px); *//*
}

hr {
    background-color: var(--pink);
    color: var(--pink);
    width: 90%;
    height: 0px;
}

.pagination-outer {
    flex-direction: column;
    align-items: center;
    align-self: center;
}

.letterlink {
    padding: 0 3px;
}

.pagination,
.pagination-outer {
    background-color: var(--highlight);
    padding: 5px;
    border-radius: 3px;
    align-self: center;
}

.pagination a,
.pagination-outer a {
    color: var(--maroon);
}

.pagination a.disabledlink, .pagination-outer a.disabledlink {
    color: gray;
}

.pagination,
.pagination-outer {
    margin: 6px;
    display: flex;
    justify-content: center;
}

div.collapse-header a[aria-expanded="true"] {
    transform: rotate(90deg);
}

div.collapse-header:has(+ div.collapse.show) a:not(.btn) {
    transform: rotate(90deg);
}

div.collapse-header a:not(.btn) {
    margin: 2px;
    transform-origin: 5px 10px;
    transform: rotate(0deg);
    transition: transform 0.4s;
    color: var(--maroon);
}

.gameinfo {
    display: flex;
    justify-content: center;
}

.gameinfo-internal {
    background-color: var(--highlight);
    padding: 5px;
    border-radius: 3px;
    display: flex;
}

.gameinfo-internal div {
    padding: 10px;
}

.gameinfobit span {
    font-size: larger;
    font-weight: 600;
}

div.gameinfobit a {
    color: inherit;
}

.gameinfobit {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--maroon)
}

.header a {
    color: inherit;
}

.gap {
    width: 100%;
    flex-shrink: 1000000;
}

.header a:not(:first-child):not(.emoji) {
    font-size: larger;
    margin: 3px 8px;
    flex-grow: 0;
    /* TODO: align right */
}

.header a {
    text-decoration: none;
}

html,
body {
    height: 100%;
    color: black;
}

.main {
    margin: 0 35px 50px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.main.center {
    border-radius: 20px;
    border-top: 2px solid var(--maroon);
    margin-top: 200px;
    max-width: 350px;
}

.titlerow {
    display: flex;
    flex-direction: row;
}

input#id_profile_slug {
    content: "hi";
    display: inline-block;
    border: none;
    padding-left: 160px;
}

.profileslug {
    position: relative;
}

.profileslug .prefix {
    position: absolute;
    padding: .375rem;
}

.authors {
    font-size: x-large;
    font-weight: 400;
    padding-bottom: 10px;
}

div.run div.run_icon {
    align-self: center;
    padding-left: 5px;
}

div.multiField + div.multiField {
    border-top: 2px dashed var(--pink);
    padding-top: 15px;
}

.mobileonly {
    display: none;
}

@media only screen and (max-width: 650px) {
    .mobileonly {
        display: inherit;
    }

    .desktoponly {
        display: none;
    }
}

@media only screen and (max-width: 420px) {
    .main {
        margin: 0;
        border: none;
        height: 100%;
        border-radius: 0;
    }

    .main-container {
        min-height: 100%;
    }

    .hidewhensmol {
        display: none;
    }

    div.letters {
        display: flex;
        flex-wrap: wrap;
        width: 210px;
    }
} */