/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

* {
    font-family: "Lora", sans-serif;
}

nav {
    margin-block: 2rem;
    /*margin-inline: 5rem;*/
    padding-inline: 5rem;
    display: flex;
    justify-content: space-between;
}

nav .home-link {
    font-size: 1.5rem;
    text-decoration: none;
}

nav .articles-index-link {
    margin-inline-start: 1rem;
}

button.log-out {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline
}

.notice {
    color: green;
}

.alert {
    color: red;
}

body {
    overflow: auto;
}

@media (width < 48rem) {
    nav {
        padding-inline: 1rem;
    }
}
