* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Prevent body scroll, handle in #app-view */
    font-family: var(--font-main);
}

#app-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(var(--nav-height) + var(--safe-area-bottom));
    overflow-y: auto;
    padding: 20px;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 3rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}