@charset "UTF-8";

/* ======================================================
RESET DEFAULT STYLES
====================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, main, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* ======================================================
BASICS
====================================================== */
* {
    margin: 0;
    padding: 0;
    outline: none;
}
html, body {
    width: 100%;
    min-width: 1024px;
    height: 100%;
    background: #efefef;
    color: #555555;
    font-size: 1rem;
    font-family: 'Roboto', Arial, Verdana, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    z-index: 9999;
}
body{
	display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}
h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #efefef;
    padding: 0 20px;
}
/* ======================================================
CONTAINERS
====================================================== */
header {
    background: rgba(48, 61, 65, 0.9);
    padding: 1rem 0;
    margin-bottom: 2rem;
    width: 100%;
    clear: both;
}
main {
    width: 100%;
	flex: 1 0 auto;
    clear: both;
}
.main-container {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
}
footer {
    background: rgba(48, 61, 65, 0.9);
    padding: 1rem 0;
    margin-top: 2rem;
    width: 100%;
    color: #efefef;
    font-size: 90%;
    text-align: center;
    line-height: 1.5rem;
    clear: both;
    flex-shrink: 0;
}
footer .project-info{
    padding: 8px 20px;
}
footer .footer-container {
    padding: 8px 20px;
}
/* ======================================================
PAGE STYLES
====================================================== */
.news-container {
    width: 100%;
    clear: both;
}
.news-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.news-list li {
    width: calc(94%/3);
    background: #ffffff;
    margin: 1rem;
}
.news-list p.title {
    padding: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 25px;
}
.news-list img {
    width: 100%;
    height: auto;
}
.news-list p.description {
    padding: 1rem;
    font-size: 0.85rem;
    line-height: 20px;
}
.news-list a {
    text-decoration: none;
    color: #00b0e9;
}
.news-list a:hover {
    text-decoration: underline;
}
.news-list p.date {
    padding: 1rem;
}

/* ======================================================
MOBILE STYLES
====================================================== */
/* For all screen less than 1700px */
@media only screen and (max-width: 1700px) {
    html, body {
        min-width: 320px;
    } 
    .news-list li {
        width: calc(93%/3);
    }
}

/* For all screen less than 1465px */
@media only screen and (max-width: 1465px) {
    .news-list {
        justify-content: space-around;
    }
    .news-list li {
        width: calc(92%/3);
    }
}

/* For all screen less than 1280px */
@media only screen and (max-width: 1280px) {
    .news-list li {
        width: calc(93%/2);
    }
}
/* For all screen less than 985px */
@media only screen and (max-width: 985px) {
    .news-list li {
        width: calc(92%/2);
    }
}
/* For all screen less than 855px */
@media only screen and (max-width: 855px) {
    .news-list li {
        width: 90%;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    /* BLANK */
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}
 
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}
 
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1400px) {

}