*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================================= /
/ GLOBAL FONT                                       /
/ ================================================= */

@font-face {
    font-family: "Outfit";
    src: url("../../fonts/Outfit-SemiBold.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html,
body {
    font-family: "Outfit", sans-serif;

    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: clip;
    font-family: 'Inter', sans-serif;

    min-height: 100vh;
    color: var(--text-primary);

    background: var(--gradient-main);

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-color: var(--bg-light);
}

#app{
    width: min(100% - 2rem, 68.75rem);
    margin-inline: auto;
}

/* ================================================= /
/ INTERACTIVE ELEMENTS                              /
/ ================================================= */

button,
a,
[role="button"],
.clickable {
    cursor: pointer;
}

/* ================================================= /
/ BASE PAGE                                   /
/ ================================================= */
body{
    padding-bottom: 10rem;
}

/* ================================================= /
/ APP OVERLAYS                                      /
/ ================================================= */

.app-overlays {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    isolation: isolate;
    pointer-events: none;
}

.app-overlays > * {
    pointer-events: auto;
}

.app-overlays > *:not(.hidden) {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
}

/* ================================================= */
/* SCREEN CONTAINER                                  */
/* ================================================= */

.app-screens{
  width: 100%;
  height: 100%;

  flex: 1;
  min-height: 0;

  position: relative;

  overflow: hidden;
}


/* ================================================= */
/* INDIVIDUAL SCREEN                                 */
/* ================================================= */

.app-screen{
  width: 100%;
  height: 100%;

  min-height: 0;

  overflow-y: auto;
  overflow-x: hidden;

  box-sizing: border-box;

  -webkit-overflow-scrolling: touch;
}