@import url('./reset.css');

body {
	font-family: "Century Gothic", "Gill Sans", Arial, sans-serif;
	font-size: 1em;
	max-width: 1280px;
	margin: 10px;
}

.navigation {
    display: flex;
    flex-flow: column;    
    list-style-type: none;
    margin: 0; 
    background: deepskyblue;
}
.navigation a {
    text-decoration: none;
    display: block;
    padding: 1em;
    color: white;
  }
  
  .navigation a:hover {
    background: #1565C0;
  }

.page-title {
    text-align: center;
    color:darkred;
}

article {
    margin: 20px;
}
.hometxt {
    background-color: rgb(212, 68, 16);
    color: white;
}
.contactxt {
    background-color: yellow;
}

.poemitemtxt {
    background-color: lightyellow;
}
.newsitemtxt {
    background-color: rgb(186, 228, 102);
}
.mdcontent p {padding: 10px;}
.mdcontent .hometxt p a:link {
    color: cyan;
    text-decoration: none;
	font-weight: bold;
}
#footer .copyright {
    clear: both;
    margin: 10px;
    font-size: 12px;
    background-color: rgb(78, 74, 74);
    color: white;
}
.page-art .image-set, .blog-item img {
    text-align: left;
}
.page-art{width: 90%;}
.image-caption {font-size: 0.8em;}
.news-heading, .blogs-heading {margin-bottom: 10px;}
.item-summary, .poem-summary {font-size: 0.9em;}

.featured-news, .all-blogs, .all-poems {
    display: flex;
    flex-flow: column;
    -webkit-box-pack: center;
    justify-content: space-evenly;
}
.all-blogs, .all-poems {gap: 20px;}
.blog-item {
    flex: 1 0 90%;
    width: 90%;
    background-color: pink;
}
.poem-item {
    flex: 1 0 90%;
    width: 90%;
    background-color: lightgreen;
}
.item-summary {background-color: pink;}
.poem-item .item-summary, .poem-summary {background-color: lightgreen;}

@media screen and (min-width: 700px) {
    .navigation {
        flex-flow: row wrap;
        justify-content: flex-end;
    }
    .page-art .image-set, .blog-item img, .poem-item img {
        float:left;
        text-align: center;
        margin-right: 20px;
    }
    .page-art{float: left;}
    .news-heading {clear: both;}
    .featured-news, .all-blogs, .all-poems{
        flex-flow: row wrap; 
    }
    .featured-item {
        flex: 1 0 50%;
        width: 50%;
    }
    .blog-item, .poem-item {
        flex: 1 0 40%;
        width: 40%;
    }
}
@media screen and (min-width: 1280px) {    
    .featured-item {
        flex: 1 0 20%;
        width: 20%;
    }
}
