/*
 * 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.
 */

:root {
    --nav-height: 70px;
    --bg-color: #EDF0EC;
    --nav-bg-color: #302B3B;
    --primary-color: #172C3A;
    --black: #2e2828;
    --border-color: #172C3A;
    --primary-action-color: #FF7E6D;
    --primary-action-highlight-color: #FFB199;
    --primary-action-border-color: #bb5a4d;
    --primary-action-border-string: 1px solid #bb5a4d;
    --secondary-action-color: #24947F;
    --secondary-action-highlight-color: #3cffdb;
    --secondary-action-border-color: #165d50;
    --secondary-action-border-string: 1px solid #165d50;
    --border-string: 1px solid #172C3A;
    --card-background-color: #FAF9F7;
    --border-string: 1px solid #172C3A;
}

.card--clickable {
    box-shadow: 0 4px 0 var(--border-color);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
    color: inherit;
}

.card--clickable:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--border-color);
}

.card--clickable:active {
    transform: translateY(4px);
    box-shadow: none;
}

.container {
    display: grid;
    /* Creates 3 columns: side-space, content (max 1200px), side-space */
    grid-template-columns:
        minmax(2rem, 1fr)
        minmax(0, 1200px)
        minmax(2rem, 1fr);

    /* Offset content so it doesn't hide under the fixed navbar */
    /*padding-top: calc(var(--nav-height));*/
}

.container > * {
    /* Forces all children into the center column */
    grid-column: 2;
}

/******************************************************************************
MEDIA QUERIES
******************************************************************************/

/* Mobile styles go here first (Global) */
body {
    font-size: 1.25rem;
}

/* Tablet and up */
@media (width >= 768px) {
    body {
        font-size: 1.1rem;
    }
}

/* Large Desktop */
@media (width >= 1200px) {
    body {
        font-size: 1rem;
    }
}
