:root {
    /* CSS variables for consistency */
    --color-blue: #1D4ED8;
    --color-blue2: #2c5282;
    --color-blue3: #2563EB;
    --color-gray: #6B7280;

}

.font-style {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: large;
}

.input-style {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: large;
    border-bottom-width: 2px;
    border-color: #2c5282;
    border-style: dashed;
    background-color: transparent;
}

#waiting {
    animation: fadeInOut 1.5s infinite;
}

#result {
    white-space: pre-wrap;
    overflow-x: auto;
}

.nudge-up {
    transform: translateY(-5px);
}

/* this sets links in result to blue */
#result a {
    color: var(--color-blue);
    text-decoration: underline;
}

.hidden-person {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.visible-person {
    opacity: 1;
    max-height: 5rem;
    /* You can adjust this value */
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.font-pacifico {
    font-family: 'Pacifico', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

.font-lato {
    font-family: 'Lato', sans-serif;
}

.custom-text-color {
    color: #5caec6;
}

/* Styles for checked state of budget*/
input[type="radio"]:checked+label {
    background: var(--color-blue);
    color: #ffffff;
}

/* Hover state for state of budget */
input[type="radio"]:checked+label:hover {
    background: var(--color-gray);
    /* Adjust to desired hover colors */
}

/* Hover state for state of budget */
input[type="radio"]:not(:checked)+label:hover {
    background: var(--color-gray);
    /* Adjust to desired hover colors */
}

/* Common Button */
.btn-custom {
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-color: var(--color-blue);
    color: #ffffff;
    padding: 0.5rem 1rem;
    transition: background-color 200ms;
}

.btn-custom:hover {
    background-color: var(--color-gray);
}

/* Checked state styling */
.custom-checkbox:checked {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

/* Universal HTML Styling */
h1 {
    font-size: 1.875rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 16px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 8px;
}

h4 {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 8px;
}

h5 {
    font-size: 1.125rem;
    font-weight: 700;
}

h6 {
    font-size: 1rem;
    font-weight: 700;
}

ul {
    list-style-type: inherit;
    padding-left: 1.25rem;
}

ol {
    list-style-type: inherit;
    padding-left: 1.25rem;
}

blockquote {
    border-left-width: 0.25rem;
    /* border-l-4 */
    padding-left: 1rem;
    /* pl-4 */
    font-style: italic;
    /* italic */
}

a {
    color: var(--color-blue);
    /* text-blue-500 */
    text-decoration: none;
    /* No underline by default */
}

a:hover {
    text-decoration: underline;
    /* hover:underline */
}

code {
    background-color: #F3F4F6;
    /* bg-gray-100 */
    padding: 0.25rem;
    /* p-1 */
    border-radius: 0.25rem;
    /* rounded */
}

pre {
    background-color: #E5E7EB;
    /* bg-gray-200 */
    padding: 1rem;
    /* p-4 */
    border-radius: 0.25rem;
    /* rounded */
    overflow-x: auto;
    /* overflow-x-scroll */
}

/* Color Change */
.hover-color-change:hover {
    color: gray;
}

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

    to {
        transform: rotate(360deg);
    }
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }
}