
@import url("/lib/fonts/helvetica/style.css");
@import url("/lib/fonts/boston-angel/style.css");

html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /*min-height: 100vh;*/
    overscroll-behavior: none;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.paper {
    background-image: url("/img/paper-texture.jpg");
    background-repeat: repeat;
    background-blend-mode: multiply;
}

@media (prefers-contrast: more) {
    .paper {
        background-image: none;
        background-repeat: repeat;
        background-blend-mode: multiply;
    }
}

.accent {
    background-color: #fdc00a;
    color: white;
}


.primary {
    background-color: #48389d;
    color: white;
}

.secondary {
    background-color: #db8300;
    color: white;
}

.tertiary {
    background-color: #5e3a05;
    color: white;
}

.button {
    font-family: 'Boston Angel', serif;
    font-weight: bold;
    border: none;
    font-size: 20px;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;

    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.80);
}

.button:hover {
    box-shadow: 3px 3px 3px 1px rgba(0, 0, 0, 0.80);
}

.button:active {
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.80);
}

@media print {
    .navbar {
        display: none !important;
    }
    .footer {
        display: none !important;
    }
    .content {
        padding: 0 !important;
    }
}

/* navbar */

.navbar {
    display: flex;
    flex-direction: column;
    padding: 12px;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.80);
}

#nav-items a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    align-items: center;
    padding: 16px;
    align-content: center;
}

#nav-items {
    display: none;
}

.nav-open {
    display: block !important;
}

.icon {
    height: 100%;
}

#nav-menu {
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;

    display: block;
    height: 56px;
    padding: 12px;
}

#logo {
    display: block;
    height: 64px;
    padding: 8px;
    max-width: min-content;
}

#logo:hover, #nav-menu:hover, #nav-items a:hover {
    background-color: #00000067;
}

@media (min-width: 560px) {
  
    #nav-items {
        display: flex !important;
        flex-direction: row;
    }

    #nav-menu {
        display: none;
    }

    .navbar {
        flex-direction: row;
    }
}

/* content and text */

.content {
    padding: 20px 20px;
}

@media (min-width: 500px) {
    .content {
        padding: 20px 10%;
    }
}

@media (min-width: 800px) {
    .content {
        padding: 20px 20%;
    }
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Boston Angel', serif;
    font-weight: bolder;
}

.content h1 {
    font-size: 36px;
    padding-bottom: 8px;
    background-image: url("/img/underline.svg");
    background-repeat: no-repeat;
    background-position: left bottom;
}

/* Articles */

.article-list {
    display: grid;
    grid-template-columns: 1fr;
}

.article {
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.80);
}

.article img {
    max-width: 100%;
    max-height: 50vh;
    filter: sepia(25%);
    padding: 8px;
    box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.80);
    margin-bottom: 8px;
}

.article-date {
    font-style: italic;
}

.article-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.article .learn-more {
    margin-top: auto;
    width: fit-content;
}

@media (min-width: 560px) {

.article-list {
    grid-template-columns: repeat(2, 1fr);
}

}

@media (min-width: 1200px) {

.article-list {
    grid-template-columns: repeat(3, 1fr);
}

}

/* footer */

.footer {
    margin-top: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.80);
}

.footer h1 {
    font-family: 'Boston Angel', serif;
    font-weight: bold;
    padding: 0;
    font-size: 24px;
}

@media (min-width: 560px) {

.footer {
    grid-template-columns: repeat(3, 1fr);
}

}

.contact {
    display: flex;
    padding: 10px;
    margin: 10px;
}

.contact img {
    height: 64px;
    margin-right: 10px;
}

.contact p {
    margin: 0;
    padding: 0;
}

