html {
    font-size: 14px;
}

html, body, #app, .mud-layout {
    height: 100%;
    min-height: 100%;
}

h1, h2, h3, h4, h5 {
    font-family: acid-grotesk-light, Arial, system-ui;
    font-weight: 300;
    color: var(--devportal-dark-forest);
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.supporting {
    color: var(--devportal-grey-04);
}

.example-block {
    background-color: var(--devportal-grey-02);
    padding: 1.143rem;
    display: flex;
    align-items: center;
}

h1 {
    font-size: 2.5rem;
    line-height: 3rem;
}

h2 {
    font-size: 2rem;
    line-height: 2.8rem;
}

h3 {
    font-size: 1.7rem;
    line-height: 2.4rem;
}

h4 {
    font-size: 1.4rem;
    line-height: 2rem;
}

h5 {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

p, a {
    font-family: acid-grotesk-regular, Arial, system-ui;
    font-weight: 350;
    font-size: 1rem;
    line-height: 1.25rem;
    word-break: break-word;
}

small {
    font-size: 0.836rem;
}

b {
    font-family: acid-grotesk-bold, Arial, system-ui;
    font-weight: 350
}

p {
    color: var(--devportal-dark-forest);
}

a {
    color: var(--devportal-akkuro-marine);
    text-decoration: underline;
}

a:hover {
    color: var(--devportal-akkuro-marine-dark);
}

.w-100 {
    width: 100%;
}

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

.invalid {
    outline: 1px solid red;
}

.app-bar-text {
    color: var(--mud-palette-appbar-text);
}

ol, ul {
    margin-left: 2.286rem;
}

ol > li > ol {
    list-style-type: lower-alpha;
}

.text-align-center {
    text-align: center;
}

.clickable-item {
    cursor: pointer;
    transition: background-color .4s;
}

.clickable-item > a {
    cursor: pointer;
    transition: background-color .4s;
    text-decoration: none;
}

.clickable-item:hover {
    background-color: var(--mud-palette-action-default-hover)
}

.main-content-container {
    padding-top: 2.571rem;
    padding-bottom: 2.571rem;
    display: flex;
    gap: 1.714rem;
}

.main-content-flex-column {
    gap: 1.714rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.icon-upside-down {
    transform: rotate(180deg);
}

button > * p {
    word-break: normal;
    text-transform: none;
}

.centered-page {
    gap: 1.714rem;
    display: flex;
    justify-content: center;
    flex: 1;
    flex-direction: column;
}

.d-flex-grow-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popover-dialog {
    position: fixed;
    max-width: 100%;
    width: 100%;
    height: 100%;
    background: white;
    padding: 1.429rem 1.714rem;
    z-index: 11;
    display: flex;
    flex-direction: column;
    gap: 1.142rem;
    color: var(--mud-palette-text-primary);
    left: 0 !important;
    top: 0 !important;
    border-radius: 0;
}

@media(min-width: 601px) {
    .popover-dialog {
        transform: translateX(-50%);
        width: 720px;
        height: fit-content;
        border-radius: 0.286rem;
        border: 0.071rem solid var(--devportal-grey-02);
        left: 50% !important;
        top: 25% !important;
        max-height: 60%;
    }
}

.blurred-overlay {
    backdrop-filter: blur(5px);
}