body {
    margin: 0;
}

#app {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: "Droid Sans Mono", "monospace", monospace;
    --header-height: 40px;
    --footer-height: 30px;
    --app-horizontal-padding: 80px;
    --app-vertical-padding: 35px;
}

@media (max-width: 800px) {
    #app {
        --app-horizontal-padding: 65px;
    }
}

@media (max-height: 400px) {
    #app {
        --app-vertical-padding: 10px;
    }
}

#container {
    height: calc(100vh - var(--header-height) - var(--footer-height));
    width: min(calc(100vw - var(--app-horizontal-padding) * 2), var(--editor-width));
}

/* A trick to display the scrollbar to the right instead of next to the text */
.visible.scrollbar.vertical,
.invisible.scrollbar.vertical {
    position: fixed !important;
    top: 40px !important;
}

.decorationsOverviewRuler {
    display: none !important;
}

.scroll-decoration {
    display: none;
}

.find-widget[aria-hidden='false'] {
    top: 10px !important;
    border-radius: 10px !important;
}

.monaco-inputbox {
    border-radius: 5px !important;
}

.strikethrough {
    text-decoration: line-through;
}

.highlight {
    background-color: var(--highlight-color);
    border-radius: 3px;
}

.quote-border {
    width: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent);
    pointer-events: none;
}

.quote-border-start {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.quote-border-end {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.Toastify__close-button--light {
    color: var(--primary-muted);
}

.clickable-toast {
    cursor: pointer;
}
