body {
    counter-reset: h2
}
h2:before {
    counter-increment: h2;
    content: counter(h2) ". ";
    font-size: 1.5em;
    font-weight: bold;
}

.top-bar {
    margin-bottom: 1em;
}

#content .page-content {
    position: relative;
    opacity: 1;
    transform: scale(100%);
    transition: opacity 0.08s ease-in, transform 0.08s ease-in;
}
#content .page-content.htmx-swapping {
    overflow-x: hidden;
    opacity: 0;
    transform: scale(102%);
}
#content .page-content.htmx-settling {
    overflow-x: hidden;
    opacity: 0;
    transform: scale(98%);
    transition: none;
}
#page_loading_indicator {
    position: absolute;
    top: 1em;
    left: 0;
    right: 0;
    bottom: 1em;
    z-index: -1;
}
#page_loading_indicator.htmx-request {
    z-index: 20;
}
#page_loading_indicator > .htmx-indicator {
    position: relative;
    height: 100%;
    background-color: white;
    transition: unset;
}
#page_loading_indicator.htmx-request > .htmx-indicator {
    transition: opacity 200ms ease-in;
    transition-delay: 500ms;
}

.choice-box {
    border: 0.3em solid #222222;
    padding: 2em;
    margin: 1em;
    transition: all 0.3s;
    min-height: 20em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}
.choice-box:hover {
    background-color: #f8f9fa;
    border-color: #000000;
    transform: scale(1.025);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.btn-choice {
    text-decoration: none;
    color: inherit;
}
.btn-choice:focus {
    outline: none;
}
.choice-box img {
    max-height: 10em;
    margin-bottom: 1em;
}

.select-text {
    cursor: pointer;
}