@font-face {
    font-family: 'MfbOldstyle';
    src: url('./fonts/MFBOldstyle-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MfbOldstyle';
    src: url('./fonts/MFBOldstyle-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MfbOldstyle';
    src: url('./fonts/MFBOldstyle-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'HostGrotesk';
    src: url('./fonts/HostGrotesk-Light.otf') format('opentype');
    font-weight: 300; /* --font-weight-light */
    font-style: normal;
}

@font-face {
    font-family: 'HostGrotesk';
    src: url('./fonts/HostGrotesk-Regular.otf') format('opentype');
    font-weight: 400; /* --font-weight-regular */
    font-style: normal;
}

@font-face {
    font-family: 'HostGrotesk';
    src: url('./fonts/HostGrotesk-Medium.otf') format('opentype');
    font-weight: 500; /* --font-weight-medium */
    font-style: normal;
}

@font-face {
    font-family: 'HostGrotesk';
    src: url('./fonts/HostGrotesk-Bold.otf') format('opentype');
    font-weight: 600; /* --font-weight-bold */
    font-style: normal;
}

:root {
    --background-color: var(--beige-50);
    --white: #fff;
    --black: #000;
    --selected-stroke-color: #FBB000;
    --topbar-height: 4rem;
    --secondary-color: var(--beige-700);

    /*TEXT*/
    --text-color: var(--beige-800);
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-xxl: 1.5rem;
    
    --text-h1: 4.5rem;
    --text-h2: 3.75rem;
    --text-h3: 3rem;
    --text-h4: 2.25rem;
    --text-h5: 1.875rem;
    --text-h6: 1.5rem;

    --border-radius-form-control: 0.5rem;

    /* ===== Beige ===== */
    --beige-50: #FCFBFA;
    --beige-100: #F9F6F3;
    --beige-200: #F1EDE4;
    --beige-300: #EEE9E0;
    --beige-400: #E2DACB;
    --beige-500: #C6BDAC;
    --beige-600: #A9A29D;
    --beige-700: #79716B;
    --beige-800: #2F2D2E;
    --beige-900: #20201E;

    /* ===== Maroon ===== */
    --maroon-50: #FDF4F3;
    --maroon-100: #FAEBE9;
    --maroon-200: #F6D7D5;
    --maroon-300: #EEB6B3;
    --maroon-400: #E48988;
    --maroon-500: #D55E5E;
    --maroon-600: #C03E45;
    --maroon-700: #A12F38;
    --maroon-800: #872A34;
    --maroon-900: #742732;
    --maroon-950: #53161D;

    /* ===== Green ===== */
    --green-50: #F6F7EE;
    --green-100: #EAEDDA;
    --green-200: #D6DCBA;
    --green-300: #BBC591;
    --green-400: #A1AE6D;
    --green-500: #84934F;
    --green-600: #606C38;
    --green-700: #4F5A31;
    --green-800: #41492B;
    --green-900: #383F28;
    --green-950: #1D2112;

    /* ===== Orange ===== */
    --orange-50: #FCF8EE;
    --orange-100: #F6EBCF;
    --orange-200: #ECD79B;
    --orange-300: #E3BD66;
    --orange-400: #DCA743;
    --orange-500: #D38A2D;
    --orange-600: #BC6C25;
    --orange-700: #9B4E22;
    --orange-800: #7F3F21;
    --orange-900: #69341E;
    --orange-950: #3B1A0D;

    /* ===== Purple ===== */
    --purple-50:  #F3F5FF;
    --purple-100: #ECEFFA;
    --purple-200: #E3E6F6;
    --purple-300: #D0D4E9;
    --purple-400: #BBC3E0;
    --purple-500: #9EA8D0;
    --purple-600: #7E8AB6;
    --purple-700: #5B6999;
    --purple-800: #4D5880;
    --purple-900: #3D4666;
    --purple-950: #2E354D;

    /* ===== Accent Color ===== */
    --accent-50: #FBF2F0;
    --accent-100: #F0D8D1;
    --accent-200: #E0B1A4;
    --accent-300: #CF8A76;
    --accent-400: #C67058;
    --accent-500: #B3583E;
    --accent-600: #9C442B;
    --accent-700: #8A422F;
    --accent-800: #6F3525;
    --accent-900: #4C261C;
    --accent-950: #2E1710;
    --accent-color: #B3583E;
    --accent-color-light: #ffe3d7;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'HostGrotesk', sans-serif;
    font-weight: normal;
}

html {
    background-color: var(--background-color);
}
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* TEXT STUFF */
/* Headings */
h1 {
    font-family: "MfbOldstyle", sans-serif;
    font-size: clamp(3rem, 10vw, 5rem) !important;
    /*font-size: var(--text-h1);*/
}

h2 {
    font-family: "MfbOldstyle", sans-serif;
    font-size: var(--text-h2);
}

h3 {
    font-family: "MfbOldstyle", sans-serif;
    font-size: var(--text-h3);
}

h4 {
    font-family: "MfbOldstyle", sans-serif;
    font-size: var(--text-h4);
}

h5 {
    font-family: "MfbOldstyle", sans-serif;
    font-size: var(--text-h5);
}

h6 {
    font-size: var(--text-h6);
}

.text-h1 {
    font-family: "MfbOldstyle", sans-serif;
    font-size: var(--text-h1);
}

.text-h2 {
    display: flex;
    align-items: center;
    font-size: var(--text-h2);
}

.text-h3 {
    font-size: var(--text-h3);
}

.italic {
    font-style: italic;
}
.underline {
    text-decoration: underline;
}

.light {
    font-weight: 300;
}
.medium {
    font-weight: 500;
}
.bold {
    font-weight: bold;
}

.text-sm {
    font-size: var(--text-sm);
}
.text-md {
    font-size: var(--text-md);
}
.text-lg {
    font-size: var(--text-lg);
}

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

.svg-icon {
    height: 1em;  /* Makes icon same height as current text */
    width: 1em;   /* Maintains aspect ratio */
    vertical-align: middle;  /* Aligns icon with text baseline */
    fill: currentColor;  /* Makes icon inherit text color */
    display: inline-block;
}

.clickable {
    cursor: pointer;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    color: var(--white);
    background-color: var(--beige-800);
    border: 1px solid var(--beige-800);
    padding: 0.75rem 1.12rem;
    border-radius: 999rem;
    transition: all 0.3s ease-in-out;
}

.btn-secondary {
    color: var(--beige-900);
    background-color: var(--beige-50);
    border: 1px solid var(--beige-200);
    padding: 0.75rem 1.12rem;
    border-radius: 999rem;
    transition: all 0.3s ease-in-out;
    
    &:hover {
        background-color: var(--beige-100);
    }
}

a {
    color: #006bb7;
    font-weight: 300;
}

a.btn-link {
    text-decoration: none;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
