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

html, body, pre, code, kbd, samp {
    font-family: "Press Start 2P";
}

body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Below the navbar */
main {
    padding: 2rem;
    height: 100%;
    overflow: auto;
    flex: 1;
}

/* There is a main and .page so that the scrollbar is on the far left of the page 
Looks better 
*/
main .page {
    margin: 0 auto;
    max-width: 1200px;
}

/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
    main {
        /* 80px is the size of the search bar on iphone */
        padding: 5px 5px 85px 5px;
    }
}
/* Navbar styles */
.navbar {
    background-color: #333;
    color: white;
    padding: 5px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.navbar-brand {
    color: white;
    text-decoration: none;
    /* font-size: 1.5rem; */
}

.nav-item {
    margin-left: 1rem;
    display: inline-block;
}

.nav-link {
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}



/* For the editor */
#editor {
    font-family: "Press Start 2P", sans-serif;
}

.ql-container {
    font-family: "Press Start 2P", sans-serif !important;
}

.ql-font-press2p {
    font-family: "Press Start 2P", sans-serif;
}