/* /whatsnews/static/whatsnews.css */

:root {
    --body-bg-color: #e8e8e8;
    --jumbo-bg-color: #3d5a80;
    --card-bg-color: white;
    --orig-bg-color: #98c1d9;
    --hilight-color: #ee6c4d;
}

/*****
 * elements
 *****/

body {
    background-color: var(--body-bg-color);
}

nav {
    background-color: var(--orig-bg-color);
}

h2 {
    border-bottom: 4px solid var(--hilight-color);
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    background-color: var(--orig-bg-color);
}

@media screen and (min-width: 700px) {
    footer {
        flex-direction: row;
    }
}

/*****
 * home / jumbotron
 *****/

#jumbo {
    background-color: var(--jumbo-bg-color);
    color: #eee;
    font-family: 'EB Garamond', serif;
}

#jumbo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;

    margin-bottom: 30px;
    padding: 40px 20px;
}

@media screen and (min-width: 1000px) {
    #jumbo-grid {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

#spruch {
    font-weight: 400;
    font-size: 4em;
}

#smalltext {
    font-weight: 400;
    font-size: 1.75em;
}

/*****
 * home / cards
 *****/

.my-card {
    font-size: 1.25em;
    background-color: var(--card-bg-color);
}

.my-card h3 {
    font-size: 1.25em;
}

.orig-lang {
    display: none;
    background-color: var(--orig-bg-color);
}

.show-orig {
    display: block;
}

/*****
 * about
 *****/

@media screen and (min-width: 1000px) {
    .two-col {
        columns: 2;
        column-gap: 50px;
    }
}


.wtf-field-error {
    padding: 5px;
    color: red;
    font-size: 90%;
}

.jbr-form-container {
    max-width: 500px;
    padding: 0 .75rem;
    margin: 1rem auto;
}

/*****
 * admin.Paginator
 *****/

nav.Paginator {
    display: flex;
    justify-content: center;
    background-color: inherit;
}

/* Override Bootstrap's display: block */
nav.Paginator a.page-link {
    display: inline;
}

.bi-hand-thumbs-up-fill {
    color: green;
}

.bi-hand-thumbs-down-fill {
    color: red;
}