/* #region font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* #endregion */

/*#region *, html, body, main */
* {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;   
    font-size: clamp(8px, 4vmin, 16px);
    font-family: "Poppins", sans-serif;
    color: var(--black-color);
    user-select: none;
    outline: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar {
    display: none;
}

html {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
}

body {
    display: flex;    
    flex-direction: column;
    height: 100%;
    width: 50%;   
}

@media (orientation: portrait) {
    body {
        width: 100%;
    }            
}

main {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
}
/* #endregion */

/* #region general elements */
[id$="_success"],
[id$="_warning"],
[id$="_error"],
[id$="_footnote"] {
    font-size: .75rem;
    line-height: 1.25rem;
    width: 100%;
}

[id$="_success"],
[id$="_warning"],
[id$="_error"] {
    display: none;
}

[id$="_footnote"] {
    color: var(--gray-color);
}

[id$="_success"] {
    color: var(--success-color);
}

[id$="_warning"] {
    color: var(--warning-color);
}

[id$="_error"] {
    color: var(--error-color);
}
/* #endregion */