body {
  font-family: "themix", sans-serif;
  color: #404040;
  line-height: 1.75rem;
  background-image: url("../img/bg.jpg");
  background-position: center; 
  background-repeat: repeat;
  background-color: #f0f0f0;
}

@media (max-width: 23rem) {
  body {
    font-size: 14px;
    line-height: 1.5rem;
  }
  body h1 {
    font-size: 1.5rem;
  }
}

h1{
  font-family: skautbold, sans-serif;
  font-weight: normal;
}

h1 a {
  text-decoration: none;
}

h2{
  margin-top: 1.5rem;
  margin-bottom: -0.5rem;
}

h3{
  margin-top: 1.5rem;
  margin-bottom: -0.5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #333333;
}

a {
  text-decoration: underline;
  color: #333333;
}

a:hover {
  color: black;
  border-bottom: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

blockquote {
  margin: 10px 20px 10px;
  padding: 0px 15px;
  border-left: 0.25em solid #ccc;
  color: #999;
  line-height: 1.5;
}

hr {
  border-top: 1px solid #ccc;
}

p {
    font-weight: 400;
    font-style: normal;
}



/* Site container */

.container {
  margin-left: auto;
  margin-right: auto;
  width: 55rem;
  background: white;
/*   padding: 0.5rem 2rem; */
}

@media (max-width: 61rem) {
  .container {
    width: 90vw;
	padding: 0rem;
  }
}



/* Header */

header {
	padding: 1rem 2rem;
}

header a:hover {
  color:black;
}

.header-logo {
	vertical-align:middle;
	height: 6rem;
	margin-right: 0.5rem;
}

.header-title{
	margin: 1rem 0;
}

.header-title a {
  font-size: 2.5rem;
  text-decoration: none;
  font-family: "skautbold";
}

.header-subtitle {
  color: #999;
}

@media (max-width: 45rem) {
  .header-subtitle{
    display:none;	  
  }
}

@media (max-width: 23rem) {
  .header-logo {
	  height: 4rem;
  }
  .header-title a {
    font-size:2rem;
  }
}



/* Menu */

.menu{
  margin: 0rem 1rem;
  background: #0482d4;
  padding: 0rem 1rem;

}

.menu-item a {
  color:#fafafa;
  font-weight:bold;
  text-decoration: none;
  display:inline-block;    
  padding: 0.7rem 0.5rem;     
  text-align:center;
}

.menu-item a:hover {
  color:white;
  background: #0364a2;
}

.menu-item .selected {
  color:white;
  background: #0364a2;
}



/* Thumbnail */

.thumbnail-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 5px;
  max-height: 14rem;
  display:flex;
  align-items:center;
}



/* Post */

.post-container {
  padding: 1rem 2rem;
}

.posts {
  margin-bottom: 2rem;
  padding: 0px;
  list-style: none;
}
@media (max-width: 23rem) {
  .posts h1 {
    font-size: 1.5rem;
  }
}

.post-date {
  display: block;
  margin: 0.75rem 0;
  color: #9a9a9a;
  font-size:0.8rem;
}

.post-nav {
  margin-bottom: 1em;
  display: flex;
}
.post-nav div {
  flex: 1 1 0;
}
.post-nav-next {
  text-align: right;
}



/* Pagination */

.pagination {
  margin: 0rem 2rem;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination a {
  text-decoration: none;
}

.pagination-button {
  color: #999;
  border: 1px solid #e0e0e0;
  padding: 15px 45px;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
}

.pagination-active {
  color: black;
}

.pagination-active:hover {
  background-color: #e0e0e0;
}

.item-invisible {
  visibility: hidden;
}

/* Footer */

.footer {
	padding: 1rem 2rem;
	padding-top: 0rem;
	display: flex;
	flex-wrap: wrap;
	align-items:center;
	justify-content: space-between;
}

.footer-social {
	order: 9;
}

.footer-social a {
	margin: 1.5rem 0.5rem;
	font-size: 1.75rem;
}

.footer-logo {
	flex-shrink: 0;
}

.footer-logo img {
	max-height: 6rem;
}



/* Tables */

table {
  border-collapse: collapse;
  margin-bottom: 30px;
  width: 100%;
}

table, th, td {
  border: 1px solid black;
}

th, td {
  padding: 15px;
  text-align: left;
}

/* Social media icons */

.sharing-icons a {
  padding-right: 10px;
}

.fa-envelope {
  padding: 5px;
	-o-transition:.5s;
  	-ms-transition:.5s;
  	-moz-transition:.5s;
  	-webkit-transition:.5s;
  	transition: .5s;
}

.fa-envelope:hover {
	color: #f39c12;
}

.fa-images {
  padding: 5px;
	-o-transition:.5s;
  	-ms-transition:.5s;
  	-moz-transition:.5s;
  	-webkit-transition:.5s;
  	transition: .5s;
}

.fa-images:hover {
	color: #e61900;
}

.fa-github {
  padding: 5px;
	-o-transition:.5s;
  	-ms-transition:.5s;
  	-moz-transition:.5s;
  	-webkit-transition:.5s;
  	transition: .5s;
}

.fa-github:hover {
	color: #343434;
}

.fa-facebook {
  padding: 5px;
	-o-transition:.5s;
  	-ms-transition:.5s;
  	-moz-transition:.5s;
  	-webkit-transition:.5s;
  	transition: .5s;
}

.fa-facebook:hover {
	color: #3d5b99;
}


.fa-rss-square {
  padding: 5px;
	-o-transition:.5s;
  	-ms-transition:.5s;
  	-moz-transition:.5s;
  	-webkit-transition:.5s;
  	transition: .5s;
}

.fa-rss-square:hover {
	color: #ff6600;
}
