:root {
    --custom-success:           #2EC4B6;
    --custom-success-light:     #d8f1ef;
    --custom-success-dark:      #115b52;
    --custom-success-accent:    #E0FBFC;
    --custom-danger:            #ff9f1c;
    --custom-danger-light:      #f8e0c4;
    --custom-danger-accent:     #FF6B6B;
    --custom-dark:              black;
    --custom-light:             #FAFAFA;

    --custom-body-bg:           rgb(255, 255, 255);
    --custom-secondary-bg:       #ced4da;
    --custom-tertiary-bg:      #f8f9fa;

    --custom-body-color:        black;
    --custom-secondary-color:   #495057;
    --custom-tertiary-color:    #6c757d;

    --custom-border:            black;
    --custom-shadow:            black;
}

[data-bs-theme="dark"] {
    --custom-border: white;
    --custom-shadow: rgba(0,0,0,0);

    --custom-body-bg:        black;
    --custom-secondary-bg:   #343a40;
    --custom-tertiary-bg:    #1a1d20;

    --custom-body-color:           white;
    --custom-secondary-color:      #6c757d;
    --custom-tertiary-color:       #e9ecef;
}

@font-face {
    font-family: "Afacad Flux";
    src: url("/static/fonts/Afacad Flux/AfacadFlux-Regular.db4ccc34d6b6.ttf") format("truetype");
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

body {
    /* font-family: 'Afacad Flux', 'Open Sans', 'Helvetica Neue', sans-serif; */
    /* font-family: monospace; */
    /* background: linear-gradient(to right top, var(--custom-success), var(--custom-body-bg) 70%)!important;  */
    background-color: var(--custom-tertiary-bg);
    color: var(--custom-body-color);
    /* padding-bottom: 50px; */
    min-height: 100vh;
}

#app-container {
    padding: 0.25rem;
    /* padding-top: 1rem;  */
}


@media (min-width:992px) {
    /* body {
        padding-bottom: 50px;
    } */

    #app-container {
        padding: 1rem;
        /* padding-top: 1rem;  */
    }
}


.legendtext {
    fill: var(--custom-body-color)!important;
}

.brutal {
    border: 2px solid var(--custom-border)!important; 
    /* border-bottom: 3px solid var(--custom-border); 
    border-right:2px solid var(--custom-border); */
    box-shadow: 3px 3px 0 0 var(--custom-shadow);
}

.btn.brutal:hover {
    border: 2px solid var(--custom-border)!important; 
    box-shadow: none;
}

.btn.brutal:focus {
  outline: none!important;
  box-shadow: none!important;
}

.glass {
    /* background: rgba(255, 255, 255, 0.36); */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.46); */
}

.flat {
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
    border: none;
}

.btn.flat:hover {
    box-shadow: none;
}

.modebar {
    display: none;
}

h1 {
    font-size:2.4rem;
    letter-spacing: -1px!important;
}

/* a, .btn, p, input, select, label, .alert {
    font-size: xx-large!important;
} */

.custom-form-group {
    display: flex;
    flex-direction: column;
}

.custom-form-control {
    display: flex;
    background-color: var(--custom-body-bg)!important;
    color: var(--custom-body-color)!important;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.htmx-indicator{
    opacity:0;
    transition: opacity 500ms ease-in;
}
.htmx-request .htmx-indicator{
    opacity:1;
}

.svg-shadow {
    -webkit-filter: drop-shadow( 10px 20px 2px var(--custom-shadow));
    /* filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));  */
    filter: drop-shadow(10px 20px 2px var(--custom-shadow));
}


@keyframes pulse-color {
    0%, 100% {
        background-color: var(--custom-tertiary-color);
    }
    50% {
        background-color: var(--custom-secondary-bg);
    }
}

.placeholder {
    border-radius: 0.75rem;
    animation: pulse-color 2s infinite;
}

h1.placeholder {
    /* Specific styles for <h1> elements with .my-class */
    height: 2.5rem!important; width:10rem!important;
}

h5.placeholder {
    /* Specific styles for <h1> elements with .my-class */
    height: 1.5rem!important; width:7rem!important;
}


h6.placeholder {
    /* Specific styles for <h1> elements with .my-class */
    height: 1.2rem!important; width:7rem!important;
}

p.placeholder {
    /* Specific styles for <p> elements with .my-class */
    height: 1rem; width:3rem
}