@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'Gravitica';
    src: url('/fonts/Gravitica-Medium.otf');
    src: format('opentype');
}
@font-face {
    font-family: 'Gravitica';
    src: url('/fonts/Gravitica-MediumItalic.otf');
    src: format('opentype');
}

html, body {
    font-family: 'Gravitica', Helvetica, Arial, sans-serif;
    width: 100%;
    min-height: 100dvh;
    margin: 0;
}

html {
    background: linear-gradient(135deg, #7e88c8 0%, #a8a4d8 28%, #cdb8d3 52%, #e6c6cc 74%, #f2ddd2 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: transparent;
}

.app-root {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 100dvh;
}

.secondary-txt{
    color: var(--text-soft);
}

footer {
    background-color: rgba(0, 0, 0, 0.78);
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    -moz-animation: inherit;
    -o-animation: inherit;
    -webkit-animation: inherit;
    animation: inherit;
}

footer hr {
    border: none;
    border-top: 1px solid var(--border-soft);
    margin: 0.5rem auto;
    width: 80%;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    -moz-animation: inherit;
    -o-animation: inherit;
    -webkit-animation: inherit;
    animation: inherit;
}

/* Hidden until Blazor shows it on circuit failure / unhandled error */
#blazor-error-ui {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-soft);
    bottom: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    color: var(--text-light);
    display: none;
    left: 0;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.65rem;
}

#blazor-error-ui .reload {
    color: var(--primary);
    font-weight: 600;
    margin-right: 0.75rem;
}