/* #region import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* #endregion */

/* #region html */
* {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(8px, 4vmin, 16px);
    color: var(--black_color);
    box-sizing: border-box;

    outline: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: 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%;
    background-color: var(--background_color);
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: min(28rem, 100%);
    background-color: var(--white_color);
}

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    margin-bottom: 2rem;
    padding: 0 2rem;
    width: 100%;
    overflow-y: scroll;
}
/* #endregion */

/* #region container, wrapper */
.container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    overflow-y: scroll;
}

.wrapper {
    display: flex;
    gap: 1rem;
}

.wrapper > :is(label, .btn) {
    flex: 1;
}
/* #endregion */

/* #region .item */
.item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--gray_color);
    border-radius: .25rem;
    background-color: var(--background_color);
}

.item > h2 {
    font-weight: bold;
    line-height: 1.25rem;
}

.item > div {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.item > p {
    font-size: .75rem;
    color: var(--gray_color);
    line-height: 1rem;
}
/* #endregion */

/* #region text elements */
span {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

.bold {
    font-weight: bold;
}

a {
    text-decoration: none;
}
/* #endregion */

/* #region other */
.hidden {
    display: none !important;
}

.right {
    margin-left: auto;
}
/* #endregion */